24C02 / AT24C256 EEPROM
I2C EEPROM to store settings that survive power loss.
FunctionSerial EEPROM, 256 Kbit (32 KB)
Supply voltage1.7 to 5.5 V
Inputs and outputsI2C (0x50 to 0x57)
SpeedUp to 1 MHz
Integrated CircuitsReviewedMPN AT24C256CUsed in 2 projects
In short
What is the 24C02 / AT24C256 EEPROM and what is it used for?
I2C EEPROM to store settings that survive power loss. Makers use it for storing settings and logs.
How it works
Non-volatile memory that keeps data without power, accessed over I2C.
Key specifications
| Integrated circuit spec | Value |
|---|---|
| Function | Serial EEPROM, 256 Kbit (32 KB) |
| Supply voltage | 1.7 to 5.5 V |
| Inputs and outputs | I2C (0x50 to 0x57) |
| Speed | Up to 1 MHz |
| Package | DIP-8 or SOIC-8 |
| Watch out for | About 1 million writes per byte |
Pinout
1to 3A0 to A2 address select
4GND
5SDA
6SCL
7WP, write protect (GND to allow writes)
8VCC
How to use it
Address 0x50 to 0x57. Write in pages (64 bytes for the AT24C256) and wait about 5 ms after each write. Each cell endures about a million writes, so do not write in a fast loop.
Applications
Storing settings and logs
Builds that use it
Alternatives
- W25Q128 SPI flash 16 MBMuch larger and faster SPI flash
Common questions
What is the 24C02 / AT24C256 EEPROM used for?
In maker projects: storing settings and logs.
How does the 24C02 / AT24C256 EEPROM work?
Non-volatile memory that keeps data without power, accessed over I2C.
What voltage does the 24C02 / AT24C256 EEPROM need?
1.7 to 5.5 V.
What can I use instead of the 24C02 / AT24C256 EEPROM?
W25Q128 SPI flash 16 MB.
