PIC12F675 software UART (bit banging) code and Proteus simulation

This post provides the software UART (Bit Banging) code for PIC12F675 microcontroller (e-g to connect PIC controller with PC using serial adapter). As we know, PIC12F675 microcontroller doesn't have built in UART module, so we can create UART functionality in it's software. This post provides the details of how to program software UART functionality in PIC12F675. This code is written in C language using MPL ...

Read more

PIC16F84A LCD interfacing code (using 3 pins only) + Proteus simulation

This post provides the LCD[1] interfacing code using only 3 pins of PIC16F84A microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to make an LED blink with PIC16F84A microcontroller. If you don't then please read this page first, before proceeding with this ...

Read more

PIC16F877 based controllable digital clock using LCD display (Code+Proteus simulation)

This PIC16F877 microcontroller tutorial answers the question, " How to implement a controllable digital clock using PIC16F877 ? " Using PIC16 simulator (Proteus) you can verify this digital clock code and change it according to your needs. Using three push buttons (As shown in figure below) you can adjust time as you desire. This code is written in C language using MPLAB with HI-TECH C compiler. You can dow ...

Read more

Interfacing of PIC16F84A with (i2c based) 24LC64 EEPROM (Code + Proteus simulation)

This post provides the code for interfacing 24LC64 EEPROM with PIC16F84A microcontroller. This 24LC64 EEPROM has i2c based interface and PIC16F84A doesn't have any built in i2c modules, so software i2c module is created in the code. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that yo ...

Read more

Interfacing of PIC16F84A with DS1307 (RTC) code and Proteus simulation

This post provides the code for interfacing DS1307 RTC with PIC16F84A microcontroller. This DS1307 RTC has i2c based interface and PIC16F84A doesn't have any built in i2c modules, so software i2c module is created in the code. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know ...

Read more

How to use PIC16F84A pin as input (Code+Proteus simulation)

This post provides an example code to use PIC16F84A pins as inputs. After going through this example, you will understand how to make PIC16F84A pins as inputs and how to read their value in the code. This code is written in C language using MPLAB with HI-TECH C compiler.You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PI ...

Read more

PIC16F877 LCD code and Proteus simulation

This PIC16F877 microcontroller tutorial provides very detailed and comprehensive LCD[1] code. Using PIC16 simulator (Proteus) you can verify this LCD code and change it according to your needs. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PIC16F8 ...

Read more

PIC12F675 Comparator Code and Proteus Simulation

This post provides the comparator code for PIC12F675 microcontroller. As we know, PIC12F675 microcontroller has one built in op-amp, which can be used as comparator. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PIC12F675 microcontroller. If you d ...

Read more

PIC16F84A timer0 code and Proteus simulation

This post provides the timer0 code for PIC16F84A microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PIC16F84A microcontroller. If you don't then please read this page first, before proceeding with this article. The result of simulating ...

Read more

PIC16F877 i2c code and Proteus simulation

This post provides the i2c code (using the i2c module built in the hardware[1]) for PIC16F877 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PIC16F877 microcontroller. If you don't then please read this page first, before proceedin ...

Read more
Scroll to top