Shop OBEX P1 Docs P2 Docs Learn Events
Wireless Voice Reset help! — Parallax Forums

Wireless Voice Reset help!

ElementElement Posts: 9
edited 2008-04-17 03:25 in BASIC Stamp
I am using a headset to give my BS2 robot commands wirelessly, and was wondering, is there a command I can send to the BS2, so it will hard reset. As of right now, I am pressing the reset button on my Super carrier board, but I was wondering if there was a command that would allow me to hard reset the BS2.

Thanks,
Element hop.gif

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-04-17 03:17
    If you make the entire program a "subroutine" called Reset, then you could GOTO Reset and start the program again from the top.· Follow my meaning?
  • Mike GreenMike Green Posts: 23,101
    edited 2008-04-17 03:25
    There's no command to reset a Stamp. You'd have to use an I/O pin to force a self reset. Because the reset line can act as an output, you really should use an NPN transistor with its collector to RES, its emitter to ground, and its base connected through a 4.7K resistor to an I/O pin and a 47K resistor to ground. When the I/O pin is made HIGH, the Stamp will reset. The 47K resistor will make sure the transistor is kept off by default and the 4.7K resistor will limit the base current to around 1mA.
Sign In or Register to comment.