Contact comes ON or OFF based on sensor position vertical or horizontal
The tilt sensor is a component (switch) that can detect the orientation of an object (upright or not). It is equivalent to a pushbutton activated through its physical orientation. It contains a metallic ball inside that will commute the two pins of the device from CLOSED to OPEN if the sensor exceeds a certain angle and viceversa. Only when the tilt sensor is in its upright position, metallic balls inside the tilt sensor bridges the two contacts, completing the circuit. When the sensor is tilted beyond the sensivity range, the contacts moves away, and thus opens the circuit.