Hello friends, I hope you all are fine and having fun with your lives. Today, I am going to share a new Proteus Library named as Vibration Sensor Library for Proteus. This Library is designed by our team on TEP and its not yet published anywhere. We are the first creator of this Vibration Sensor Library for Proteus. This Library contains just one Vibration Sensor named as SW-420. I will post a tutorial soon on interfacing of this SW-420 Vibration Sensor with Arduino. This library is compatible with all the microcontrollers like Arduino, PIC Microcontroller or 8051 Microcontroller etc.
Using this Library you can now easily Simulate your Vibration Sensor in Proteus ISIS software. As we can’t produce real vibration in Proteus environment so that’s why I have placed a TestPin in this Vibration sensor. If you send 0 at this TestPin then it means no vibration and if you sent 1 then it means we have some vibration. The Library is given below for download along with a simple simulation of this vibration sensor. So, let’s get started with Vibration Sensor Library for Proteus:
Note: Other Proteus Libraries are as follows:
Vibration Sensor Library for Proteus
- First of all, download the Library Files for Vibration Sensor Library for Proteus by clicking the below button:
- When you download the file then it will contain three files named as:
- Place all these three files in the Library folder of Proteus software.
- If you are using Proteus 7 Professional, then the library folder link will be something like this: C:Program Files (x86)Labcenter ElectronicsProteus 7 ProfessionalLIBRARY
- If you are using Proteus 8 Professional, then the library folder link will be something like this: C:ProgramDataLabcenter ElectronicsProteus 8 ProfessionalDataLIBRARY
- Noe restart your Proteus software if its already open.
- In the components search box, you have to search for Vibration Sensor, and you will get Vibration Sensor SW-420.
- Now place it on your Proteus work space and it will look something as shown in below figure:
- You can see in the above figure that our sensor has four pins, which are:
- First one is Vcc so apply +5V here.
- Second Pin is GND so apply ground here.
- Third Pin is OUT, its the output pin from where you get whether there’s vibration or not.
- Fourth Pin is TestPin and if its HIGH then it means you have vibration and the OUT PIn will go HIGH and if its LOW then it means there’s no vibration and OUT Pin will also be LOW.
- Now last thing you need to do is to double click this sensor to open its Properties.
- In the properties, you will find a Program File, in this section browse to your file VibrationSensorTEP.HEX which we just downloaded and placed in the Library folder of Proteus software.
- Once uploaded now you can use your Vibration Sensor in Proteus, the hex file is adding the functionality in this Vibration Sensor.
- Now let’s design a simple example to get an idea how this sensor works.
- So, in order to do that, design a simple circuit as shown in below figure:
- Now run your simulation and when you make TestPIN LOW, the sensor won’t give any output and when you make TestPIn HIGH then sensor will give output which means vibration detected as shown in below figure:
- The above image is quite self explanatory . 😛
- The below video will give you a better idea of how it works:
That’s all for today. I hope you will enjoy this Vibration Sensor Library for Proteus. I have just added one module rite now but I am gonna add more soon. You should also have a look at these New Proteus Libraries for Embedded Systems Projects.Take care !!! 🙂