Real Time Clock & Eeprom


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Question thanks alot

    MR. sayzer

    i don't know how i can thank u for great explanation
    both in first and second posts

    so i said using equations solve all the problems
    but it's very difficult not only in PIC but also using PC

    so let's stay at the table solution


    for now i hope MELANIE understand the problem

    as for MR.sayzer when i said 1 min this is because this ensure

    that two times will identical at some time

    because the change is in minutes

    so i hope that some one can help

    excuse me but if there is no problem please don't use the RTC DS1302

    or any other RTC because in our country we can't find those real time clocks

    so i Prefer the programming solution for the clock

    another thing you are talking with PICBASIC beginer

    this is as for me

    i hope mr.sayzer still with us to help

    thanks for this special forum

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Cool

    smart_storm,

    Pls provide more details.

    How/from where do you want to get the time? If you do not want to use RTC, will you receive the time from a PC or from somewhere else?

    Since the minutes are very important for prayer times, if you use classic programming to make a clock generator, it will not be as precise as an RTC, and the timer will either run faster or slower. Eventually you will end up with at least 1-hour faster running timer in one day.

    I understand your difficulty of finding RTC chips, but I suggest that you try your best to find an RTC chip somehow. That would be the best solution for a precise time matching.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    smart_storm,

    I posted some amazingly short and simple code in the “Examples Section” that will keep accurate time without the use of an RTC (within 2 seconds per day – same as with RTC). The code could easily be modified to keep track of days and you could easily add your lookup table.

    See

    http://www.picbasic.co.uk/forum/showthread.php?t=2129


    Good Luck

    Paul Borgmeier
    Salt Lake City, Utah
    USA

  4. #4


    Did you find this post helpful? Yes | No

    Question thanks

    thank u MR.Paul Borgmeier for your help
    i'll see your post

    as for MR.sayzer can Paul Borgmeier program help me or not

    if it's neccesary use RTC i will try but i don't sure i can

    any way can we modified the code to do what we need

    also if there is no RTC i don't care if we lose 2sec/day "this is only for me as starting point"

    right now i don't see the code

    i hope MR.sayzer see it and said to me your opinion

    again thanks for all to care of my ques

    sorry for my bad english
    Last edited by smart_storm; - 17th February 2006 at 19:06.

Similar Threads

  1. Real Time Clock
    By in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd June 2012, 04:52
  2. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  3. Real time clock ICs
    By Eng4444 in forum mel PIC BASIC Pro
    Replies: 66
    Last Post: - 20th October 2008, 16:05
  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 : 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