Tags:
tag this topic
create new tag
view all tags
---+ !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. | <img alt="rtcfront.png" height="332" src="%ATTACHURL%/rtcfront.png" title="rtcfront.png" width="338" /> | <img alt="rtcback.png" height="325" src="%ATTACHURL%/rtcback.png" title="rtcback.png" width="345" /> | | 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 %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
rtcback.png
r1
manage
774.8 K
2017-02-01 - 14:17
UnknownUser
png
rtcfront.png
r1
manage
2290.3 K
2017-02-01 - 14:17
UnknownUser
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2017-02-01
-
uli
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
Embedded_Systems Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback