Introduction: VELOCITY DISPLAYING IN TERMINAL USING ULTRASONIC SENSOR BY PROTEUS SOFTWARE

Aim : In this project we are going to display the distance calculated by the ultrasonic sensor in virtual terminal.

Components required to make this project in Proteus software are:

AURDINO

POT -HG

ULTRASONIC SENSOR

POWER AND GROUND TERMINALS

Ultrasonic sensor:
Ultrasonic sensors work by sending out a sound wave at a frequency above the range of human hearing. ... The sensor determines the distance to a target by measuring time lapses between the sending and receiving of the ultrasonic pulse.

Step 1: Make Connections As Shown in Circuit Diagram

Make the connections as shown in circuit diagram in Proteus software.

Step 2: Write Aurdino Program According to Our Requirements

Step 3: Upload Code in Both Arduino and Ultrasonic Sensor

Convert the file in Arduino code into .hex extension and then upload into Arduino in Proteus software.

Upload Arduino program in the Arduino as shown in figure 1.

Click the below file and upload in ultrasonic sensor

UltraSonicTEP.HEX

To upload the file in ultrasonic sensor double click the ultrasonic sensor and add file at UltraSonicSensor.HEX as shown in figure 2.

Step 4: Run the Proteus Software

Click on the run button which is at the bottom of the Proteus window to run the circuit.

Then a virtual terminal will be opened showing distance calculated by UltraSonicSensor.

To stop executing click on the stop button which is at the bottom of the panel.

HURRAY! we have done it........