Vibration Sensor SW-420 (Raspberry Pi)

by piddlerintheroot in Circuits > Raspberry Pi

29275 Views, 10 Favorites, 0 Comments

Vibration Sensor SW-420 (Raspberry Pi)

vibbb.png

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

Parts

vlcsnap-1024-10-13-10h26m49s451.png

RPI 3 - https://amzn.to/2VA9pQY

4 Amp Power Adapter - https://amzn.to/2CTptWu

16GB micro SD - https://amzn.to/2SFMwd3

120 pcs jumper cable: https://ebay.to/2VAb9cY

Vibration Sensors: https://amzn.to/2AzL0lC

SETUP

vlcsnap-7901-09-28-08h26m02s417.png
Vibration Sensor (SW-420) Raspberry Pi

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/