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
 

gidimiz

Advanced Member level 1
Advanced Member level 1
Joined
Feb 3, 2005
Messages
427
Helped
125
Reputation
250
Reaction score
41
Trophy points
1,308
Activity points
5,157
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.
 

pico

Full Member level 6
Full Member level 6
Joined
Sep 30, 2001
Messages
323
Helped
32
Reputation
64
Reaction score
19
Trophy points
1,298
Activity points
1,887
You can find some useful information from the project of
h**p://www.techdesign.be/
 

glenjoy

Banned
Advanced Member level 3
Joined
Jan 1, 2004
Messages
962
Helped
72
Reputation
146
Reaction score
20
Trophy points
1,298
Location
Philippines
Activity points
0
Better use CCS C compiler, it has ready function to execute an I2C command.
 

eggplant

Junior Member level 1
Junior Member level 1
Joined
Mar 17, 2005
Messages
15
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,281
Activity points
1,476
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

Top