How to Make Spring Vibration Sensor at Home!

by Nematic! in Circuits > Arduino

7249 Views, 36 Favorites, 0 Comments

How to Make Spring Vibration Sensor at Home!

How to Make Spring Vibration/Motion Sensor! | DIY | Homemade

I was working on a new project which involves a Spring Vibration sensor aka the "poor man's" accelerometer/motion sensor! These spring-vibration switches are high sensitivity non-directional vibration induced trigger switches. Inside is a very soft spring coiled around a long metal pin. When the switch is moved, the spring touches the center pole to make contact. So, when there's motion, the two pins will act like a closed switch. When everything is still, the switch is open. Great for basic projects and wearables!

But I don't have it at the moment so I thought why not make one yourself, So in this tutorial, I'll show you how you can make your own spring vibration sensor.

So without any further ado lets get started!

Supplies

Working Principle

vlcsnap-2020-04-22-16h46m19s169.png
vlcsnap-2020-04-22-16h46m53s974.png

The vibration sensor is the most simple senor you can possibly think of, it has one resistor whose value can be 10k ohm and the spring-like structure surrounding it, one end of the sensor is one lead of the resistor and another end of the sensor is the spring, 2nd lead of the resistor is in the air not connected anywhere, so if I connect one end of the sensor to 5V and another end to digital pin of Arduino, every time there is vibration spring will vibrate and spring will touch the resistor hence we get 5V at the input of our Arduino and that’s the working principle of vibration sensor which is basically a simple switch!

Now that we know how the sensor works let’s see how to make one.

Making Spring

vlcsnap-2020-04-22-17h00m44s617.png
vlcsnap-2020-04-22-16h48m13s131.png
vlcsnap-2020-04-22-16h47m23s514.png
vlcsnap-2020-04-22-16h47m30s540.png
vlcsnap-2020-04-22-16h48m41s569.png
vlcsnap-2020-04-22-16h48m50s978.png
vlcsnap-2020-04-22-16h49m17s259.png
vlcsnap-2020-04-22-16h49m55s074.png

To make one you need enameled copper wire, if you don’t have one you can even use single stand wire it will work just remove the coating, now measure about 25cm of copper wire and cut it to its length after which we will use some sandpaper and a plyer to remove the enameled coating from copper wire exposing it.

Once that is done using a bolt with 3mm diameter, make spring of about 3cm length in length.

Adding Resistor & Shrink Tube

vlcsnap-2020-04-22-16h50m19s448.png
vlcsnap-2020-04-22-16h50m48s679.png
vlcsnap-2020-04-22-16h51m06s793.png
vlcsnap-2020-04-22-16h51m22s001.png
vlcsnap-2020-04-22-16h51m39s723.png
vlcsnap-2020-04-22-16h51m57s726.png
vlcsnap-2020-04-22-16h52m20s997.png
vlcsnap-2020-04-22-16h52m29s695.png

After you are done making spring you can chop off the one end of spring and now take a 10k ohm resistor and place it inside the spring just Make sure it doesn’t touch the copper spring after that you can fix it in place using some hot glue or a two-component adhesive.

Now that is done you can use some heat shrinking tube to cover the sensor and you have made a sensor!

Test the Sensor!

vlcsnap-2020-04-22-16h52m44s814.png
vlcsnap-2020-04-22-16h53m03s038.png

To test the sensor I used an Arduino Nano, simply solder one end to 5V and another end to Digital pin 2 of Arduino after which I wrote this simple code which senses every time sensor gets vibrated and as you can see it works like charm!

If you face a sensor getting trigger quite often or not getting trigger at all, try adjusting the resistor position and use less heat shrink tube or not at all.

You can find the code below for testing.

You Did It!

vlcsnap-2020-04-20-15h15m24s997.png

You did it you made your own vibration sensor! I’ll be using this sensor in my upcoming project so don’t miss that

So that's pretty much it for this tutorial guys, If you like my work consider checking out my YouTube channel for more awesome stuff: https://www.youtube.com/NematicsLab


You can also follow me on Facebook, Twitter, etc for upcoming projects

https://www.facebook.com/NematicsLab/

https://www.instagram.com/NematicsLab/

https://twitter.com/NematicsLab