AT24C02 EEPROM Byte Read & Write with ATmega16 and LCD Display
In this project, we will learn How to read and write a byte of data in AT24C02 EEPROM with AVR ATmega16 microcontroller and LCD Display. Here, we will write a byte of data into the AT24C02 EEPROM memory and then we will read this one byte of data from the AT24C02 EEPROM memory and we will display the read value 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 a byte of data(in our case ASCII value of capital letter A) into the 0x00 memory location of AT24C02 EEPROM memory through TWI communication. Then it will read the one byte data from the 0x00 memory location of AT24C02 EEPROM memory through TWI communication and it will display the read value in the 16X2 alphanumeric LCD.
Post a Comment