Skip to content
A project ofgwark.dev

Microchip / Atmel / ST · Integrated circuit

24LC256 I2C EEPROM

32 KB of non-volatile storage on two wires. The same pinout covers the whole 24Cxx family from 1 Kbit to 512 Kbit.

Cheat sheet (SVG)
Logic level
1.7-5.5 V
Package
PDIP-8 / SOIC-8 / TSSOP-8

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-4

24LC256

Pins 5-8

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
1.7-5.5 V
Package
PDIP-8 / SOIC-8 / TSSOP-8

Fig. 1. 24LC256 I2C EEPROM, PDIP-8. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Minimum circuit

What has to go around the chip before it will run.

VCCGND24LC2564.7 kOhm between SDA (5) and VCC4.7 kOhm4.7 kOhm between SCL (6) and VCC4.7 kOhmWire link between A0 (1) and GNDWire linkWire link between A1 (2) and GNDWire linkWire link between A2 (3) and GNDWire linkWire link between WP (7) and GNDWire link100 nF between VCC (8) and GND100 nFVSS (4) to GNDVCC (8) to VCCA0 1A1 2A2 3VSS 4SDA 5SCL 6WP 7VCC 8VCC 8
Fig. 2. Minimum circuit, drawn from Table 1. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
4.7 kOhmSDA (5) to VCC
4.7 kOhmSCL (6) to VCC
Wire linkA0 (1) to GND
Wire linkA1 (2) to GND
Wire linkA2 (3) to GND
Wire linkWP (7) to GND
100 nFVCC (8) to GND

Writes land a page at a time, 64 bytes on the 24LC256. A write that crosses a page boundary wraps to the start of the same page instead of continuing.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for 24LC256 I2C EEPROM
PinNameFunctions

Found a wrong pin? The whole board is one file, data/boards/24lc256.json.

Edit this file on GitHubReport it instead