DS1904 RTC - How to Convert Binary Time into Real Time/Date?


Results 1 to 8 of 8

Threaded View

  1. #4
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Sorry

    I should have been more clear. I ment to say the 32 bit number represents the number of seconds since you sent it the command to reset the count, AND turn the OSC on. This thing looks to be a 32 bit counter, with each bit representing 1 second. I am not sure if it can be pre-set, or if you just have to know what time it is when you turn the OSC on.

    EDIT: Went back and read the datasheet again, yes you can write current time data to it. The most important thing is to realize it is all referenced to some known time. It just gives the number of seconds since then. I don't understand how it can be "syncronized" with the PC clock, this implies both use a reference system and they are the same
    Last edited by cncmachineguy; - 27th November 2010 at 15:39.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

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