Shop OBEX P1 Docs P2 Docs Learn Events
Turn on a led for two minutes each 13 minutes all day long(using BS2) — Parallax Forums

Turn on a led for two minutes each 13 minutes all day long(using BS2)

ArchiverArchiver Posts: 46,084
edited 2003-04-28 14:39 in General Discussion
Hi,
I am tring to use the BS2 to turn on a led during
15 minute (2 minutes on and 13 minutes off) all
day long using a simple code (with pauses, low,
high...comands)

I started at 13:00:00 but, four hours later
the led turn on at 13:00:05 (5 seconds later)

I thought that BS2 is exact. But I can't use
it like a clock.

Thanks, Joe

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-04-27 15:14
    There is a Parallax app note on their web site using a 32 khz xtal and a
    divider chip to get accurate timing .

    At 03:28 PM 4/26/2003 -0700, you wrote:
    > Hi,
    > I am tring to use the BS2 to turn on a led during
    > 15 minute (2 minutes on and 13 minutes off) all
    > day long using a simple code (with pauses, low,
    > high...comands)
    >
    > I started at 13:00:00 but, four hours later
    > the led turn on at 13:00:05 (5 seconds later)
    >
    > I thought that BS2 is exact. But I can't use
    > it like a clock.
    >
    > Thanks, Joe
    >
    >__________________________________
    >Do you Yahoo!?
    >The New Yahoo! Search - Faster. Easier. Bingo.
    >http://search.yahoo.com
    >
    >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/

    Larry Bradley
    Orleans (Ottawa), Ontario, CANADA
  • ArchiverArchiver Posts: 46,084
    edited 2003-04-27 15:30
    What about using a clock chip? you would just need to see if the time has
    passed, and if so process the logic??


    Leroy

    Original Message
    From: "Larry Bradley" <lhbradley@i...>
    To: <basicstamps@yahoogroups.com>
    Sent: Sunday, April 27, 2003 10:14 AM
    Subject: Re: [noparse][[/noparse]basicstamps] Turn on a led for two minutes each 13 minutes all day
    long(using BS2)


    : There is a Parallax app note on their web site using a 32 khz xtal and a
    : divider chip to get accurate timing .
    :
    : At 03:28 PM 4/26/2003 -0700, you wrote:
    : > Hi,
    : > I am tring to use the BS2 to turn on a led during
    : > 15 minute (2 minutes on and 13 minutes off) all
    : > day long using a simple code (with pauses, low,
    : > high...comands)
    : >
    : > I started at 13:00:00 but, four hours later
    : > the led turn on at 13:00:05 (5 seconds later)
    : >
    : > I thought that BS2 is exact. But I can't use
    : > it like a clock.
    : >
    : > Thanks, Joe
    : >
    : >__________________________________
    : >Do you Yahoo!?
    : >The New Yahoo! Search - Faster. Easier. Bingo.
    : >http://search.yahoo.com
    : >
    : >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/
    :
    : Larry Bradley
    : Orleans (Ottawa), Ontario, CANADA
    :
    :
    : 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 2003-04-28 14:24
    And the app note is on page....?
    (either nav instructions, or a web-site link would
    be very kind.)

    --- In basicstamps@yahoogroups.com, Larry Bradley <lhbradley@i...>
    wrote:
    > There is a Parallax app note on their web site using a 32 khz xtal
    and a
    > divider chip to get accurate timing .
    >
    > At 03:28 PM 4/26/2003 -0700, you wrote:
    > > Hi,
    > > I am tring to use the BS2 to turn on a led during
    > > 15 minute (2 minutes on and 13 minutes off) all
    > > day long using a simple code (with pauses, low,
    > > high...comands)
    > >
    > > I started at 13:00:00 but, four hours later
    > > the led turn on at 13:00:05 (5 seconds later)
    > >
    > > I thought that BS2 is exact. But I can't use
    > > it like a clock.
    > >
    > > Thanks, Joe
    > >
    > >__________________________________
    > >Do you Yahoo!?
    > >The New Yahoo! Search - Faster. Easier. Bingo.
    > >http://search.yahoo.com
    > >
    > >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/
    >
    > Larry Bradley
    > Orleans (Ottawa), Ontario, CANADA
  • ArchiverArchiver Posts: 46,084
    edited 2003-04-28 14:39
    After we pointed him to the Nuts & Volts articles about 10 times, I think he
    knows where to find them now.

    Original Message

    > And the app note is on page....?
    > (either nav instructions, or a web-site link would
    > be very kind.)

    > > There is a Parallax app note on their web site using a 32 khz xtal
    > and a
    > > divider chip to get accurate timing .
Sign In or Register to comment.