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