pic16f84a

PIC16F84A LCD interfacing

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 …

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

Interfacing of PIC16F84A with (i2c based) 24LC64 EEPROM

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 …

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

Interfacing of PIC16F84A with DS1307

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 …

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

PIC16F84A Gas Detector using GH-312 sensor

Introduction This is a gas detecting circuit capable of sensing many different types of gases.  The sensor used is the GH-312 and from the datasheet it is capable of sensing gases like smoke, liquefied gas, butane and propane, Methane, alcohol,hydrogen, etc. Schematic Parts List R1                   1K resistor R2                   1K resistor P1                    100K potentiometer C1                   10uF …

PIC16F84A Gas Detector using GH-312 sensor Read More »