adnan_e94
Newbie level 2
- Joined
- Nov 4, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 18
Hello,
I'm an engineering student and im making this project just for education purpose, I'm using:
-PIC 16F877A with 10 Mhz quartz
-DS1307 with 32.75 kHz crystal
The problem is that after some time (random, sometimes 10 minutes, sometimes 10 days) the DS1307 just stops incrementing the time. BUT after I "reprogram" the DS1307 (set the time values) from the PIC via I2C, it just starts to work again counting from the newly set date. Any ideas what could be the issue here?
The DS1307 DOES have a new battery attached to VBAT, and everything works flawless since the PIC reads the values the whole time perfectly (in my program i read the values every ~1 minute)
edit1: and yes, i tried another DS1307, still same issue.
I'm an engineering student and im making this project just for education purpose, I'm using:
-PIC 16F877A with 10 Mhz quartz
-DS1307 with 32.75 kHz crystal
The problem is that after some time (random, sometimes 10 minutes, sometimes 10 days) the DS1307 just stops incrementing the time. BUT after I "reprogram" the DS1307 (set the time values) from the PIC via I2C, it just starts to work again counting from the newly set date. Any ideas what could be the issue here?
The DS1307 DOES have a new battery attached to VBAT, and everything works flawless since the PIC reads the values the whole time perfectly (in my program i read the values every ~1 minute)
edit1: and yes, i tried another DS1307, still same issue.
Last edited: