Introduction: Vibration Sensor SW-420 (Raspberry Pi)

Picture of Vibration Sensor SW-420 (Raspberry Pi)

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

Step 1: Parts

Picture of Parts

RPI 3 – https://goo.gl/CdVNoH

4 Amp Power Adapter – https://goo.gl/js4Uc7

16GB Micro SD – https://goo.gl/FDqZal

120 pcs jumper cable: https://goo.gl/FDqZal

Vibration Sensors: https://goo.gl/FDqZal

Step 2: SETUP

Picture of SETUP

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

2. Upload python script to Raspberry Pi

Website:

http://www.piddlerintheroot.com/vibration-sensor/

Comments