In this Illustration we will going to wire the mercury switch module is a family of the tilt switching sensor, and it has an on-board LED as indicator as power status it can be used to build a simple circuit to produce tilt warning. The mercury tilt sensor interface has 3 pin the signal pin, ground pin and to voltage supply pin, if the signal pin detect a HIGH state the OUTPUT status will be HIGH.
Required Component
- Arduino Board
- Mercury Tilt Sensor
- LED Any Color
- Resistor
- Jumper / DuPont Wires
- Solder Less Bread Board
Wiring Diagram
Arduino Sketch
[crayon-6759ff1be0883243251211/]
Wiring the Mercury Type Tilt Sensor