How To Use Ultrasonic Sensor In Proteus
Here s the third and last example of ultrasonic sensor simulation in proteus.
How to use ultrasonic sensor in proteus. Ultrasonic sensor ultrasonic sensor pinout ultrasonic sensor datasheet. After adding the ultrasonic sensor library for proteus open your proteus isis software or restart it if its already open. Ultrasonic simulation in proteus. Now our ultrasonic sensor is ready to be used.
There are total four states for that switch which determines what should be the voltage on the analog pin of ultrasonic. In today s post i am gonna share an ultrasonic sensor library for proteus. In this simulation we are using a switch and controlling the ultrasonic with that switch. Notice in the figure that the ultrasonic sensor has four pins in which two of the four pins are used to provide power to the module and the other two pins are control pins which help control the measurement process.
The ultrasonic sensor also called ping sensor is used to detect the objects in front and measure the distance between the sensor and object. In this post i will show you how you can simulate an ultrasonic sensor in proteus and how to use it to measure the distance. Ultrasonic sensor hc sr04 pin description. Few days ago i have posted a tutorial on arduino library for proteus which also has the ultrasonic sensor in it but that s a quite basic library for ultrasonic sensor so here comes the new ultrasonic sensor library for proteus.
Now our ultrasonic sensor is ready to be used. Now let s make a simple example for the ultrasonic sensor so that you get an idea how to use it in proteus. This will help beginners as well professional. Interesting thing is that now user can test their code and project related to arduino on proteus software for free without going to hardware side.
But first let s see how to add and simulate ultrasonic sensor library in proteus. Ultrasonic simulation in proteus. The wait is over follow simple steps and download ultrasonic sensor library for proteus software for free of cost. Ultrasonic sensor simulations in proteus using switch.