View Full Version : Calendar with PIC
Eugeniu
- 16th November 2008, 20:18
Hello !
Are somebody doing a " CALENDAR "( DAY, MOUNTH , YEAR ) with a PIC and LCD ?
Thank you !
mister_e
- 16th November 2008, 23:42
There's some easy route to use if you want to.
DS1307 RTC.
http://www.melabs.com/resources/samples/submitted/MN1307.txt
Eugeniu
- 17th November 2008, 09:28
There's some easy route to use if you want to.
Thank you very much for this link . Is usefully .
Eugeniu
- 20th November 2008, 19:12
Tell me please , has DS1307 only a single address code for all with this type ? In datasheet write :
"The slave address byte contains the 7-bit DS1307 address, which is 1101000, followed by the direction bit (R/W),"
If they have everyone a unique code , how can I know it ?
Thanks !
mister_e
- 20th November 2008, 19:19
Don't worry, they all have the same... but you can't stack few of them on the same BUS like most I2C device who have those A0, A1, A2 lines on.
Eugeniu
- 20th November 2008, 19:23
......but you can't stack few of them on the same BUS like most I2C device who have those A0, A1, A2 lines on.
Only , becose is not necessary , yes ?
mister_e
- 20th November 2008, 19:32
Maybe, I don't know a situation where someone would need more than one RTC for a single project... possible, but probably not very common...
You can add some other I2C device on the same I2C bus line though... just not another DS1307.
Eugeniu
- 20th November 2008, 19:48
.........You can add some other I2C device on the same I2C bus line though... just not another DS1307.
Thank you very much , Steve , was , very impportant for me . I am reading much documents to understand this , and I was not sure yet . Now I am !
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.