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