

The 24LC1025 is a 1 Kbit (128 x 8) I2C-compatible EEPROM (Electrically Erasable Programmable Read-Only Memory) manufactured by Microchip Technology. This non-volatile memory device is designed for applications requiring reliable data storage even when power is removed. It operates on a wide supply voltage range of 1.8V to 5.5V and communicates via a 2-wire I2C interface, making it easy to integrate into microcontroller-based systems.








| Parameter | Value |
|---|---|
| Memory Size | 1 Kbit (128 x 8) |
| Interface | I2C (2-wire) |
| Operating Voltage Range | 1.8V to 5.5V |
| Maximum Clock Frequency | 400 kHz (Fast Mode I2C) |
| Write Cycle Time | 5 ms (typical) |
| Data Retention | > 200 years |
| Endurance | 1,000,000 write/erase cycles (typical) |
| Operating Temperature Range | -40°C to +85°C |
| Package Options | PDIP, SOIC, TSSOP, DFN |
The 24LC1025 is available in an 8-pin package. Below is the pinout and description:
| Pin No. | Pin Name | Description |
|---|---|---|
| 1 | A0 | Device address input (used for I2C addressing) |
| 2 | A1 | Device address input (used for I2C addressing) |
| 3 | A2 | Device address input (used for I2C addressing) |
| 4 | VSS | Ground (0V reference) |
| 5 | SDA | Serial Data (I2C bidirectional data line) |
| 6 | SCL | Serial Clock (I2C clock line) |
| 7 | WP | Write Protect (active HIGH; disables write operations when HIGH) |
| 8 | VCC | Power supply (1.8V to 5.5V) |
Below is an example of how to interface the 24LC1025 with an Arduino UNO to write and read data:
#include <Wire.h> // Include the Wire library for I2C communication
#define EEPROM_I2C_ADDRESS 0x50 // Base I2C address of 24LC1025
void setup() {
Wire.begin(); // Initialize I2C communication
Serial.begin(9600); // Initialize serial communication for debugging
// Write a byte to EEPROM
writeEEPROM(0x00, 0x42); // Write 0x42 to memory address 0x00
delay(10); // Wait for the write cycle to complete
// Read the byte back from EEPROM
byte data = readEEPROM(0x00);
Serial.print("Read Data: 0x");
Serial.println(data, HEX); // Print the read data in hexadecimal format
}
void loop() {
// Nothing to do here
}
// Function to write a byte to the EEPROM
void writeEEPROM(unsigned int address, byte data) {
Wire.beginTransmission(EEPROM_I2C_ADDRESS);
Wire.write((address >> 8) & 0xFF); // Send the high byte of the address
Wire.write(address & 0xFF); // Send the low byte of the address
Wire.write(data); // Send the data byte
Wire.endTransmission();
delay(5); // Allow time for the write cycle to complete
}
// Function to read a byte from the EEPROM
byte readEEPROM(unsigned int address) {
Wire.beginTransmission(EEPROM_I2C_ADDRESS);
Wire.write((address >> 8) & 0xFF); // Send the high byte of the address
Wire.write(address & 0xFF); // Send the low byte of the address
Wire.endTransmission();
Wire.requestFrom(EEPROM_I2C_ADDRESS, 1); // Request 1 byte from the EEPROM
if (Wire.available()) {
return Wire.read(); // Return the received byte
}
return 0xFF; // Return 0xFF if no data is available
}
EEPROM Not Responding on I2C Bus:
Data Corruption:
Write Operations Failing:
Incorrect Data Read:
Q1: Can I use the 24LC1025 with a 3.3V microcontroller?
A1: Yes, the 24LC1025 operates within a voltage range of 1.8V to 5.5V, making it compatible with 3.3V systems.
Q2: How many devices can I connect on the same I2C bus?
A2: Up to 8 devices can be connected by configuring unique addresses using the A0, A1, and A2 pins.
Q3: What happens if I exceed the write endurance limit?
A3: After exceeding the typical endurance of 1,000,000 write/erase cycles, the memory cells may begin to fail, leading to unreliable data storage.
Q4: Is the 24LC1025 backward compatible with standard I2C devices?
A4: Yes, it supports both standard (100 kHz) and fast (400 kHz) I2C modes, ensuring compatibility with most I2C devices.