How to Interface Serial EEPROM 24C02 with 8051 microcontroller (AT89C51)
- Circuit Diagram
- Free Circuit Design & Simulation Tool by TI
EEPROM stands for electrically erasable programmable read only memory. It is a secondary storage device that once written (programmed) can hold data even when the power is removed. The EEPROM is a class of read only memory that can be electrically erased and reprogrammed.
AT24C02 is a two wire 2Kbits serial EEPROM by Atmel. The memory is organized in 256 words of single byte each arranged in 32 pages of 8 bytes each. The addressing of memory locations requires eight bit addresses.
Of the two wire serial EEPROMs from ATMEL, 24C02 is one of them and comes in different packages. No matter what the package type, following are the pins of 24C02 IC.
The data pins of the LCD are connected to port 2 of the microcontroller. The RS, RW and enable pins of the LCD are interfaced to bit 0, 1 and 6 of port P3, respectively.
Transfer of a word to/from EEPROM
By sending or receiving eight bits, a complete word is sent to or received by the EEPROM. When sending a word, the acknowledgement from the EEPROM must be checked. There should a clock (high to low transition from an initial low) between two words.
LCD (Liquid Crystal Display) screen is an electronic display module and find a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits. These modules are preferred over seven segments...
Serial EEPROM AT24C02
AT24C02 is an electrically erasable and programmable ROM. It has a 2Kbits of memory size arranged in 32 pages of 8 byte each. There are 256 (32 x 8) words each of one byte. The data is transferred and received serially through seria...
Free Circuit Design & Simulation Tool by TI
TINA-TI is a powerful circuit design and simulation tool. TINA-TI is ideal for designing, testing, and troubleshooting a broad variety of basic and advanced circuits, including complex architectures, without any node or number of device limitations.
TINA is an easy-to-use, powerful circuit simulation tool based on a SPICE engine. TINA-TI is a fully functional version of TINA, loaded with a library of TI macromodels plus passive and active models.
TINA-TI's new version 9 has changes from Version 7.0 in the following areas:
- Schematic Symbol Editor (useable with the Macro Wizard) is included, so you can create your own symbols for imported SPICE macromodels.
- Macros do not have to be from TI - you can import anyone's SPICE model now!
- Does not require active or non-linear components for analysis (so you can now run a circuit using just passives).
- TINA-TI includes Initial Condition and Nodeset components
- TINA-TI includes Linear and nonlinear controlled sources (VCVS, CCVS, VCCS, CCCS), and the Controlled Source Wizard.
- TINA-TI now allows WAV files to be used as stimulus (signal sources). You can play calculated waveforms on PC's multimedia system, and export calculated waveforms as a *.wav file.
- TINA-TI has Multi-core processor support; this along with other optimizations makes simulations run 2-20 times faster.
- Schematic file import/export in XML format
- Block Wizard included for making block diagrams
- TINA-TI has more SPICE models and example circuits included.
- Circuits developed in TINA-TI 9 will work with TINA Industrial version 9.
- TINA-TI Version 7.0 is forward compatible with Version 9, and version 9 supports saving schematics in version 7.0 format.
- Available in English, Traditional and Simplified Chinese, Japanese, and Russian versions.