after five months the clock is early 30 minutes


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Pedro Pinto's Avatar
    Pedro Pinto Guest

    Default after five months the clock is early 30 minutes

    Hello

    In my board i use a RTC DS1307Z with a PIC 18F4520 and after five months
    the clock is early 30 minutes. What can be the Problem and what can i do to fix that.

    Best regards
    Pedro

    after five months the clock is early 30 minutes

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    From the data sheet...
    CLOCK ACCURACY
    The accuracy of the clock is dependent upon the accuracy of the crystal and the accuracy of the match between
    the capacitive load of the oscillator circuit and the capacitive load for which the crystal was trimmed. Additional
    error will be added by crystal frequency drift caused by temperature shifts. External circuit noise coupled into the
    oscillator circuit may result in the clock running fast.
    Refer to Application Note 58: Crystal Considerations with
    Dallas Real-Time Clocks for detailed information.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    well, assuming it's on a PCB, you could do some software trick like correcting the seconds, or minute each day or every months to compensate it... probably another silly idea though
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. example code for DS1337
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 8th December 2009, 21:16
  2. Virtual LED Clock For Windows By Trent Jackson
    By T.Jackson in forum Code Examples
    Replies: 8
    Last Post: - 10th November 2009, 08:20
  3. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  4. Freeze the communication after 30 minutes
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd May 2009, 07:46
  5. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36

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