Shop OBEX P1 Docs P2 Docs Learn Events
BS2 Reset Question — Parallax Forums

BS2 Reset Question

ArchiverArchiver Posts: 46,084
edited 2000-08-31 00:58 in General Discussion
Good Day:
I'm looking for a simple way to remotely Reset a BS2
that is being used as a remote data gathering
terminal. I thought a menu choice could be to reset
the stamp if it's acting up. Can I use a pin to drive
a transistor to take the reset low? Any better ideas?

Thanks,
Andy Shor

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-08-28 20:54
    You may use the ATN pin number 3 that will reset the BS2 when high.
    ACJacques



    andy shor wrote:
    >
    > Good Day:
    > I'm looking for a simple way to remotely Reset a BS2
    > that is being used as a remote data gathering
    > terminal. I thought a menu choice could be to reset
    > the stamp if it's acting up. Can I use a pin to drive
    > a transistor to take the reset low? Any better ideas?
    >
    > Thanks,
    > Andy Shor
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Yahoo! Mail - Free email you can access from anywhere!
    > http://mail.yahoo.com/
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-29 02:11
    Thanks for the info.

    Can I take the pin high via software or do I have to
    actually put 5v to it?

    Regards;
    Andy

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Mail - Free email you can access from anywhere!
    http://mail.yahoo.com/
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-29 02:30
    I believe you may take ATN pin high thru another pin.
    This will be a physical reset by software.
    ACJacques

    andy shor wrote:
    >
    > Thanks for the info.
    >
    > Can I take the pin high via software or do I have to
    > actually put 5v to it?
    >
    > Regards;
    > Andy
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Yahoo! Mail - Free email you can access from anywhere!
    > http://mail.yahoo.com/
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-29 02:35
    Andy,

    You really need to do a bit of both....

    ie. Use a Stamp I/O pin (since ATN is not such a beast) to drive ATN high if
    you want the Stamp to reset itself. ATN is physically pin 3 on the BS2.

    Remember that ATN is connected to the RS232 DTR via the Serial Cable to your
    PC for programming, and that the Stamp Programming software uses this to
    reset the BS2 before loading program tokens by pulsing ATN to +12V.

    From your message it appears as if you are using a PC program to interface
    to the Stamp during operation and that your PC program is the 'Master'
    (since you mentioned "a Menu Option"). In which case perhaps you can pulse
    the DTR pin high from within your PC program? You would have to ensure that
    ATN was held at less than +1V at all other times to avoid spurious resets.

    Just a few thoughts...

    Regards,

    Lance.

    >
    Original Message
    > From: andy shor [noparse]/noparse]SMTP:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=mXIvmDxJhCzlfZKVGnl9U7fR7ixWF4bZDF96KU9pz5zDy875KQlLfND8ZST8K4WRpZ7InFPwq7zPRA]ashor2000@y...[/url
    > Sent: Tuesday,29 August 2000 12:12
    > To: basicstamps@egroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] BS2 Reset Question
    >
    > Thanks for the info.
    >
    > Can I take the pin high via software or do I have to
    > actually put 5v to it?
    >
    > Regards;
    > Andy
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Yahoo! Mail - Free email you can access from anywhere!
    > http://mail.yahoo.com/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-31 00:58
    Good Day:
    Thanks for the help. I just got the main code working
    so now it's on to the "Reset" plans.....

    Regards,
    Andy

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Mail - Free email you can access from anywhere!
    http://mail.yahoo.com/
Sign In or Register to comment.