Electronics

EEPROM Memory I2C Module AT24C256 SMD

AED 15.75

1

Description

24C256 EEPROM with a writing capacity of 32,768 bytes or characters, allows us to add external storage for Arduino. It can be used for storing multiple settings or as a backup of stored data in the case that the primary system loses its wireless connection. The ability to set the address using three address jumpers and therefore link up to eight memory on one Arduino and block the next write data are significant advantages.

Specifications:

  •   Operation at Low and Standard Voltages – 2.7 (VCC = 2.7V to 5.5V) – 1.8 (VCC = 1.8V to 3.6V)
  •  16,384 x 8 and 32,768 x 8 Internally Organized
    • Schmitt Trigger, Filtered Inputs for Noise Suppression
  • Bidirectional Data Transfer Protocol
  • 1 MHz (5V), 400 kHz (2.7V, 2.5V), and 100 kHz (2.7V, 2.5V) (1.8V) Compatibility
  •  Write Protect Pin for Data Protection in Hardware and Software
  •  64-byte Page Write Mode (Partial Page Writes Allowed)
  •  Write Cycle with Self-Timer (5 ms Max)
  •  High Reliability – One Million Write Cycles of Endurance 
  • Data Retention of 40 Years
  • Mainly Compatible with: Arduino
  • Batteries Included: No
  • Size(L x W x H): 6.00 x 6.00 x 1.00 cm 



How to wire the 
EEPROM Memory Module I2C AT24C256 SMD with Arduino :

 the AT

Simple code for the EEPROM Memory Module with Arduino:

first you will need to download the Library form Here and add it to the Arduino IDE

then you can upload this code which can write a number to the EEPROM and read it then show it on the Serial Monitor

//This Library is used to communicate with an AT24CXXX type (256 here) chip
//The i2c address can be modified in AT24C256.h


//I2C library
#include "AT24C256.h"

//Create Object
AT24C256 eeprom = AT24C256();

//this val will be wrote the the chip. An int is used here.
int val = 24;

//The address on wich val will be wrote
int Add = 0;

void setup() 
{
  //Start Serial and i2c
  Serial.begin(9600);
 
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }
}

void loop() 
{
  //Write val to the address
  Serial.println("Writing of " + (String)val + " on " + (String)Add);
  eeprom.write(val, Add);

  //print the val read in the address specified and print it to serial
  Serial.println(eeprom.read(Add));

  //Stop
   while(1);
}