AT24C02 EEPROM Page Read and Write with ATmega16 and LED Display
In this project, we will learn How to read and write a complete page of AT24C02 EEPROM with AVR ATmega16 microcontroller and LED 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 1X8 LED array with a delay of 1 second between each data. 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 1X8 LED array with a delay of 1 second between each data.
Softwares Required
Hardwares Required
Name | Quantity |
AVR Trainer Board-100 with ATmega16 | 1pc |
AVR USB Programmer | 1pc |
12V, 1A DC SMPS Adaptor | 1pc |
EEPROM & RTC Board with AT24C02 | 1pc |
10 to 10 FRC Female to Female Connector | 3pc |
Post a Comment