Now let's design a simple example to get an idea of how this sensor works.Once uploaded now you can use your Vibration Sensor in Proteus, the hex file is adding the functionality in this Vibration Sensor.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.Now the last thing you need to do is to double click this sensor to open its Properties.The fourth Pin is TestPin and if it's HIGH then it means you have vibration and the OUT PIn will go HIGH and if it's LOW then it means there's no vibration and OUT Pin will also be LOW. The third Pin is OUT, it's the output pin from where you get whether there's vibration or not.The second Pin is GND so apply ground here.The first one is Vcc so apply +5V here.You can see in the above figure that our sensor has four pins, which are:.Now place it on your Proteus workspace and it will look something as shown in the below figure:.In the components search box, you have to search for Vibration Sensor, and you will get Vibration Sensor SW-420.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |