ds 1307


Closed Thread
Results 1 to 15 of 15

Thread: ds 1307

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    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

  2. #2


    Did you find this post helpful? Yes | No

    Default ty

    was the bat conn not grounded appreicate all your help getting this going
    thanks again

  3. #3


    Did you find this post helpful? Yes | No

    Default ?

    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

  4. #4


    Did you find this post helpful? Yes | No

    Default working

    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

Similar Threads

  1. 1307 RTC accuracy?
    By amgen in forum General
    Replies: 16
    Last Post: - 6th October 2008, 19:03
  2. Need help PIC 18F2550 with DS 1302
    By christina86 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 28th December 2007, 02:05
  3. ds 1307
    By jcleaver in forum mel PIC BASIC
    Replies: 2
    Last Post: - 30th June 2007, 13:28
  4. ds 1307 revisted
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 17th February 2007, 15:10
  5. DS 1620 Code example?
    By G-R-C in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th September 2006, 03:45

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts