Posts by Ibrar Ayyub:
PIC16F877 external interrupt code and Proteus simulation
Posted on: 07 Aug 2022
This post answers the question, “How to capture a pulse to generate an interrupt in PIC16F877” ? Also, using PIC16 simulator (Proteus) you can verify this external interrupt 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 […]
PIC16F877 UART code and Proteus simulation
Posted on: 06 Aug 2022
This post answers the question, “How to use interrupt based UART in PIC16F877” ? Also, using PIC16 simulator (Proteus) you can verify this UART 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 […]
PIC16F877 LCD interfacing code (In 4bit mode) and Proteus simulation
Posted on: 06 Aug 2022
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 […]
PIC16F877 based digital clock using LCD display (Code+Proteus simulation)
Posted on: 05 Aug 2022
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 […]
How to interface keypad with PIC16F877
Posted on: 05 Aug 2022
This PIC microcontroller tutorial provides a simple method to interface any keypad (e-g 4×4 or 4×3 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, […]
PIC16F877 internal EEPROM code and Proteus simulation
Posted on: 04 Aug 2022
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 […]
Interfacing of PIC16F877 with (i2c based) 24LC64 EEPROM (Code + Proteus simulation)
Posted on: 04 Aug 2022
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 […]
Interfacing of PIC16F877 with DS1307 (RTC) code and Proteus simulation
Posted on: 03 Aug 2022
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 […]
PIC16F877 ADC code and Proteus simulation
Posted on: 03 Aug 2022
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 […]
PIC16F877 stop watch code and Proteus simulation
Posted on: 02 Aug 2022
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 […]