Arduino - Tilt Switch, Switching on a RELAY With the KY-020

by vandenbrande in Circuits > Arduino

1737 Views, 2 Favorites, 0 Comments

Arduino - Tilt Switch, Switching on a RELAY With the KY-020

Arduino LOGO.jpg
Arduino - Tilt Switch, switching on a RELAY with the  KY-020

Hello world! I made another example. Today for the KY-020.

We are simply going to switch on a relay to turn the lamp on and off.

Follow the next step for the schematic code & Parts list.

Schematic Code & Parts List.

KY-020 Tilt Switch With RELAY_bb.png

Parts List.

  1. Arduino Uno, I used the RobotDyn Uno.
  2. KY-020 Tilt Switch.
  3. KY-019 1 Channel relay.
  4. Jumper wires MM/FF/MF
  5. Lamp Socket + lamp & power Cable. (Optional)

Good luck!