AT24C02 EEPROM Byte Read & Write with ATmega32 and LED Display
In this project, we will learn How to read and write a byte of data in AT24C02 EEPROM with AVR ATmega32 microcontroller and LED 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 1X8 LED array. 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 ATmega32 microcontroller and AT24C02 EEPROM takes place through TWI communication protocol. The AVR ATmega32 microcontroller will write a byte of data(in our case 0xAA) 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 1X8 LED array.
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 AT24C02 | 1pc |
10 to 10 FRC Female to Female Connector | 3pc |
Post a Comment