Tilt Sensor
A Tilt Sensor ( also known as Tilt Switch or Rolling ball sensors or Mercury switches ) is a component that detects the orientation of the object, it can be the horizontal and vertical orientation or its inclination.
Module features:
1, using the highly sensitive SW-520D switch as the sensor angle.
2, the comparator output signal is clean, good waveform, driving capacity, more than 15mA.
3, operating voltage 3.3 V-5 V
4, output format: digital output switching (0 and 1)
5, a fixed holes for easy installation
6, small PCB board size: 3.2 cm x 1.4 cm
7, using a large LM393 voltage comparator
Form for use
1, wiring the electrical diagram module below, are described in detail;
2, the output module depends on the position of the switch is on and off, when the angle goes off, the output of the DO converter is ON, low output DO;
3, the output can be directly connected to the microcontroller through the microcontroller to detect high and low, thus detecting the change from above;
4, the output of the module can directly drive the relay, which can be composed of a high switching angle angles to protect electrical equipment and other products when it has automatically turned off function.
Tutorials:
https://steemit.com/utopian-io/@ted7/arduino-101-tilt-sensor-with-arduino