In this tutorial, we will see how we can interface AT24C256 EEPROM module to ARIES v3.0 Board. EEPROM stands for Electrically Erasable Programmable Read-only Memory.

EEPROM

It is a type of non-volatile memory used in computers, integrated in micro controllers for Smart cards and remote key-less systems, and other electronic devices to store relatively small amounts of data by allowing individual bytes to be erased and reprogrammed. EEPROMs can be programmed and erased in-circuit, by applying special programming signals. The AT24C256 EEPROM is organized as 32,768 words of 8 bits each. The device is optimized for use in many industrial and commercial applications where low power and low voltage operation are essential.

Circuit Diagram:

Connections:

EEPROM ModuleARIES v3 board
VCC3V3
SCLSCL-0
SDASDA-0
GNDGND
Connection pins of EEPROM Module & ARIES v3.0 Board

Procedure:

Open and set up the Arduino IDE as described in Getting Started with ARIES v3.0.

  • Make sure you have selected ARIES v3 Board from Tools -> Board -> VEGA Processor: ARIES Boards -> ARIES v3
  • Select Programmer as VEGA XMODEM from Tools -> Programmer -> VEGA XMODEM
  • Also select appropriate port from Tools -> Port -> COM* (ARIES Board)

Now, Open Files -> Examples -> Under Examples for ARIES v3 -> Wire-> EEPROM -> ReadWrite

Libraries

Arduino libraries are an extension of the standard Arduino API and consists of thousands of libraries, both official and contributed by the community. Libraries simplifies the use of complex codes. Every version of Arduino IDE has a library manager for installing Arduino software libraries. The libraries required for this projects are

  • AT24C256 (Version 1.0.0 by Paul Gaudre)

To install the libraries required for this project.

Go to Tools -> Library Manager -> and search for AT24C256

Click on Install all

Once you have downloaded the required libraries you can upload the code to ARIES board.

Output

This program interacts with an I2C EEPROM (AT24C256) to write and read data from specific memory locations. In the given example, you can see that the value 24 is written to memory location 0.

By mydhily

Leave a Reply

Your email address will not be published. Required fields are marked *