Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need help with DS1307 RTC

Status
Not open for further replies.

lassy

Newbie level 4
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.

[
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top