Inputs Overview Button A simple digital input button. Crash Sensor A button that can detect when an object hits it. Potentiometer Provides an analogue input which varies as you twist the knob. Ultrasonic Sensor Measure distance to an object. Line Follow Sensor Detect light or dark areas in close proximity. Light Sensor Detect the amount of light. Joystick Control something using two analogue inputs. Force Sensor Measure the amount of physical pressure being applied. Bend Sensor Measure how much something bends. Break Beam Sensor Detect an object entering a specific place. Colour Sensor Detect the colour of an object. Motion Sensor Detect when someone enters a room Weather Sensor Measure the temperature, humidity and pressure. Keyboard Allows many buttons to be controlled by a single analog pin. Soil Moisture Sensor Detects moisture in soil. Contact Switch Detects when a door is open or closed. Rotary Encoder Turn the knob in either direction to control things. Tilt Switch Detects when something is tilted. On Off Switch A switch that can be either on or off. Hall Sensor Detects when a magnet passes it.