Wireless vibration sensor, iot vibration sensor, Industrial vibration sensor “nodemcu esp8266”

(Last Updated On: February 13, 2020)

wireless vibration sensor


In this Tutorial, you will learn how to monitor the Vibration wirelessly using Nodemcu esp8266 wifi module, Vibration sensor SW- 420, and Blynk application. As the wireless vibration sensor is an IOT based project the vibration sensor can be monitored from anywhere around the world. You can monitor the vibration values in real-time, whenever the vibration exceeds a pre-defined value a notification message is sent even if the application is running in the background. This tutorial covers

  1. Complete Circuit Diagram Explanation
  2. Interfacing
  3. Programming and finally
  4. Testing

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

Vibration Sensor SW-420: https://amzn.to/2XwhEB7
Nodemcu esp8266 wifi module: Best price https://amzn.to/2NAvmiB
330 ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 npn transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
female DC power jack socket: https://amzn.to/2KEo1gt
470 uf capacitors: https://amzn.to/2xDCOzf
5×7 cm vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://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 this: https://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!


SW-420 Vibration Sensor:

wireless vibration sensor

This is the SW-420 vibration sensor. As you can see it has three male headers which are clearly labeled with D0, ground and vcc.

This Vibration sensor can be used in places where you need to monitor the vibration.

Circuit Diagram:

wireless vibration sensor

This is the complete circuit diagram of the Nodemcu esp8266 power supply. This Power Supply is based on the famous LM7805 voltage regulator. J1 is the female power jack and this is where we connect a 12v adaptor, battery or a solar panel. Two 470uf capacitors are connected at the input and output sides of the voltage regulator. A 330 ohm resistor is connected in series with a 2.5v led. This is a current limiting resistor. The output of the voltage regulator is connected with the Vin pin of the Nodemcu esp8266 wifi module and the ground is connected with the ground. SV1 and SV2 are the female headers… D0 pin of the Vibration sensor is connected with D0 pin of the Nodemcu module, the ground pin of the vibration sensor is connected with Nodemcu ground while the VCC of the vibration sensor is connected with the 3.3v pin of the Nodemcu esp8266 wifi module.

wireless vibration sensor

This is the final circuit, The pcb designing and online order placement is already explained in the video below.


Download PCB Gerber Files:


wireless vibration sensor Interfacing

wireless vibration sensor

  1. Insert the vibration sensor into the vero board.
  2. now connect vcc pin of the vibration sensor with 3.3v pin of the Nodemcu esp8266 wifi module…
  3. connect the ground pin of the vibration sensor with the ground pin of the Nodemcu module….
  4. connect D0 pin of the vibration sensor with the D0 pin of the Nodemcu module…

wireless vibration sensor Blynk Application:

  1. First of all open the blynk application…..
  2. set the project name as vibration monitoring…..
  3. Click on the choose device and select nodemcu….
  4. make sure you set the connection type to wifi….
  5. then click on the create button an authentication token will be send on your email id, which will be then used in the programming, simply copy and paste it in programming …
  6. Click anywhere on the screen and search for the terminal and add it and then follow the same exact steps as explained in the video given at the end of this Article….
  7. now again click on the screen and this time add the gauge widget and follow the steps as explained in the video….
  8. Now again click on the screen and search for the notification and add it… and follow the steps as explained in the video.

wireless vibration sensor

wireless vibration sensor Programming:

Before you start the Nodemcu programming first of all make sure that you download all the necessary libraries and you install the nodemcu board, for the getting started tutorials check my playlists available on my YouTube channel electronic clinic. These are the same libraries I have been using in all of my iot based projects and maximum instructions are already explained in my previous projects. For the step by step program explanation watch video given at the end of this program.

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