I2C Real Time Clock and serial EEPROM

While our Raspberry Pi is usually connected to the network from which it can get date and time, other micro-controllers (the Arduinio is an example) do not necessarily have an Ethernet connection. Also out Raspberry may run temporarily without network connection. In order to know date and time also in these cases there is the DS1307 Real Time Clock (RTC), which can be programmed through I2C and which can keep date and time through a 32.768 kHz oscillator running on a 3 V battery. Date and time is stored in 56 bytes of battery backed RAM memory.

The PCB also includes an AT24C32 I2C serial EEPROM onto which 4 kByte (32 kbits) of data may be stored. Since it is rather simple to access the EEPROM through the I2C bus we will use this device to collect experience in I2C programming. A top secret message has been programmed into the chip, which the student detectives are asked to discover.

The PCB also has provisions to mount a ds18b20 digital thermometer, which on our boards however is not mounted.
rtcfront.png rtcback.png
RTC module front RTC module back with battery
As you can see, the I2C connections exist twice on the board, only one of which is needed to run the board.

-- %USERSIG{UliRaich - 2017-02-01}%

Comments

 

I Attachment Action Size Date Who Comment
rtcback.pngpng rtcback.png manage 774 K 01 Feb 2017 - 14:17 UnknownUser  
rtcfront.pngpng rtcfront.png manage 2 MB 01 Feb 2017 - 14:17 UnknownUser  
This topic: Embedded_Systems > WebHome > MoreSensors > DS1307
Topic revision: 01 Feb 2017, uli