interfacing

Interfacing of PIC12F675 with i2c based 24LC64 EEPROM

Interfacing of PIC12F675 with (i2c based) 24LC64 EEPROM (code + Proteus simulation)

This post provides the code for interfacing 24LC64 EEPROM with PIC12F675 microcontroller. This 24LC64 EEPROM has i2c based interface and PIC12F675 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

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

Interfacing Ultrasonic Distance Sensor ASCII Output with PIC Microcontroller

Interfacing Ultrasonic Distance Sensor : ASCII Output with PIC Microcontroller

In some of our projects, we may want to measure the distance of an object from a point. Ultrasonic Distance Sensors are the best sensor which provides stable, accurate, precise, non-contact distance measurements from 2cm to 4m. Ultrasonic Sensors can be used to measure distance between moving or stationary objects. Being very accurate and stable, these devices

Interfacing Ultrasonic Distance Sensor : ASCII Output with PIC Microcontroller Read More »

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 the AT keyboard.

Interfacing the AT keyboard.

PC Keyboard Theory The IBM keyboard you most probably have sitting in front of you, sends scan codes to your computer. The scan codes tell your Keyboard Bios, what keys you have pressed or released. Take for example the ‘A’ Key. The ‘A’ key has a scan code of 1C (hex). When you press the

Interfacing the AT keyboard. Read More »