CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

DS1307 Problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Porn
Guest







DS1307 Problem
PostPosted: Sun Sep 18, 2005 6:39 am     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=23255&highlight=ds1307

from Code of DS1307 I have problem ...
1. I used 18F452 with DS1307
2. I have R 10K Pull Up at SLK,SDA with +5V
3. I have coin Battery 3.0 V
4. Crystal is OK.

when I connect coin battery to pin 3 DS1307.Result is 25/45/-91 45:85:85
when I remove coin battery from pin 3 DS1307.Result is 4/19/02 12:11:03

Why?
please help me...
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Sep 18, 2005 1:29 pm     Reply with quote

Read this thread for more things to check:
http://www.ccsinfo.com/forum/viewtopic.php?t=19926&start=0

Also, check your battery with a voltmeter. Is it really 3.0v or
is it only 1.5v ?
Porn
Guest







PostPosted: Sun Sep 18, 2005 7:14 pm     Reply with quote

Thank you for answer.

from... PCM Programmer
Also, check your battery with a voltmeter. Is it really 3.0v or
is it only 1.5v ?

coin battery voltage = 3.0 V (in circuit and out circuit)

I think Hardware is OK.becuase I try with another circiut the same result.
but I think Software is OK.

what wrong?
can tell me why?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Sep 18, 2005 9:00 pm     Reply with quote

Check all the connections, and all the component values, and the program.
Also try a different DS1307 chip.
Park
Guest







PostPosted: Mon Sep 19, 2005 11:46 am     Reply with quote

check out this example
may be help your solution.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group