Professional Documents
Culture Documents
1 of 8 10-04-2022, 22:54
Firefox https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfa...
Pin Description
Pin#01, 02, 03: A0, A1, A2
These three pins are address inputs. The pins A2 and A1 are for hardwire addressing.
You can address four 4K devices on a single bus system whereas the A0 pin is a no
connect pin and normally, we connect this pin to ground.
Pin#04: GND
Pin#05: SDA
The serial data pin allows the bidirectional transfer of serial data and addresses.
Pin#06: SCL
It is a clock input pin that injects the data into each EEPROM device on positive edge of
a clock and on a negative transition, it sends data out on the output pin of each device.
Pin#07: WP
2 of 8 10-04-2022, 22:54
Firefox https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfa...
As the name implies, the write-protect pin protects the hardware data. It enables
read/write operation by connecting it to the ground pin. Only write operation is enabled,
when applied with Vcc.
Pin#08: Vcc
Features
Low and standard-voltage operation
Vcc = 1.7V to 5.5V.
The memory has a capacity of 512 x 8 (4K) bits.
The EEPROM device provides bidirectional data transfer and this communication
takes place through a 2-wire serial interface
Schmitt triggered inputs which can suppress noise.
It is a highly reliable device with an endurance of 1 million write cycles and the
limit of data retention is almost 100 years.
Maximum clock frequency = 1MHz.
Hardware data protection through write Protect Pin
3 of 8 10-04-2022, 22:54
Firefox https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfa...
The low to high transition of the clock pulse signal indicates a start or stop condition.
When a positive transition occurs at the SDA input pin with SCL high, it is a start
condition. Stop condition occurs when a negative transition of the input signal takes
place at SDA with SCL input being high. It puts the device in a standby power mode.
4 of 8 10-04-2022, 22:54
Firefox https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfa...
The EEPROM sends or receives addresses and data words serially in the form of 8-bit
words and sends a zero as an acknowledgment that it has received each word. The
figure below illustrates the effect on output on changing SDA and SCL inputs. Data In is
SDA input.
5 of 8 10-04-2022, 22:54
Firefox https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfa...
6 of 8 10-04-2022, 22:54
Firefox https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfa...
Example Application
You can easily interface this device with other microcontrollers. The figure below shows
the connections. The microcontroller sends the data to EEPROM 24C04 which stores
the data. You can use this circuit for designing smart car parking systems. Every
customer who enters the parking area enters his CNIC number through a keypad.
Microcontroller stores this CNIC number into the EEPROM device. Now, if the
customer wants to open that lock, the LCD will display “Enter your CNIC number”
command. If the CNIC entered is matched with the stored CNIC in the EEPROM, it will
open the lock where the car of a user is parked.
2D diagram
7 of 8 10-04-2022, 22:54
Datasheet
24C04 DATASHEET
Electronics components
Subscribe to Blog via Email
Enter your email address to subscribe to this blog and receive notifications of new
posts by email.