Write Protect Pin for Hardware Data Protection.Schmitt Trigger, Filtered Inputs for Noise Suppression.Low-voltage and Standard-voltage Operation – 2.7 (VCC = 2.7V to 5.5V) – 1.8 (VCC = 1.8V to 5.5V) A positive edge clock, AT24C02 Features & Specifications
A clock signal is required every time a bit is transferred to or from the SDA pin.
ARDUINO NANO PINOUT DIAGRAM SERIAL SERIAL
SCL( Serial Clock line pin ): Pin6 is serial clock pin. The data and control bits are read and write serially from this bidirectional pin.
SDA( Serial Clock line pin ): Pin5 is serial data pin. SCL is the clock line of the protocol while SDA is a dual directional line for transferring serial data. The device has an inter-integrated circuit for data communication between the devices and EEPROM. GND: Pin4 is Ground pin (0V) I2C Interface This is same as the power supply of the microcontroller. Vcc: A 5V DC supply is required to power the AT24C02. In the circuit WP pin has been grounded to allow write operation. When it is given a high, 24C02 is protected from any write operation. When it is kept low (ground), normal read and write operations are allowed. Write Protect pin : AT24C02 Pin7 is the Write Protect pin. To activate this addressing mode we need to give either low level or high levels based on number of EEPROM to be interfaced. In AT24C02 Pins 1-3 are the address pins and AT24C02 address pins are hard wire addressed. To connect multiple EEPROM with any microcontroller we need to assign the address to identify which EEPROM we need to read and write the data. The EEPROM AT24C02 IC is available in an 8-lead TSSOP package. It is a small and low power device which operation in two modes depending on the input voltage. This EEPROM IC supports two wire I2C communication with support of 8 devices and can retain a data for 100 years. The addressing of memory locations requires eight bit addresses. The memory is organized in 256 words of single byte each arranged in 32 pages of 8 bytes each.
ARDUINO NANO PINOUT DIAGRAM SERIAL HOW TO
Also we will see how to interface this AT24C02 EEPROM with Arduino UnoĪT24C02 is a two wire 2Kbits serial EEPROM by Atmel. In this tutorial we are going to discuses about basic features and specifications, Pinouts and working of EEPROM AT24C02. EEPROM is also very efficient in that individual bytes in a traditional EEPROM can be independently read, erased, and rewritten.
Once the power is resumed for EEPROM IC, the data or program will be available as it is to the user. The EEPROM is used where data needs to be permanently, which means even the EEPROM IC power off the data or program which we have store in it will be retain as it is. Start communication with DFPlayer Mini if (player.EEPROM stands for Electrically Erasable Programmable Read-Only Memory. Init USB serial port for debugging Serial. #include "SoftwareSerial.h" #include "DFRobotDFPlayerMini.h" // Use pins 2 and 3 to communicate with DFPlayer Mini static const uint8_t PIN_MP3_TX = 2 // Connects to module's RX static const uint8_t PIN_MP3_RX = 3 // Connects to module's TX SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX)
This is a simple example that starts playing the first MP3 file on the SD card after Arduino start up: