Shop OBEX P1 Docs P2 Docs Learn Events
Keeping Time — Parallax Forums

Keeping Time

ArchiverArchiver Posts: 46,084
edited 2002-11-25 17:48 in General Discussion
Is it possible to use a 555timer to create a clock (hr[noparse]:min:[/noparse]sec) with
the BS2p? I have found some BS1 code using a 74HCT4060, but still
trying to obtain such an IC. Sample code or any other method of
keeping time will be helpful.

Thanks - Mark Pascual

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-11-12 05:18
    If you're going to hook-up a 555, you might as well spring for a PCF8583 and
    get a full real-time clock. The PCF8583 has a 1-Hz output that can be used
    or you can simply poll the time and deal with it that way.

    You can find code samples for the PCF8583 on our web site, as well as the
    chip itself.

    -- Jon Williams
    -- Parallax


    In a message dated 11/11/02 10:54:37 PM Central Standard Time,
    engrmaps@y... writes:


    > Is it possible to use a 555timer to create a clock (hr[noparse]:min:[/noparse]sec) with
    > the BS2p? I have found some BS1 code using a 74HCT4060, but still
    > trying to obtain such an IC. Sample code or any other method of
    > keeping time will be helpful.
    >
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-25 01:18
    Is there any updated code for the PCF8583 using the BS2p? The
    sample code on the Parallax site does not display the time that is
    put in by the user, neither does is it increment the time.

    Thank You In Advance,
    Anthony
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-25 02:07
    I think you need to check your circuit connections. As a test, I downloaded
    the code from our web site right into my editor and it ran fine.

    -- Jon Williams
    -- Parallax

    In a message dated 11/24/02 7:20:01 PM Central Standard Time,
    engrmaps@y... writes:


    > Is there any updated code for the PCF8583 using the BS2p? The
    > sample code on the Parallax site does not display the time that is
    > put in by the user, neither does is it increment the time.
    >
    > Thank You In Advance,
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-25 10:19
    I have made the long version software work, but the short version definitely
    has errors.

    Regards,

    Dwain
    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, November 25, 2002 1:07 PM
    Subject: Re: [noparse][[/noparse]basicstamps] RE: Keeping Time


    > I think you need to check your circuit connections. As a test, I
    downloaded
    > the code from our web site right into my editor and it ran fine.
    >
    > -- Jon Williams
    > -- Parallax
    >
    > In a message dated 11/24/02 7:20:01 PM Central Standard Time,
    > engrmaps@y... writes:
    >
    >
    > > Is there any updated code for the PCF8583 using the BS2p? The
    > > sample code on the Parallax site does not display the time that is
    > > put in by the user, neither does is it increment the time.
    > >
    > > Thank You In Advance,
    > >
    >
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-25 14:39
    Dwain:

    If you could be a bit more specific about which code is not working for you
    and I will check it out. What is the name of the program that you're having
    problems with? It should be dated. What is that date?

    It's my job to write that code and I'm very careful with it. I am human,
    though, and there could be an error. If there is, I will correct it. The
    PCF8583 code that is available on the Plus Pack page (part of a ZIP file)
    does, in fact, work without modification. I verified that last night.

    Regards.

    -- Jon Williams
    -- Parallax


    In a message dated 11/25/02 4:20:28 AM Central Standard Time,
    asdfghjk@b... writes:


    > I have made the long version software work, but the short version definitely
    > has errors.
    >
    > Regards,
    >
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-25 17:48
    John,

    I will find the info that u want and let you know thisafternoon (my time).
    Trust me I wasn't having a dig, GOD KNOWS MOST OF WHAT I AM WRITING IS FULL
    OF BUGS, and I am only working at a very rudimentary level, I thought I
    could help out as I have been working with that clock stuff for a few weeks
    now, and have had some ups and downs.

    Regards,

    Dwain.
    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, November 26, 2002 1:39 AM
    Subject: Re: [noparse][[/noparse]basicstamps] RE: Keeping Time


    > Dwain:
    >
    > If you could be a bit more specific about which code is not working for
    you
    > and I will check it out. What is the name of the program that you're
    having
    > problems with? It should be dated. What is that date?
    >
    > It's my job to write that code and I'm very careful with it. I am human,
    > though, and there could be an error. If there is, I will correct it. The
    > PCF8583 code that is available on the Plus Pack page (part of a ZIP file)
    > does, in fact, work without modification. I verified that last night.
    >
    > Regards.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    > In a message dated 11/25/02 4:20:28 AM Central Standard Time,
    > asdfghjk@b... writes:
    >
    >
    > > I have made the long version software work, but the short version
    definitely
    > > has errors.
    > >
    > > Regards,
    > >
    > >
    >
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
Sign In or Register to comment.