Real time clock ICs


Results 1 to 40 of 67

Threaded View

  1. #36
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I have downloaded the MN1307 program from the MeLabs website.

    I have breadboarded the hardware and wired it per instructions with the exception that I've wired the LCD using DB4 thru 7 rather than DB0 thru 3.

    I have run the program.

    I have verified that it works as advertised.

    I have posted proof here that it works. I have an MPEG video of it ticking away... you want me to email that you?

    I don't post programs that don't work.

    Now your problem...

    It doesn't tick, then the software is just a simple loop that reads the RTC and displays the results on the LCD... this means your RTC isn't working. Also, if on initial first-time power-up it doesn't immediately jump into set-up, then that tells me the RTC isn't communicating with the PIC.

    so...

    1. Verify that SCL and SDA are wired correctly and you haven't swapped them over and you've not got any shorts.

    2. Make sure you have pull-up Resistors on those pins. 10K will work, 4K7 with hindsight is probably better.

    3. Make sure you have a Battery Connected.

    4. If you haven't got a Battery, then connect the Battery pin to Vss.

    5. Make sure your 32kHz Crystal is connected - and it's a good one. Steal one from your average genuine 99-cent Rolex wristwatch if you have any problems.

    6. Ensure you have a good RTC chip.

    If it still doesn't work, go back to step 1 and start over.

    ...i'll pass a whooooooole month in the Carribean!
    Hurry back, because we're all going to miss you when you're gone...
    Attached Images Attached Images  

Similar Threads

  1. real time clock
    By maria in forum Code Examples
    Replies: 44
    Last Post: - 1st March 2022, 12:13
  2. Real Time Clock
    By in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd June 2012, 04:52
  3. real time clock - PCF8583
    By maria in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 15th April 2010, 15:41
  4. Real Time Clock
    By savnik in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th December 2006, 02:02
  5. Real time clock... what a headache!
    By Eng4444 in forum mel PIC BASIC
    Replies: 2
    Last Post: - 8th June 2006, 21:56

Members who have read this thread : 1

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