Interfacing Internal EEPROM with PIC Microcontroller

In this project “ Interfacing internal EEPROM with PIC Microcontroller ”, we will see how we can easily interface EEPROM, send data from microcontroller, store data in EEPROM and read data from EEPROM. In many time we feel that we need to store some data for long time permanently. For this case we need some additional memory device where we can store data for long time. We can use EEPROM for this purpose. EEPROM stands for Electrically Erasable Programming Read Only Memory. And store data inside EEPROM will live until rewrite the memory place again.

Project description:

In this project “Interfacing internal EEPROM with PIC Microcontroller”, I used internal EEPROM of pic microcontroller and UART Port to receive data which have to be store. For interfacing EEPROM with PIC , see in figure that the internal block diagram of microcontroller and see how internal EEPROM connected with processor. Data from microcontroller is being send serially and store accordingly with given address. So for storing data to EEPROM we should send the address first to store the data. See the command for sending/writing data in EEPROM for Mikroc for PIC is

Interfacing Internal EEPROM with PIC Microcontroller

EEPROM_Write(“address of EEPROM”, Data);

And for reading data from microcontroller is

Take (Unsigned Variable) = EEPROM_Read(“address of EEPROM”);

Now for my project I used UART port to getting data to be store in EEPROM that means through UART port you can attach Keyboard and store the data as you want. For getting knowledge on How to interface UART port with PIC Micrcotroller? See my previous post
Interfacing Proteus with Matlab

Interfacing Internal EEPROM with PIC Microcontroller schematic

See at below the circuit diagram of my complete project where I take input from UART port then store it to EEPROM and read the data from EEPROM and finally display it through LED attached with port B.

 

For more detail: Interfacing Internal EEPROM with PIC Microcontroller


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.