Any Back-Up battery attached to this DS1307?
Any Pull-Up on SDA and SCL pins?Originally Posted by DS 1307 datasheet
Any Back-Up battery attached to this DS1307?
Any Pull-Up on SDA and SCL pins?Originally Posted by DS 1307 datasheet
Last edited by mister_e; - 4th February 2007 at 23:03.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi jcleaver,
Do you have your RTC variables declared in your program? Look on page 2 or the Project MN1307 program about 1/2 way down.
Also do you have a statement "RTCSec.7 = 0". You need this to start the clock running. The clock chip powers up with RTCSec.7 = 1 which turns the osc off.
Your program could be returning the errors if you don't have the clock variables declared. Guessing at this point.
I see you have several segments to your program. You should take each one step by step. First get your LCD working. Something like a "Hello World". Then get the A/D portion working. Then add the clock program.
HTH,
BobK
was the bat conn not grounded appreicate all your help getting this going
thanks again
that solved the problem of everything going to 02 but the clock is still not running i am sending $00 to secs on inital start up do have pullup on scl and sda so i guess im not as far along as i thought
think i got it circuit board problem i hope
again thanks now i just have to add temp and i got this one done
let you know
Bookmarks