Shop OBEX P1 Docs P2 Docs Learn Events
Ultralink Atomic Time Clock — Parallax Forums

Ultralink Atomic Time Clock

ArchiverArchiver Posts: 46,084
edited 2000-07-12 19:36 in General Discussion
Easy question for some of you out there! I've been playing around with the
Ultralink Atomic Time Clock board for a couple of weeks now and seem to be
having a problem! I downloaded the sample code from ulio.com for the BS2,
which I'm using. The clock locks on to a signal and displays time OK to my
Scott Edwards 4x20 display. Now for the problem part. I would like to
change the hours displayed to my local time. How do I adjust the time
displayed from "UTC" to Central Standard Time. I noticed that Rod Mack from
Ulio the manufacturer of the time clock board, wrote some sort of loop to
write each character displayed on the LCD in sequence. Also the fact that he
is using "packed BCD" as a format. How do I modify or subtract five hours
from the UTC signal sent from Fort Collins, CO that is received by my time
clock board. Thanks in advance, Rob, fiveslo@a...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-12 14:26
    Rob: I encountered the same problem, as I wanted to see the time in
    my own time zone (as opposed to UTC). I also wanted to automatically
    make the switch from daylight to standard time, and visa-versa.

    I developed some additional code to convert the UTC time to local
    time, modify the day number (if the time change caused the time to
    revert to the previous day), and to make the change from daylight
    savings to standard time. Once I figured out extract the BCD info
    and make the conversion it was fairly straightforward.

    If you e-mail me I will gladly forward the code to you !

    Chuck Bushman


    --- In basicstamps@egroups.com, fiveslo@a... wrote:
    > Easy question for some of you out there! I've been playing around
    with the
    > Ultralink Atomic Time Clock board for a couple of weeks now and
    seem to be
    > having a problem! I downloaded the sample code from ulio.com for
    the BS2,
    > which I'm using. The clock locks on to a signal and displays time
    OK to my
    > Scott Edwards 4x20 display. Now for the problem part. I would
    like to
    > change the hours displayed to my local time. How do I adjust the
    time
    > displayed from "UTC" to Central Standard Time. I noticed that Rod
    Mack from
    > Ulio the manufacturer of the time clock board, wrote some sort of
    loop to
    > write each character displayed on the LCD in sequence. Also the
    fact that he
    > is using "packed BCD" as a format. How do I modify or subtract
    five hours
    > from the UTC signal sent from Fort Collins, CO that is received by
    my time
    > clock board. Thanks in advance, Rob, fiveslo@a...
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-12 14:26
    Rob: I encountered the same problem, as I wanted to see the time in
    my own time zone (as opposed to UTC). I also wanted to automatically
    make the switch from daylight to standard time, and visa-versa.

    I developed some additional code to convert the UTC time to local
    time, modify the day number (if the time change caused the time to
    revert to the previous day), and to make the change from daylight
    savings to standard time. Once I figured out extract the BCD info
    and make the conversion it was fairly straightforward.

    If you e-mail me I will gladly forward the code to you !

    Chuck Bushman


    --- In basicstamps@egroups.com, fiveslo@a... wrote:
    > Easy question for some of you out there! I've been playing around
    with the
    > Ultralink Atomic Time Clock board for a couple of weeks now and
    seem to be
    > having a problem! I downloaded the sample code from ulio.com for
    the BS2,
    > which I'm using. The clock locks on to a signal and displays time
    OK to my
    > Scott Edwards 4x20 display. Now for the problem part. I would
    like to
    > change the hours displayed to my local time. How do I adjust the
    time
    > displayed from "UTC" to Central Standard Time. I noticed that Rod
    Mack from
    > Ulio the manufacturer of the time clock board, wrote some sort of
    loop to
    > write each character displayed on the LCD in sequence. Also the
    fact that he
    > is using "packed BCD" as a format. How do I modify or subtract
    five hours
    > from the UTC signal sent from Fort Collins, CO that is received by
    my time
    > clock board. Thanks in advance, Rob, fiveslo@a...
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-12 14:26
    Rob: I encountered the same problem, as I wanted to see the time in
    my own time zone (as opposed to UTC). I also wanted to automatically
    make the switch from daylight to standard time, and visa-versa.

    I developed some additional code to convert the UTC time to local
    time, modify the day number (if the time change caused the time to
    revert to the previous day), and to make the change from daylight
    savings to standard time. Once I figured out extract the BCD info
    and make the conversion it was fairly straightforward.

    If you e-mail me I will gladly forward the code to you !

    Chuck Bushman


    --- In basicstamps@egroups.com, fiveslo@a... wrote:
    > Easy question for some of you out there! I've been playing around
    with the
    > Ultralink Atomic Time Clock board for a couple of weeks now and
    seem to be
    > having a problem! I downloaded the sample code from ulio.com for
    the BS2,
    > which I'm using. The clock locks on to a signal and displays time
    OK to my
    > Scott Edwards 4x20 display. Now for the problem part. I would
    like to
    > change the hours displayed to my local time. How do I adjust the
    time
    > displayed from "UTC" to Central Standard Time. I noticed that Rod
    Mack from
    > Ulio the manufacturer of the time clock board, wrote some sort of
    loop to
    > write each character displayed on the LCD in sequence. Also the
    fact that he
    > is using "packed BCD" as a format. How do I modify or subtract
    five hours
    > from the UTC signal sent from Fort Collins, CO that is received by
    my time
    > clock board. Thanks in advance, Rob, fiveslo@a...
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-12 14:26
    Rob: I encountered the same problem, as I wanted to see the time in
    my own time zone (as opposed to UTC). I also wanted to automatically
    make the switch from daylight to standard time, and visa-versa.

    I developed some additional code to convert the UTC time to local
    time, modify the day number (if the time change caused the time to
    revert to the previous day), and to make the change from daylight
    savings to standard time. Once I figured out extract the BCD info
    and make the conversion it was fairly straightforward.

    If you e-mail me I will gladly forward the code to you !

    Chuck Bushman


    --- In basicstamps@egroups.com, fiveslo@a... wrote:
    > Easy question for some of you out there! I've been playing around
    with the
    > Ultralink Atomic Time Clock board for a couple of weeks now and
    seem to be
    > having a problem! I downloaded the sample code from ulio.com for
    the BS2,
    > which I'm using. The clock locks on to a signal and displays time
    OK to my
    > Scott Edwards 4x20 display. Now for the problem part. I would
    like to
    > change the hours displayed to my local time. How do I adjust the
    time
    > displayed from "UTC" to Central Standard Time. I noticed that Rod
    Mack from
    > Ulio the manufacturer of the time clock board, wrote some sort of
    loop to
    > write each character displayed on the LCD in sequence. Also the
    fact that he
    > is using "packed BCD" as a format. How do I modify or subtract
    five hours
    > from the UTC signal sent from Fort Collins, CO that is received by
    my time
    > clock board. Thanks in advance, Rob, fiveslo@a...
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-12 19:36
    >I would like to
    >change the hours displayed to my local time. How do I adjust the time
    >displayed from "UTC" to Central Standard Time. I noticed that Rod Mack
    from
    >Ulio the manufacturer of the time clock board, wrote some sort of loop to
    >write each character displayed on the LCD in sequence. Also the fact that
    he
    >is using "packed BCD" as a format. How do I modify or subtract five
    hours
    >from the UTC signal sent from Fort Collins, CO that is received by my time

    >clock board. Thanks in advance, Rob, fiveslo@a...


    There are some date/time routines that may help at
    http://emesystems.com/BS2math4.htm#JulianDate

    -- Tracy
Sign In or Register to comment.