Sequential timing with Pocket Watch B, maybe
Archiver
Posts: 46,084
Greetings. I need to operate several solenoids at variable time
intervals, say at time T1, time T2, time T3 after some time T0. The
times will all be on the order of two minutes. When the times are
reached, I plan to use a stamp to operate relays on an Opto22 relay
board. The Pocket Watch B seems a likely candidate for this type of
control, where I need things to happen regardless of code processing
time. I'd love to not reinvent the wheel. Does anyone have
experience they can share regarding timing of outputs? Thanks for
your patience as I humbly try to make use of this neat little thing I
discovered recently called a STAMP.
I'm supposed to put a disclaimer on outgoing correspondence. I
forget what it is, but suffice to say the opinions expressed are not
necessarily those of the government. Thanks, Perry
intervals, say at time T1, time T2, time T3 after some time T0. The
times will all be on the order of two minutes. When the times are
reached, I plan to use a stamp to operate relays on an Opto22 relay
board. The Pocket Watch B seems a likely candidate for this type of
control, where I need things to happen regardless of code processing
time. I'd love to not reinvent the wheel. Does anyone have
experience they can share regarding timing of outputs? Thanks for
your patience as I humbly try to make use of this neat little thing I
discovered recently called a STAMP.
I'm supposed to put a disclaimer on outgoing correspondence. I
forget what it is, but suffice to say the opinions expressed are not
necessarily those of the government. Thanks, Perry
Comments
I have been playing with the pocketwatch with the view of a similar
outcome.
The approach I have been using is to continously read the time from
the pocketwatch and then branch when a pre-determined point is reach
(rather than use the alarm output)
I have not got it up and running yet, but do have some code snippets
I can share with you if you email me direct
Kindest regards
Alan W
Western Australia
--- In basicstamps@yahoogroups.com, "perrysharpless"
<psharpless@c...> wrote:
> Greetings. I need to operate several solenoids at variable time
> intervals, say at time T1, time T2, time T3 after some time T0.
The
> times will all be on the order of two minutes. When the times are
> reached, I plan to use a stamp to operate relays on an Opto22 relay
> board. The Pocket Watch B seems a likely candidate for this type
of
> control, where I need things to happen regardless of code
processing
> time. I'd love to not reinvent the wheel. Does anyone have
> experience they can share regarding timing of outputs? Thanks for
> your patience as I humbly try to make use of this neat little thing
I
> discovered recently called a STAMP.
>
>
> I'm supposed to put a disclaimer on outgoing correspondence. I
> forget what it is, but suffice to say the opinions expressed are
not
> necessarily those of the government. Thanks, Perry
time. I had problems due to lack of knowledge. However, when I set an alarm
time, and just waited for the alarm pin to transition, all was well.
DANGER WILL ROBINSON
Remember that when you set a time, it includes the day. So when the alarm
rings, it will not go off tomorrow, as it is a different day. I wrote the
program so that after the alarm is cleared, the time/day stamp within the
unit was reset to the previous day<G>.
Original Message
From: Alan Watling [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=OUCPMsLmNCBHe05qM-S-Rt0CbPzJiA7OlcqHmuzcKGJ8Hk6-15oepP-_uU3p64AgK7LhNWNZ-swSL821Ug]alphamike27@h...[/url
Sent: Friday, May 07, 2004 5:56 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Sequential timing with Pocket Watch B, maybe
Hi Perry
I have been playing with the pocketwatch with the view of a similar
outcome.
The approach I have been using is to continously read the time from
the pocketwatch and then branch when a pre-determined point is reach
(rather than use the alarm output)
I have not got it up and running yet, but do have some code snippets
I can share with you if you email me direct
Kindest regards
Alan W
Western Australia
--- In basicstamps@yahoogroups.com, "perrysharpless"
<psharpless@c...> wrote:
> Greetings. I need to operate several solenoids at variable time
> intervals, say at time T1, time T2, time T3 after some time T0.
The
> times will all be on the order of two minutes. When the times are
> reached, I plan to use a stamp to operate relays on an Opto22 relay
> board. The Pocket Watch B seems a likely candidate for this type
of
> control, where I need things to happen regardless of code
processing
> time. I'd love to not reinvent the wheel. Does anyone have
> experience they can share regarding timing of outputs? Thanks for
> your patience as I humbly try to make use of this neat little thing
I
> discovered recently called a STAMP.
>
>
> I'm supposed to put a disclaimer on outgoing correspondence. I
> forget what it is, but suffice to say the opinions expressed are
not
> necessarily those of the government. Thanks, Perry
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