Go Down

Topic: Changing I2C address of DS1307 RTC (Read 1 time) previous topic - next topic

Giannis

Hello to the Arduino community!

I have 2 DS1307 RTCs and i want to connect them to the same I2C bus.

I have read the datasheet of DS1307 but i can not find something that states how to change the default address.

Is it possible to change the default address of DS1307? So i can program each of them with a different time (kind of World Time project).

Thank you :)

kg4wsv

I see no indication of being able to change the address.

Why not use a single DS1307 and simply calculate the difference is software?  If you only care about time of day it's a simple operation.

-j

retrolefty

#2
Jun 25, 2009, 02:36 am Last Edit: Jun 25, 2009, 02:36 am by retrolefty Reason: 1
I agree. Also be aware that man with one watch always knows the time, man with two watches never really sure.  ;)

Lefty

Giannis

Hey guys

Thanks for you replies.

Never though it that way! I will try the software approach.

And yes, imagine what a confusion would be when having multiple watches showing different times  :D

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

pwillard

Make me think of the Three Stooges routine when Moe asks Curly for the time? Curly pulls up his sleeve to reveal three watches and asks Moe: "What's with the three watches?" Curly replies: "That's how I tell time. See, the one on this end is three hours fast every other day. The one on the other end is two hours slow each Thursday. The one in the middle is broken and stopped at 3 o'clock" "So," says Moe, "What time is it?" Curly reaches into his pocket, pulls out a pocket watch, and says: "Four-thirty."

Go Up