Arduino KY-017 mercury tilt switch module, it uses a small mercury ball that completes the circuit when you tilt the module.
This module consists of a mercury switch, a 680Ω resistor and a LED that will light up when tilt is detected. The mercury ball will open/close the circuit when the module is rotated.
Operating Voltage | 3.3V to 5.5V |
KY-017 Connection Diagram
Connect the Power line (middle) and ground (-) to +5 and GND respectively. Connect signal (S) to pin 3 on the Arduino.
KY-017 | Arduino |
S | Pin 3 |
middle | +5V |
– | GND |
