Are you sure you have a fresh battery installed in the DS1307? Did you add a little blob of solder to the battery contact pad?
With the jumper in the USB position, as you have it, the power to the boarduino is coming from the FTDI, so that's why it stops working when you remove the FTDI. The power LED should go out.
Setting The Time On DS1307
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
-
- Posts: 29
- Joined: Tue Jul 29, 2014 9:15 am
Re: Setting The Time On DS1307
Yup. There is a new battery in it. Also added the blob of solder.
That explains the power going off when I remove the FTDI. But does't explain that when I put it on the PWR setting the neo pixel ring turns on but doesn't show the ticking LED that was just working when FTDI was connected.
Is there something else I need to do to make the sketch/program persist when I switch it over to PWR?
That explains the power going off when I remove the FTDI. But does't explain that when I put it on the PWR setting the neo pixel ring turns on but doesn't show the ticking LED that was just working when FTDI was connected.
Is there something else I need to do to make the sketch/program persist when I switch it over to PWR?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Setting The Time On DS1307
Actually, the two positions are USB and EXT, not SEL and PWR. USB switches power to the FTDI Friend, EXT switches to the external power supply (barrel jack). Do you have an external supply connected when the jumper is in the EXT position?
-
- Posts: 29
- Joined: Tue Jul 29, 2014 9:15 am
Re: Setting The Time On DS1307
Yes. I have a 5V/2000 mA adapter connected. It works fine now on USB except for being 25 minutes slow (I think) so the time does not set correctly under USB connection.adafruit_support_rick wrote:Do you have an external supply connected when the jumper is in the EXT position?
When I switch over to EXT position all of the LED's on the neo pixel ring light up from red to green to blue at the startup sequence and then 11 of them light blue and the rest a darker blue. The "tick" doesn't happen at all and they just stay like that.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Setting The Time On DS1307
The 25 minutes slow thing makes no sense at all. Are you sure your computer's time is set right?motionpotion wrote:t works fine now on USB except for being 25 minutes slow (I think) so the time does not set correctly under USB connection.
That also makes no sense. Can you post the code you're using for this clock?motionpotion wrote:When I switch over to EXT position all of the LED's on the neo pixel ring light up from red to green to blue at the startup sequence and then 11 of them light blue and the rest a darker blue. The "tick" doesn't happen at all and they just stay like that.
-
- Posts: 29
- Joined: Tue Jul 29, 2014 9:15 am
Re: Setting The Time On DS1307
I agree. It makes no sense in either case. I've been trying to get this working for so long now that it is a puzzle worth solving now.
Uploading some additional photos of it working on USB with wrong time. And with various shades of blue/turquoise coloured lights when connected to EXT. [I also have a video of it working via USB - Is there a way to upload video?]
Uploading some additional photos of it working on USB with wrong time. And with various shades of blue/turquoise coloured lights when connected to EXT. [I also have a video of it working via USB - Is there a way to upload video?]
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Setting The Time On DS1307
For external power, you need 7v-12v. The voltage regulator needs a bit of headroom to regulate properly.Yes. I have a 5V/2000 mA adapter connected
-
- Posts: 29
- Joined: Tue Jul 29, 2014 9:15 am
Re: Setting The Time On DS1307
Just so I understand this ... the voltage regulator is not used when connected via USB (which gives less than 5V)?adafruit_support_bill wrote:The voltage regulator needs a bit of headroom to regulate properly.
Where could I buy get a barrel charger that produces between 7-12v? I have a 10v iPhone/iPad charger but that only has a USB connection.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Setting The Time On DS1307
Right - USB is assumed to be regulated 5V, so it bypasses the voltage regulator.
We have 9V supplies here:
https://www.adafruit.com/product/276
We have 9V supplies here:
https://www.adafruit.com/product/276
-
- Posts: 29
- Joined: Tue Jul 29, 2014 9:15 am
Re: Setting The Time On DS1307
I got an adjustable power adapter. When I put it on 9 volts the clock works fine. Any less & clock seems unpredictable.
Thank you for your help & patience.
Thank you for your help & patience.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Setting The Time On DS1307
You're welcome!
Please be positive and constructive with your questions and comments.