Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

AT24C512C I2C EEPROM Library

Overview

This is a library to support the AT24C512C EEPROM. Up to 8 of these devices may be chained together to provide 512 kilobytes of EEPROM storage.

Arduino Library for the I2C 512 Kbits EEPROM AT24C512C in Github

The usage is based on the Arduino EEPROM library and two I2C EEPROM libraries. If you're familiar with how that works, using this library should be pretty straightforward. Basically just substitute EEPROM1024 where you were using EEPROM.

From the data sheet

The Atmel AT24C512C provides 524,288 bits of Serial Electrically Erasable and Programmable Read-Only Memory (EEPROM) organized as 65,536 words of eight bits each. The cascadable feature of the device allows up to eight devices to share a common 2-wire bus. The device is optimized for use in many industrial and commercial applications where low-power and low-voltage operation are essential. The devices are available in space-saving 8-lead JEDEC SOIC, 8-lead EIAJ SOIC, 8-lead TSSOP, 8-pad UDFN, 8-ball WLCSP, and 8-ball VFBGA packages. In addition, the entire family is available in 1.7V (1.7V to 3.6V) and 2.5V (2.5V to 5.5V) versions.

Download Datasheet

This library is based on:

 * 24C1024 I2C EEPROM Library