Read/Write Serial EEPROM via I2C
Simple example, how to read and write EEPROM 24C01 via I2C with Arduino Uno.
EEPROMIf you do not know, what EEPROM is, see wikipedia page. For more info about used EEPROM AT24C01A, see attached datasheet. I2CInter-Integrated Circuit is serial synchronous bus. It uses two wires and Arduino Uno has this interface at analog pins A4 and A5. Library for I2C in Arduino is called Wire. More info at wikipedia page. CodeCode for Arduino is based on code from page Using Arduino with an I2C EEPROM, with some differences: Code at playground use AT24C256 EEPROM with 256kbit. This EEPROM use 2bits for memory addressing, but AT24C01 use only one bit.
|
ImagesFilesFritzing FilesOther Files |
