ablab

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

AT24C01 EEPROM Byte Read & Write with ATmega16 and LED Display

2663
Mark as Favourite

In this project, we will learn How to read and write a byte of data in AT24C01 EEPROM with AVR ATmega16 microcontroller and LED Display. Here, we will write a byte of data into the AT24C01 EEPROM memory and then we will read this one byte of data from the AT24C01 EEPROM memory and we will display the read value in a 1X8 LED array. AT24C01 has a storage capacity of 1Kbit(128 bytes). The 128 byte memory is divided into pages of 8 byte each. The data communication between AVR ATmega16 microcontroller and AT24C01 EEPROM takes place through TWI communication protocol. The AVR ATmega16 microcontroller will write a byte of data(in our case 0xAA) into the 0x00 memory location of AT24C01 EEPROM memory through TWI communication. Then it will read the one byte data from the 0x00 memory location of AT24C01 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 ATmega16 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
EEPROM & RTC Board with AT24C01 1pc
10 to 10 FRC Female to Female Connector 3pc

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for AT24C01 EEPROM Byte Read & Write with ATmega16 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 AT24C01 EEPROM Byte Read & Write with ATmega16 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 AT24C01 EEPROM Byte Read & Write with ATmega16 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