For some reason on some of the XRP’s the sensor has stopped working on one device, but if we attach the sensor to another XRP robot it works. Is there a way to program the sensor to work from another connection. IE the “Line” sensor work out of the “Extra” connector?
Hi there,
Which sensor are you referring to? And in what way did it stop working? Did you get any error messages, or is the data just bad?
I have had problems with the range detector and line follower on different units. When I run the test to check out XRP they line sensor values do not change, same with the range values. But when I use the same sensor on another robot they do work.
Ok, sounds like the sensors themselves are fine then.
When you swap to the other robot, are you using the same cables? My hunch is that you have a bad cable, or a bad connector. If the cables all seem fine, then it’s possible your control board is damaged.
Also, the line sensor will only work on the “Line” connector, because that’s the only connector with 2x ADC-capable GPIO pins. And the GPIO pins on the “Extra” connector have other default uses, so best to leave that connector alone unless you know what you’re doing.
We have occasionally seen bent pins in the connectors. With the sensor unplugged you should be able to look down at the connector and see all 4 pins. Young eyes or a magnifier can help see if any of those are bent.
Thanks, I know what you mean, I’ll check that out.