Hello friends! I'm intefcacing DS1307 RTC wit pic16f877. I need some help. The data from RTC is not correctly received. Can anybody suggest a possible solution?
Interfacing ds1307 with 16f877
May 19, 2008
3 Replies
I've got some very old assembler code here for talking to the DS1307 is that helps:
formatting link
Also, do try using Google. First hit for "DS1307 PIC":
formatting link
Dave.
I have some old code at:
formatting link
don't know if this will help, or not.
Cheers Don...
Don McKenzie
Site Map: http://www.dontronics.com/sitemap
E-Mail Contact Page: http://www.dontronics.com/email
Intelligent 2.83" AMOLED with touch screen for micros:
http://www.dontronics-shop.com/product.php?productid=16699
It's very difficult to do this without a 'scope. I know, I've done it.
Beg borrow or steal one and look at the timing of the waveforms you're generating.
There's lots of code around, but to make sure you have the right port pins, configured in the correct direction, toggling with the right polarity at the right time, you really must have a scope, regardless of what existing code you have.
Clifford Heath.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required