Vibration Sensor SW-420 (Raspberry Pi)

About: the Raspberry Pi is Awesome!

Basic tutorial of how to setup a SW-420 Vibration sensor with the Raspberry Pi.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts

RPI 3 -

4 Amp Power Adapter -

16GB micro SD -

120 pcs jumper cable:

Vibration Sensors:

Step 2: SETUP

1. Wire VCC to 5v, Ground to ground, and D0 to gpio 17

2. Upload python script to Raspberry Pi




    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest