In today s post i am gonna share an ultrasonic sensor library for proteus.
How to use ultrasonic sensor in proteus.
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.
After adding the ultrasonic sensor library for proteus open your proteus isis software or restart it if its already open.
There are total four states for that switch which determines what should be the voltage on the analog pin of ultrasonic.
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.
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.
Ultrasonic simulation in proteus.
After adding the ultrasonic sensor library for proteus open your proteus software or restart it if it s already open.
Ultrasonic sensor ultrasonic sensor pinout ultrasonic sensor datasheet.
Ultrasonic sensor hc sr04 pin description.
Now our ultrasonic sensor is ready to be used.
Now our ultrasonic sensor is ready to be used.
The ultrasonic sensor also called ping sensor is used to detect the objects in front and measure the distance between the sensor and object.
The wait is over follow simple steps and download ultrasonic sensor library for proteus software for free of cost.
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.
Here s the third and last example of ultrasonic sensor simulation in proteus.
Now let s make a simple example for ultrasonic sensor so that you get an idea how to use it in proteus.
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.
Ultrasonic sensor simulations in proteus using switch.