8583 rtc date problem


Results 1 to 5 of 5

Threaded View

  1. #1

    Default 8583 rtc date problem

    Hi everyone,

    I'm dutch so please forgive me my englisch. I've programmed a working rtc 8583 but I've still got one problem in my coding. Time (h,m,s) are working fine and
    adjusting them also. The problem is in de date (d,m,y). I'm reading 05 for the
    days and 06 for the months what should be good I think. Now comes the strange thing. My days are going like 1,2,2,3,4 etc. So day three is missing and has become a 2. The rest of the days are working fine, but if the daycounter comes on 30 the counting stops and nothing is going upwards. I've tryed a lot of things, but I cant find what I'm doing wrong in my coding.I hope some of you see what I'm doing wrong. The only thing I can think of is that is must set register 00 bit 3 to 1 so that read date and month are directly, but I dont kwow how.

    I also cant figure out is how to include the yearcounting. The years are in 4 so
    ready for every leapyear. How must I set this rigister.

    Ps everything is on a 16F628A and a 4x20 lcd.

    Here's my coding (dutch)
    Attached Files Attached Files

Similar Threads

  1. PIC 16F877 I2C communications
    By sigmoideng in forum General
    Replies: 7
    Last Post: - 13th July 2007, 10:28
  2. X1226 RTC - Help
    By charudatt in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th August 2006, 17:54
  3. RTC Problem
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th March 2006, 05:13
  4. Pcf 8583
    By srspinho in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th February 2006, 19:41
  5. RTC date problem
    By Peder in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 19th January 2006, 12:33

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