Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

DS1307 Clock not Working
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: DS1307 Clock not Working

by ockeydockey on Wed May 14, 2014 9:45 pm

I don't have a spare battery in that size, but I did test the voltage. It came in at about 3.247VDC. Here are some pictures showing the front, back, and wired in the project.
Attachments
In Project.jpg
Wired in the project
In Project.jpg (578.49 KiB) Viewed 747 times
back.jpg
Back
back.jpg (597.47 KiB) Viewed 747 times
front.jpg
Front
front.jpg (559.74 KiB) Viewed 747 times

ockeydockey
 
Posts: 4
Joined: Sat Jan 26, 2013 10:53 am

Re: DS1307 Clock not Working

by ockeydockey on Wed May 14, 2014 9:47 pm

Also, after reading up on this particular chip I noticed that some people say that the crystal needs to be grounded. Has this been your experience?

ockeydockey
 
Posts: 4
Joined: Sat Jan 26, 2013 10:53 am

Re: DS1307 Clock not Working

by adafruit_support_rick on Thu May 15, 2014 12:15 pm

ockeydockey wrote:Also, after reading up on this particular chip I noticed that some people say that the crystal needs to be grounded. Has this been your experience?

I've never heard of such a thing with this board.

The ds1307 can go haywire if the power and/or ground connections are flaky. Try moving it around in your breadboard, try some different jumpers, too.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: DS1307 Clock not Working

by Russell 27 on Thu May 15, 2014 12:54 pm

I don't know where you took your battery voltage reading, but; Did you put a dab of solder on the negative battery pad of the board. Sometimes no solder or excessive flux can give a bad connection.
Russell 27
 
Posts: 240
Joined: Thu Sep 12, 2013 3:59 pm

Re: DS1307 Clock not Working

by khanqueso on Mon May 19, 2014 2:34 am

I am also experiencing the same problem described by the OP.

I have tested the battery pins at the DS1307 and found them to be around 3.45 V. I also tested across the Vin and GND pins and found them to be 4.96 V. The issue is not my connection to the Arduino or a faulty battery.

Here is a picture of my soldering:
Image

Any assistance is appreciated.
khanqueso
 
Posts: 5
Joined: Wed May 07, 2014 3:44 pm

Re: DS1307 Clock not Working

by adafruit_support_bill on Mon May 19, 2014 6:39 am

It looks like you have quite a bit of burnt flux around the crystal. Burnt flux can become conductive enough to affect crystal operation. Try cleaning the board with some 90% or better isopropyl alcohol and an old toothbrush.

adafruit_support_bill
 
Posts: 78251
Joined: Sat Feb 07, 2009 10:11 am

Re: DS1307 Clock not Working

by khanqueso on Mon May 19, 2014 8:57 pm

I scrubbed with 70% IPA for a minute and it works!

Thank you for the help!
khanqueso
 
Posts: 5
Joined: Wed May 07, 2014 3:44 pm

Re: DS1307 Clock not Working

by timrossiter on Sat Jul 12, 2014 11:16 pm

I am trying to use this on a Pi. I don't see my device (0x68) with i2cdetect. I am pretty sure that the Pi is configured for I2C since I have used I2C to communicate with Arduino.

timrossiter
 
Posts: 2
Joined: Mon Jul 29, 2013 1:27 pm

Re: DS1307 Clock not Working

by adafruit_support_rick on Sun Jul 13, 2014 9:40 am

timrossiter wrote:I don't see my device (0x68) with i2cdetect.

Please post clear, detailed pictures of the DS1307, showing your soldering. Also post pictures showing your connections to the Pi

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: DS1307 Clock not Working

by timrossiter on Mon Jul 14, 2014 8:50 am

adafruit_support_rick, While waiting for my wife's camera. I did something unusual I read the documentation. Clipped the resisters and bingo I2C.. Your support team may be the best but they can't fix a user how don't listen(read). All the best. Tim

timrossiter
 
Posts: 2
Joined: Mon Jul 29, 2013 1:27 pm

Re: DS1307 Clock not Working

by adafruit_support_rick on Mon Jul 14, 2014 12:12 pm

cool!

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.