Rtc


Closed Thread
Results 1 to 4 of 4

Thread: Rtc

  1. #1
    sonic's Avatar
    sonic Guest

    Question Rtc

    HI TO EVERYONE!

    I HAVE SOME PROBLEMS USING RTC - PCF 8583 BY PHILIPS.

    .. OK, THE TIME IS RUNNING, THAT`S OK, BUT HOW TO SET THE TIME, AND HOW TO DO SOMETHING AT THE SPECIFIC TIME I CHOOSE?

    FOR EXAMPLE: TO READ THE TEMPERATURE EVERY 1 HOUR AND STORE THE RESULT ON 24 LC 512 SEEPROM.

    THANX A LOT!

    REGARDS

  2. #2
    Join Date
    Apr 2004
    Posts
    34


    Did you find this post helpful? Yes | No

    Exclamation Rtc alarm

    Hi,

    I'd like to add something related.
    I'm also looking to create some kind of clock system.
    Purpose is to switch on/off some outputs at a give date and time.
    e.g. switch on PORTB.0 at 12:30 and switch of at 12:45
    If possible with multiple events per day kinda like a heating control (different switch events per day)

    Does somebody know where to find this code or a way to get started?

    Thank you

    Regards

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I have posted a sample program (seriously overkill but it was deliberately written as an example) on the MeLabs website for the DS1307 RTC...

    http://www.melabs.com/resources/samp...ted/MN1307.txt

    It allows you to Set the Time and Date, verifies for silly user entries (eg 31st of February), accounts for leap years, works out the Day of the Week, plays in 12 or 24 hour mode and makes Coffee...

    OK... so I lied about the Coffee...

    Melanie

  4. #4
    sonic's Avatar
    sonic Guest


    Did you find this post helpful? Yes | No

    Wink hi

    Thank u Mel.

    I`ll try to apply this on pcf 8583.

    If I want to make something like a DATA LOGGER, I must set the time..Don`t you think?


    Regards

Similar Threads

  1. Low battery signal from an RTC
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th March 2008, 17:13
  2. PIC 16F877 I2C communications
    By sigmoideng in forum General
    Replies: 7
    Last Post: - 13th July 2007, 10:28
  3. Using RTC to generate long time delays
    By schlaray in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd January 2007, 00:31
  4. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07
  5. X1226 RTC - Help
    By charudatt in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th August 2006, 17:54

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