I am having a problem with the collision sensor. It’s readings do not appear to correspond to what is happening to the Pi.
I purchased this sensor: http://www.seeedstudio.com/depot/Grove-Collision-Sensor-p-1132.html
When I run grove_collision_sensor.py, the readings do not appear to correlate with the impacts to the sensor. It reads a 1 continuously. I can get a 0, and occasionally 255, but these changes to the reading do not appear to correlate well with when collisions occur. When I make the sleep interval shorter, I see more changes, but again they do not seem to correlate with the impacts to the Pi.
Please advise. Thank you!