RoamingWithPING(Advanced)
thomas_pittin
Posts: 29
Hello All,
I have a little problem with the program "RoamingWithPING".
in this code I have 3 sensors: 1 is the PING and the other 2 are the IR sensor
my problem is that when i launch the program, i see the value(0 or 1) on the DEBUG window of the IR sensor, the values are not stable
for example, they switch 0 to 1 (and 1 to 0) continuously even if there is not object in front of them.
could you please help me?
I have a little problem with the program "RoamingWithPING".
in this code I have 3 sensors: 1 is the PING and the other 2 are the IR sensor
my problem is that when i launch the program, i see the value(0 or 1) on the DEBUG window of the IR sensor, the values are not stable
for example, they switch 0 to 1 (and 1 to 0) continuously even if there is not object in front of them.
could you please help me?
Comments
You can also increase the values of the resistors for your IR LEDs and that will lower the sensitivity.
Is there something in your environment that might be giving off harsh, weird pulsing light that interferes with your IR sensors? IR beacons (Roomba virtual walls) would be a showstopper, maybe even some types of flourescent/halogen/incandescent lights, or sunlight.
Try the bot in a different (preferably darkened) room and see if the results change at all.
Also, try removing the onboard IR LEDs that are transmitting a signal. Then point a TV IR remote at the sensors and check their output.
In bocca al lupo, il mio amico!