This is a touch sensor. The touch sensor is a sensor that detects contact with objects in the robot's environment. The touch sensor reports to the RCX if its button is pressed or not pressed.

How does a touch sensor work?

It is important to connect the cable to the touch sensor in the correct way. This image shows the right way to connect the cable to the touch sensor. This image shows the wrong way to connect the cable to the touch sensor.

Click here to learn how to program a touch sensor


Click here to see a video