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.

Step 1: Schematic Code & Parts List.

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!

About This Instructable




Bio: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the ... More »
More by vandenbrande:Arduino - LCD 20x4 Water LEVEL MONITOR HC SR04 Arduino - NRF24L01 2.4Ghz Wireless Relay Switch RGB led STRIP control Arduino Android BLUETOOTH - SMD5050  
Add instructable to: