Shop OBEX P1 Docs P2 Docs Learn Events
clock feature — Parallax Forums

clock feature

ArchiverArchiver Posts: 46,084
edited 2004-05-23 22:12 in General Discussion
I need to make a lapse time circuit with BS2, could some one help me
with the circuit and the code to be use?
I think I need to use a rc time circuit and a pulsin command base
code... The result has to be acummulated in a variable and the
result to be seen in a lcd display.
Thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-05-23 18:28
    --- In basicstamps@yahoogroups.com, "grivacoba" <grivacoba@y...>
    wrote:
    > I need to make a lapse time circuit with BS2, could some one help
    me
    > with the circuit and the code to be use?
    > I think I need to use a rc time circuit and a pulsin command base
    > code... The result has to be acummulated in a variable and the
    > result to be seen in a lcd display.
    > Thanks


    There are a few differences in the types of timers that are used.

    A timer that is based on chip clock cycles or program clock cycles
    can be effected by changes in the program. ie: if you add another
    loop or change different things in the program the timing can change.

    Not a problem, just something you need to be aware of.

    There are also external pulse generators and real time clocks.

    A real time clock like the DS1302 can offer seconds, minutes,
    hours.... so you can use that to have some time reference for your
    program.


    Dave

    Real time clocks....
    512K plug-in EEPROM.......
    http://www.visualmuses.com/chipcircuit/index.html
  • ArchiverArchiver Posts: 46,084
    edited 2004-05-23 18:52
    we need to know a little more.

    are you talking second, hours, days?

    --- In basicstamps@yahoogroups.com, "grivacoba" <grivacoba@y...>
    wrote:
    > I need to make a lapse time circuit with BS2, could some one help
    me
    > with the circuit and the code to be use?
    > I think I need to use a rc time circuit and a pulsin command base
    > code... The result has to be acummulated in a variable and the
    > result to be seen in a lcd display.
    > Thanks
  • ArchiverArchiver Posts: 46,084
    edited 2004-05-23 22:12
    Steve <weedle69@y...> wrote:
    we need to know a little more.

    are you talking second, hours, days?

    --- In basicstamps@yahoogroups.com, "grivacoba"
    wrote:
    > I need to make a lapse time circuit with BS2, could some one help
    me
    > with the circuit and the code to be use?
    > I think I need to use a rc time circuit and a pulsin command base
    > code... The result has to be acummulated in a variable and the
    > result to be seen in a lcd display.
    > Thanks




    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.

    Yahoo! Groups Links





    I need to messure time to branch to a subroutine when a specific event happen. This event could happen in 3 minutes up to 3 hours, but not more than 6. It will be a nice feature if the real time could be also displayed. In other words I try to have a timer that will triger an event after n minutes or hours automatically, and will be nice to see real time to see the current time.

    Thanks



    Do you Yahoo!?
    Yahoo! Domains - Claim yours for only $14.70/year

    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.