burrow
Full Member level 2
- Joined
- Dec 15, 2014
- Messages
- 147
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 18
- Activity points
- 1,148
Hai,
my project which uses pic18f4520 and RTC 1307 was working fine. But i noticed a problem since last many days. Some times the time freezes ( the clock stocks ticking ) for a long time and then it starts ticking on its on. Which is forcing me to correct its time every 2 days or so.
I am not using Time write code in my program . ( i initially write code to place time in registers and then burn and once time is set, i remove that portion of code )
Also i noticed sometimes the Rtc looses memory, it replaced portion of time or date with "?" marks.
SDA AND SCL is using a pull up resistor of 2.2k ohm
The Backup battery is fine
Its using 32.768khz crystal.
their is load capacitace too.
Their is 100nf decoupling capacitor across 1307.
Their is filtering capacitor for the whole circuit
The 5v supply is from a 7805 regulator
my project which uses pic18f4520 and RTC 1307 was working fine. But i noticed a problem since last many days. Some times the time freezes ( the clock stocks ticking ) for a long time and then it starts ticking on its on. Which is forcing me to correct its time every 2 days or so.
I am not using Time write code in my program . ( i initially write code to place time in registers and then burn and once time is set, i remove that portion of code )
Also i noticed sometimes the Rtc looses memory, it replaced portion of time or date with "?" marks.
SDA AND SCL is using a pull up resistor of 2.2k ohm
The Backup battery is fine
Its using 32.768khz crystal.
their is load capacitace too.
Their is 100nf decoupling capacitor across 1307.
Their is filtering capacitor for the whole circuit
The 5v supply is from a 7805 regulator