KY-020 TILT SWITCH MODULE

,

C-3, R-6 , I-1

 18.0

Product ID: 18263 SKU: sen-18263 Categories: , Tags: , , , , ,

The KY-020 Tilt Switch Sensor module is a switch that reacts to movement. It closes the circuit when it’s tilted to the side as long as it is moved with enough force and degree of inclination to activate the ball switch inside.

Compatible with Arduino, Raspberry Pi, ESP32 and other microcontrollers.

KY-020 SPECIFICATIONS

This module consists of a 10kΩ resistor, a metallic ball switch with bidirectional conduction that will open/close the circuit when tilted, and 3 male header pins. This module does not measure tilt angle.

Operating Voltage 3.3V ~ 5V
Output Type Digital

CONNECTION DIAGRAM

Connect the module’s Power line (middle) and ground (-) to +5 and GND respectively.

Connect signal (S) to pin 2 on the Arduino.

KY-020 Arduino
S 2
middle +5V
GND
KY-020 Tilt switch connection diagram

KY-020 ARDUINO CODE

The following sketch will turn on the LED on pin 13 of the Arduino when the module inclination degree changes. Tilt the module to turn the LED on/off.

DOWNLOADS

Reviews

There are no reviews yet.

Be the first to review “KY-020 TILT SWITCH MODULE”

Your email address will not be published. Required fields are marked *