ablab

Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

AT24C16 EEPROM Page Read and Write with ATmega32 and LED Display

1902
1
Mark as Favourite

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

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for AT24C16 EEPROM Page Read and Write with ATmega32 and LED Display is as follows

  • Steps - 1 ( 0f 7 )

    Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

  • Steps - 2 ( 0f 7 )

    Connect PortB header with LED data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

  • Steps - 3 ( 0f 7 )

    Connect the EEPROM & RTC header of EEPROM & RTC with PortC header of AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

  • Steps - 4 ( 0f 7 )

    Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

  • Steps - 5 ( 0f 7 )

    Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.

  • Steps - 6 ( 0f 7 )

    Switch on the power with the help of Power Switch of AVR Trainer Board-100.

  • Steps - 7 ( 0f 7 )

    Download AT24C16 EEPROM Page Read and Write with ATmega32 and LED Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

  • Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

    Steps - 1 ( 0f 7 )

  • Connect PortB header with LED data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 7 )

  • Connect the EEPROM & RTC header of EEPROM & RTC with PortC header of AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

    Steps - 3 ( 0f 7 )

  • Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

    Steps - 4 ( 0f 7 )

  • Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.

    Steps - 5 ( 0f 7 )

  • Switch on the power with the help of Power Switch of AVR Trainer Board-100.

    Steps - 6 ( 0f 7 )

  • Download AT24C16 EEPROM Page Read and Write with ATmega32 and LED Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 7 ( 0f 7 )

Post a Comment

    • PrashantKumar
      sir i want project -p10 moving massage display use atmega8 ps2 key board interface
      2017-04-05 21:56:09
      Reply