DS1307 – first glance

No Comments

I tried wireing the ds1307 RTC IC from dallas up that i got as a sample from maxim, with a little help from the datasheet i connected all the pins to the correct connectections, but nothing happend, the samplecode found at http://www.glacialwanderer.com/hobbyrobotics/?p=12 showed me at first 00:00:00 as output.

  • Tip1:connect vbat to gnd if not using a battery.

Then the output changed, now the serial console outputted the time i had set in the code, but the clock wasnt runing, it never changed.

  • Tip2:connect a LED with a 220 ohm resistor to the square wave pin on the IC(see datasheet for details) This will give you a 1 hz blink if the chip is working.

Im my setup it DIDNT blink.

Now im just waiting for the correct crystal to arrive before i can continue working with this component.

Im continuing the use of my ibutton RTC, which has integrated crystal and battery for easy usage.

Link to the arduino forum post

Leave a Reply