Shop OBEX P1 Docs P2 Docs Learn Events
How to use a timer function and monitor the in — Parallax Forums

How to use a timer function and monitor the in

ArchiverArchiver Posts: 46,084
edited 2002-02-18 18:33 in General Discussion
One simple (maybe too simple for your application) solution:

- tie process control line low through pulldown resistor so default
state is low

- connect emergency stop switch between ground and Stamp reset pin

- when start button is pressed, drive process control line high
and start PAUSE

- if at any time emergency stop switch is activated, Stamp
program will stop, process control pin will revert to input state
and line will be pulled low--when switch deactivated, program starts
all over again


Regards,

Steve


On 18 Feb 02 at 13:33, sh961610@1... wrote:

> Can anybody help me, I'm having a problem, I want to have a function
> as follows.
>
> I want to start a project with a start button. I want the stamp to
> hold an output high for an amount of time and then make it low
> again. During this timing I want to be able to read the other button
> for e.g. a emergency stop. I want to be able to stop the process
> before it reaches the end.
>
> When I use the pause command, I cannot control or read anything
> else!
>
> Help!
>
>
> [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/
>
>

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-02-18 18:33
    I need a controlled emergency stop, I cannot just stop all, I have to
    slow down the system and shut off some outputs before I can turn off
    the stamp. If I would just reset the stamp I have a real emergency!!!
    Big troubles if this happenes!!!!!

    Thanks anyway,
    Greetings Marko


    -- In basicstamps@y..., "S Parkis" <parkiss@e...> wrote:
    > One simple (maybe too simple for your application) solution:
    >
    > - tie process control line low through pulldown resistor so default
    > state is low
    >
    > - connect emergency stop switch between ground and Stamp reset pin
    >
    > - when start button is pressed, drive process control line high
    > and start PAUSE
    >
    > - if at any time emergency stop switch is activated, Stamp
    > program will stop, process control pin will revert to input state
    > and line will be pulled low--when switch deactivated, program
    starts
    > all over again
    >
    >
    > Regards,
    >
    > Steve
    >
    >
    > On 18 Feb 02 at 13:33, sh961610@1... wrote:
    >
    > > Can anybody help me, I'm having a problem, I want to have a
    function
    > > as follows.
    > >
    > > I want to start a project with a start button. I want the stamp to
    > > hold an output high for an amount of time and then make it low
    > > again. During this timing I want to be able to read the other
    button
    > > for e.g. a emergency stop. I want to be able to stop the process
    > > before it reaches the end.
    > >
    > > When I use the pause command, I cannot control or read anything
    > > else!
    > >
    > > Help!
    > >
    > >
    > > [noparse][[/noparse]Non-text portions of this message have been removed]
    > >
    > >
    > > To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@y...
    > > 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.