Boe-Bot Help, please
So I am building a Boe-Bot for my freshman engineering class and my teacher isnt much of a help, so I was thinking someone here could maybe help me out?
I just connected my whiskers and I was doing the little test them thing, where when you press the left one its suposed to change P5=1 to P5=0, and that worked fine, however when I pressed the right whisker either 1) nothing happened, or 2) it did the same thing as the other one.
I had multiple people look at both my Boe-Bot and my program and they all thought it looked correct. I was wondering if anyone had any solutions to this??
Thanks so much!!
I just connected my whiskers and I was doing the little test them thing, where when you press the left one its suposed to change P5=1 to P5=0, and that worked fine, however when I pressed the right whisker either 1) nothing happened, or 2) it did the same thing as the other one.
I had multiple people look at both my Boe-Bot and my program and they all thought it looked correct. I was wondering if anyone had any solutions to this??
Thanks so much!!
Comments
I dont know though...just a random though.
once we see the code we can tell for sure
Since this is a robotics question, this would be the appropriate forum to get some help from our robotics community :-) As I mentioned earlier, get us some pics and code listings, and somebody here will help get you going :thumb:
and again, Welcome to the Forums!
-MattG
'{$STAMP BS2}
'{$BASIC 2.5}
DEBUG "WHISKER STATES", CR,
"Left Right", CR,
"
"
DO
DEBUG CRSRXY, 0, 3,
"P5 = ", BIN1 IN5,
" P7 = ", BIN1 IN7
PAUSE 50
LOOP
Try removing one whisker and see if the other one works correctly. Then take the other whisker off and put the first whisker back on. See if just that one works correctly. Then you will at least know if it's one whisker with a problem, or the other, or if there is only a problem with both installed. Then you can narrow down to whether it's a mechanical issue w/the installation of the whiskers themselves (e.g. whiskers touching sometimes, bad contact with the ground platform) or the wiring to the Stamp. Photos would really help -- did you get a message when you tried to upload your images?
And with the pictures when I tried uploading from my computer it came up with a little exclamation point, so I'm trying to put them online and get a URL and try it that way.
- is it one whisker, or both?
- is it mechanical (the whisker/mounting itself)?
- is it wiring to the microcontroller?
- is it the code? (which looks fine, btw)