Engineers Gallery

Ultrasonic Sensor Library for Proteus

Hello friends, hope you all are fine and having good health. In today’s post I am gonna share an Ultrasonic Sensor Library for 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. Using this library you can perform any kind of function with ultrasonic sensor.

First of all, lets have a brief introduction of ultrasonic sensor. In ultrasonic sensor, there are two nodes in which one is transmitter while the other is receiver. The transmitter sends an ultrasonic wave and this wave strikes to any hindrance present in front of it and then bounces back. This bounced ultrasonic sensor is then captured by the receiver and on the basis of the time taken by this wave to return, the sensor calculates the distance of that obstacle from that sensor. Ultrasonic sensor is usually used for detecting the obstacle in path and also to find the distance between sensor and the obstacle. Ultrasonic sensor normally used is HC-SR04, which is also used here in this library. Let’s get started with Ultrasonic Sensor Library for Proteus, in this library we have used an extra pin on ultrasonic sensor, which is analog pin. The voltage on that pin is used to detect how close object is because its a simulation and we can’t place an actual object in front of our laptop. ?

[message_box title=”NOTE” color=”red”]

Note:

[/message_box]

[sam id=”2″ codes=”true”]

[message_box title=”Note” color=”red”]

Note:

[/message_box]

 

Ultrasonic-Sensor-Library-for-Proteus-min

 

Exit mobile version