Main Content

How to Use I2C EEPROM

Expand your board’s storage with an I2C-enabled EEPROM chip.

What is EEPROM?
EEPROM stands for Electronically Erasable Programmable Read-Only Memory. It allows for values to be written and stored for long periods of time while using very little power. Most microcontrollers even have EEPROM directly in their circuitry, such as the ATmega328P (Arduino Uno chip), which has 1KB of it. But what if that’s not enough? SD cards have much greater storage sizes, but are also more complex, physically larger, and use more power. In this tutorial, I will show how easy it is to add another 2KB of non-volatile storage to a project with the 24C02 EEPROM IC.

Breaking Out Pins
The chip I chose comes in several packages, but because I needed to mount them on PCBs, I went with the SOIC-8 package, which is a surface-mount variant. To begin, I added the EEPROM IC part into Eagle, along with a 3-pin header for the ADDR pins and a 5-pin header for the other pins. Then I simply routed net segments between the pins to connect them.”

Link to article