How to Setup and Code a KY-020 Tilt Switch Sensor Module

Channel:
Subscribers:
14,200
Published on ● Video Link: https://www.youtube.com/watch?v=xkNt-Av0KBk



Duration: 6:19
3,468 views
35


In this video I am going through a KY-020 Tilt Switch Sensor module it 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.

This can be connected to most microcontrollers such as Arduino, RaspberryPi, ESP32, ESP8266 ect.

KY-020 Tilt Switch 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

⏱️⏱️VIDEO CHAPTERS⏱️⏱️
------------------------------------------------
0:00 Intro
0:08 Where to buy and Price
0:18 What is a KY-020 Tilt Switch sensor module
0:52 Details, Specifications, Features
1:20 Wiring KY-020 Tilt Switch sensor to Arduino Uno
1:47 No signal output / Reverse pin configuration with generic module
2:09 Wiring KY-020 Tilt Switch sensor to Arduino Mega
2:25 Code KY-020 Tilt Switch sensor module
5:10 Testing KY-020 Tilt Switch with ball rolling sound and LED output

Purchase the item from eBay here: https://ebay.us/iM0J1o

Purchase the item from AliExpress here: https://s.click.aliexpress.com/e/_AE6M22

Check out other similar videos in this Electronics playlist:
https://youtube.com/playlist?list=PLqTrJlcRXDhmFr72DRxr4KW-2YMVo5Hrd

Check out Josephine's channel
https://www.youtube.com/channel/UChRIIUpVIG-HMIYoMM3WSSw

#arduino
#KY-020
#tiltswitch







Tags:
KY-020
KY-020 tilt switch module
arduino
arduino uno
breadboard
esp8266
arduino bluetooth
arduino board
arduino button
arduino due
arduino kit
arduino lcd i2c
arduino led
arduino leonardo
arduino mega
arduino mega 2560
arduino micro
arduino microcontroller
arduino mini
arduino pro micro
arduino pro mini
arduino programs
arduino projects
arduino relay
arduino robot
arduino robotica
arduino sensors
arduino servo
arduino set
arduino shield