DS1307 problems
Porter
Posts: 9
I'm trying to build a data logger using the DS1307 I2C real time clock.
I cannot get the crystal to run. Tried two crystals Digikey 300-1001-nd.
I have the 3.3 volt battery installed. with the right polarity.
I send the correct commands (oscope and decoded) to set the clock but it does not appear to run.
When trying to read the time I get all ones back.
I have scoped the I2C signals writing to the RTC and they appear to decode correctly.
When trying to read it they are set like it's not responding.
Any ideas on how to get the clock running or get the chip to talk back to me.
I've looked the other posts most people had luck with trying another crystal "not so I"
I cannot get the crystal to run. Tried two crystals Digikey 300-1001-nd.
I have the 3.3 volt battery installed. with the right polarity.
I send the correct commands (oscope and decoded) to set the clock but it does not appear to run.
When trying to read the time I get all ones back.
I have scoped the I2C signals writing to the RTC and they appear to decode correctly.
When trying to read it they are set like it's not responding.
Any ideas on how to get the clock running or get the chip to talk back to me.
I've looked the other posts most people had luck with trying another crystal "not so I"
Comments
BTW ... if you've built the circuit onto a breadboard, that could be affecting the circuit.· Breadboards add a lot of stray capacitance.· In the past I have soldered crystals directly to the chip and made sure the X pins do not get inserted into the breadboard.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester?
http://hometown.aol.com/newzed/index.html
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester?
http://hometown.aol.com/newzed/index.html
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Are you using pull up resistors (4k7) on SCL and SDA?
The I2C bus will do nothing without them.
Success,
Klaus
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA