Page 1 of 1

Problem with DS1307

Posted: Tue Mar 31, 2015 4:14 pm
by maharadga
Hi all. I tried component DS1307, but maybe I found bug on it /or not/. When I choose day of week to be displaying as number, for example 5 /Friday/, the day is true. When I choose day to be displaying as word /first 3 or all/, it's false- displaying "Thursday".
Also I try example with PIC16F876A and found that if I connect DS1307 to RC3 and RC4 /it's default/ circuit not work.
The time says 45:85 and the date is 45/25/165, the day is 255. When I change pins, as an example RC2 and RC5 - it work correct.
I try with simple timer but it's not work. Maybe I didn't do something right?
I have question: How configure timers? How can I adjust them from software and if I can, how make it?
I upload my example and be happy if somebody explain where's my mistakes.