Vibration sensor, Vibration measurement, vibration detector “SW 420”

(Last Updated On: October 26, 2019)

vibration sensor

Description:

This Tutorial is about the SW-420 vibration sensor Interfacing and Programming using Arduino Uno. In this tutorial, you will learn how to use a vibration sensor with Arduino and control an led when a certain pre-defined value is exceeded. This is an introductory tutorial and covers only the basics, covering the sensor pinouts, it’s interfacing with the Arduino, and basic programming.


While in my upcoming tutorials the same vibration sensor will be used in an earthquake notification system using gsm and wireless sensor network using ZigBee or xbee.

For the detailed discussion watch video tutorial “Click Here


The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno:https://amzn.to/2tVz1vu

SW-420 Vibration sensor:https://amzn.to/2VxCfkQ

Mega 2560:https://amzn.to/2ze1kdu

Super Starter kit for Beginnershttps://amzn.to/2KJvmKG

Jumper Wires:https://amzn.to/2KMoVXs

Bread Board:https://amzn.to/2MS4q8X

12v Adaptor:https://amzn.to/2Ntr6h1

PCB plate:https://amzn.to/2IUwpCt

Variable Supply:https://amzn.to/2MT4Qfj

Digital Multimeter:https://amzn.to/2Nvft9i

Vero Board / strip board:https://amzn.to/2MTf9jD

Soldering iron kit:  “best”  You guys should definitely purchase thishttps://amzn.to/2zfoNuJ

Solder wire:https://amzn.to/2ufUMWf

Wire Stripper:https://amzn.to/2KOqxfU

wire cutter:https://amzn.to/2ucIq14

PCB small portable drill machine:https://amzn.to/2Nu62XF

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Sensor Interfacing with Arduino:

 

vibration sensor

It has a total of 3 male headers clearly labeled with D0, GND, and Vcc.


vibration sensor

Insert the vibration sensor into the vero board…now connect D0 pin of the sensor with pin number 9 of the Arduino…connect the ground pin of the  sensor with the ground pin of the Arduino….connect Vcc of the vibration sensor with the Arduino’s 5v…..insert led into the breadboard…connect a 330-ohm resistor on the anode side of the led, this is a current limiting resistor….connect the cathode side of the led with the Arduino’s ground…connect the anode side of the led with pin number 13….we are done with the interfacing.


Arduino Programming:

For the detailed step by step explanation watch video tutorial “Click Here


Watch Video Tutorial:

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply

Close