HAAALP. my boebot right ir sensor is working but the left one is not(the LED is
justin1337
Posts: 5
even when i put my hand in front of it.
and the servos work fine because i tested them and they go foward
when i navigate em the IR sensors don't work but the boe bot keeps going in the formation its programmed to do but when it reaches a wall or black tape it does not read it.
i tried rewiring it
i changed basic stamp chip
i changed mother board
what i do
you guys are the pro's
and the servos work fine because i tested them and they go foward
when i navigate em the IR sensors don't work but the boe bot keeps going in the formation its programmed to do but when it reaches a wall or black tape it does not read it.
i tried rewiring it
i changed basic stamp chip
i changed mother board
what i do
you guys are the pro's
Comments
Have you tried running the program TestIrPairsAndIncidactors.bs2 from Chapter 7, Activity 4 in Robotics with the Boe-Bot?
This activity demonstrates how to wire LEDs to light up when the IR detector detects an object. It also displays the state of the IR detector so you can be sure they're working properly before attempting navigation with infrared headlights.
If you did run this program and everything is working properly, please post your code as an attachment and we can see if something is wrong there.
Hope this helps.
Jessica
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jessica Uelmen
Education Department
Parallax, Inc.
but the other one is not lighting up nor reads my hand when i wave it.
In your code, it seems that you have both IN9 and IN0 set to irDetectRight, which is why the right one always responds, since the variable irDetectLeft is never set to anything.· Your code should read:
Instead, you have:
After that change, everything should work!
Jessica
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jessica Uelmen
Education Department
Parallax, Inc.