AT24C02 EEPROM Page Read and Write with ATmega16 and LCD Display
In this project, we will learn How to read and write a complete page of AT24C02 EEPROM with AVR ATmega16 microcontroller and LCD Display. Here, we will write a complete page(page size in AT24C02 is 8 Byte) of the AT24C02 EEPROM memory and then we will read that page of AT24C02 EEPROM memory and we will display the read values in a 16X2 alphanumeric LCD Display. AT24C02 has a storage capacity of 2Kbit(256 bytes). The 256 byte memory is divided into pages of 8 byte each. The data communication between AVR ATmega16 microcontroller and AT24C02 EEPROM takes place through TWI communication protocol. The AVR ATmega16 microcontroller will write the 1st page of AT24C02 EEPROM memory with 8 bytes of data(In our case ASCII values of 0 to 7) through TWI communication. Then it will read the 1st page(8 bytes of data) of AT24C02 EEPROM memory through TWI communication and it will display the read values in the 16X2 alphanumeric LCD.
Post a Comment