[Done] I2C EEPROM library for Arduino (24LC128, 24LC256, 24LC512)
Switch branches/tags
Nothing to show
Clone or download
QuentinCG lib: Add const identifiers
Add const identifiers to all const functions.
Latest commit d267b69 Jul 3, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
I2CEEPROM lib: Add const identifiers Jul 3, 2016
LICENSE.md doc: Add license to the project (MIT) Jun 29, 2016
README.md doc: Fix English sentences issues Jun 29, 2016
schematics.png doc: Add schematics of Arduino to I2C EEPROM Jun 29, 2016


I2C EEPROMs library for Arduino

What is it?

This library (with examples) is designed to be integrated in projects using I2C EEPROM. It can read and write data from I2C EEPROMs. It has been fully tested with 24LC256 device but should work with others.

How to install

  1. Download latest release

  2. On your Arduino IDE, click "Sketch" menu and then "Include Library > Add .ZIP Libraries"

  3. You can now use the library for your project or launch an example ("File > Examples")

How to connect I2C EEPROM to arduino

Most of I2C EEPROMs are connected the same way.

Here are the pin connections for 24LC256 device:

24LC256 Arduino Source
Others GND (-> I2C address = 0x50)


Three examples are provided with this library:

Simple Read through all EEPROM

Link to source code

Simple Write though all EEPROM

Link to source code

Check consistency of the EEPROM

Link to source code


This project is under MIT license. This means you can use it as you want (just don't delete the library header).


If you want to add more examples or improve the library, just create a pull request with proper commit message and right wrapping.