ds 1307


Closed Thread
Results 1 to 15 of 15

Thread: ds 1307

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Any Back-Up battery attached to this DS1307?
    Quote Originally Posted by DS 1307 datasheet
    Backup Supply Input for Any Standard 3V Lithium Cell or Other Energy Source. Battery
    voltage must be held between the minimum and maximum limits for proper operation.
    Diodes in series between the battery and the VBAT pin may prevent proper operation. If a
    backup supply is not required, VBAT must be grounded.
    Any Pull-Up on SDA and SCL pins?
    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.

  2. #2
    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

  3. #3


    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

  4. #4


    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

  5. #5


    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, 18:03
  2. Need help PIC 18F2550 with DS 1302
    By christina86 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 28th December 2007, 01:05
  3. ds 1307
    By jcleaver in forum mel PIC BASIC
    Replies: 2
    Last Post: - 30th June 2007, 12:28
  4. ds 1307 revisted
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 17th February 2007, 14:10
  5. DS 1620 Code example?
    By G-R-C in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th September 2006, 02: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