PDA

View Full Version : Reseting the BOE with an I/O pin - any circuit examples available?



r3b0
04-28-2007, 12:41 AM
i have a BOE with a eb500 in the x1 header, a relay board connected to pin 7, and an LED on pin 8.

after my code runs a random number of times, it locks up, and no longer does what it normally does so well. if i could make the board reset itself every 3 cycle of main, it could get me back to where i need be.

what i would like is a circuit example of how to connect the i/o pin to the rst pin. or maybe somone could browse my code and see if they can spot where it is hanging up?

allanlane5
04-28-2007, 12:48 AM
Um, yeah, if you post your code. Edit your post, and use the 'Attachment" button.

Chris Savage
04-28-2007, 03:24 AM
Hello,

You can reset your BASIC Stamp by connecting an I/O pin to the reset line and when you want to reset going from an input to LOW (output). This will reset the BASIC Stamp making the I/O pin an input again…That said, I would be more inclined to find the cause of the error in the program that is causing the lockup. Take care.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support

r3b0
04-28-2007, 03:38 AM
thanks chris, your a wiz! thats about what i was thinking, i just wanted to make sure switching from an input to a low output was not going to fry anything.

thanks again, and have a good weekend everyone.

Rebo