Please help with BOE
Jester
Posts: 3
I just received a BOE bot and am having some issues with running it disconnected from the PC.
I can program it and it will run fine (eg. I can control the servos, get feedback through the debug cammand, etc) if it's connected to the PC with the USB cord.
However, once I disconnect the USB, the program will not run.
Also, the reset button on the board does not appear to do anything, even while connected. For example, if I write the simple "First Program" from the help file:
It will send the message, but if I press the reset button is does not restart the program and send the message again, as it should according to the help file.
The only way I can get a program to start, or restart, is to "run" it from the editor again, or disconnect and reconnect the USB cord while the board is on.
Interestingly, I noticed that I can make a simple program with "GUI Bot" and it work fine - it will run whenever I turn the bot on, even when disconnected.
What am I doing wrong??
I can program it and it will run fine (eg. I can control the servos, get feedback through the debug cammand, etc) if it's connected to the PC with the USB cord.
However, once I disconnect the USB, the program will not run.
Also, the reset button on the board does not appear to do anything, even while connected. For example, if I write the simple "First Program" from the help file:
' {$STAMP BS2} ' {$PBASIC 2.5} DEBUG "Hello, it's me, your BASIC Stamp!" END
It will send the message, but if I press the reset button is does not restart the program and send the message again, as it should according to the help file.
The only way I can get a program to start, or restart, is to "run" it from the editor again, or disconnect and reconnect the USB cord while the board is on.
Interestingly, I noticed that I can make a simple program with "GUI Bot" and it work fine - it will run whenever I turn the bot on, even when disconnected.
What am I doing wrong??
Comments
I tried deleting "END" but it didnt make a difference.
Without "END" should the program loop itself?
I did discover today that it will run the program (with servos, or otherwise) without the cable, but it has to have been turned off for 5 seconds or so. I guess I had just not left it off long enough when I was trying it before. Is this normal then?
The reset button still doesn't seem to do anything though. Should the program just restart immediately after pressing the reset button?
I loaded the "MovementWithSubroutines" program from pg 123 of the BOE Bot book for testing. It runs fine. But when I press the reset button while the program is running the servos continue to run through the sequence until the end. I would would have thought it would stop the program, and restart it when I released the button.
END sends the Stamp into a low-power state (but it's supposed to snap out of that with a Reset, afterall.)
There shouldn't be any 5 second warm-up. That's weird.
Maybe you have a bad Reset button. It's been claimed before.
If you're comfortable doing so, you take a wire that's connected to Vss and carefully touch that to pin 22 of the Stamp itself to effect a "manual" reset.
If you don't know which is pin 22 then leave it be and contact Customer Service.
Thanks for the help.
You could replace the test wire with couple hundred Ohms ( 220 ) resistor to be safe.