PIC16F877 LCD interfacing code (In 4bit mode) and Proteus simulation

This PIC16F877 microcontroller tutorial answers the question, "How to interface LCD[1]  in 4bit mode with PIC16F877" ? Also, 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 h ...

Read more

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

This PIC16F877 microcontroller tutorial answers the question, " How to implement a digital clock using PIC16F877 ? "   Using PIC16 simulator (Proteus) you can verify this digital clock 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. In this article, it ...

Read more

How to interface keypad with PIC16F877

This PIC microcontroller tutorial provides a simple method to interface any keypad (e-g 4x4 or 4x3 etc) with 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. In this post, it is assumed that you know, how to interface LCD with PIC16F877 microcontroller, If you don't then plea ...

Read more

PIC16F877 internal EEPROM code and Proteus simulation

This post provides the internal EEPROM reading and writing code for PIC16F877 microcontroller. As we know[1], PIC16F877 microcontroller has 256 x 8 bytes of built in EEPROM data space with an address range of 0x000 to 0x7FF. 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 h ...

Read more

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

This post provides the code for interfacing 24LC64 EEPROM with PIC16F877 microcontroller. This 24LC64 EEPROM has i2c based interface. 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 interface LCD with PIC16F877 microcontroller in 4bit mode. If you don't then please r ...

Read more

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

This post provides the code for interfacing DS1307 RTC with PIC16F877 microcontroller. This DS1307 RTC has i2c based interface. 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 interface LCD with PIC16F877 microcontroller in 4bit mode. If you don't then please read th ...

Read more

PIC16F877 ADC code and Proteus simulation

This post provides the ADC code using 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 interface LCD with PIC16F877 microcontroller. If you don't then please read this page first, before proceeding with this article. The result of sim ...

Read more

PIC16F877 stop watch code and Proteus simulation

This PIC16F877 microcontroller tutorial answers the question, " How to implement a stop watch using PIC16F877 ? " Using PIC16 simulator (Proteus) you can verify this stop watch code and change it according to your needs. Using three push buttons (As shown in figure below) you can adjust time as you desire. Then after setting the time, value displayed on the LCD starts to decrease with each second and when t ...

Read more

PIC16F877 up down counter code and Proteus simulation

This PIC16F877 microcontroller tutorial answers the question, " How to implement a up down counter using PIC16F877 ? "   Using PIC16 simulator (Proteus) you can verify this counter code and change it according to your needs. Using one push button (Labeled as Count, as shown in figure below) you can increment (When SW1 switch is towards up position) or decrement (When SW1 switch is towards down position ...

Read more

PIC16f877 based simple calculator project

This PIC microcontroller tutorial provides a simple calculator implementation for PIC16F877 microcontroller. This is a simple one digit[1] calculator which implements only 4 functions addition(+), subtraction(-), multiplication(x) and division(/). The code for PIC16F877 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 ...

Read more
Scroll to top