need help with DS1307 RTC

Status
Not open for further replies.

lassy

Newbie level 4
Joined
Oct 6, 2004
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
53
I am trying to build a RTC to be used within my temperature controller project and need a PIC assembly code that reads and writes from the DS1307 RTC chip.I am using the PIC16F877 which has seriall data and clock pins..but dont have a clue on how to go about it.PLEASE help me...

thanks
 

Hi,

The DS1307 Uses the I2C interface. It has been long talked about in this board. Click on the search button on the top and write DS1307 and click search. There are so many links in the board that i could even start coyeing it...

If you found my answer useful, click on the button that says Helped me.

Good luck.
 
You can find some useful information from the project of
h**p://www.techdesign.be/
 

Better use CCS C compiler, it has ready function to execute an I2C command.
 

Hi,

I dont know if its "better" to use the C compiler - I suppose that depends on wether you can program C !

I have some generic I2C routines and will post them if you like, I'm using 16F877A with assembly right now on a project but using a PCF 8583, the code should work just fine.

[
 

hai

better u use ds1337
iy is very easy to interface than 1307
if u want code send me a pm
i am ready to help u
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…