Skip to content

PrabhasKmrGH/Sonar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Arduino based Sonar

Intro

In this project, we are going to design an Arduino sonar project using Ultrasonic Sensor for detection.

This Arduino sonar project aims to achieve a sonar system prototype based on an Arduino board that detects stationary and moving objects. The sonar system has different performance specifications, and it is also available in a variety of sizes.

Preview

Image

med_5ab38332cab89_I8ZVSiZggc

Video

Sonar.mp4

Requirements

Software

We need two software to complete this Arduino radar project. One is Arduino IDE, and the other is Processing IDE. Download both Software from the below links.

Arduino IDE

Processing IDE

Processing application is visual arts-based software for learning to code. After downloading, extract the Zip file, and you will get the processing application (.exe file).

Hardware

  • Arduino

  • Servo

  • Ultrasonic Sensor

  • Jumper Wires

  • BreadBoard (Optional)

  • Laptop

  • Cabels

  • Power Source (Optional, as Laptop Can power teh Arduino)

Programs

In this project, we are using two codes:

Arduino Code (Arduino_radar_server_arduino):

Sends sensor readings for every degree moved by the servo values sent to serial port to be picked up by Processing

Processing Code (Arduino_radar_client_processing):

Maps out an area of what the HC-SR04 sees from a top down view. Takes and displays 2 readings, one left to right and one right to left. Displays an average of the 2 readings

Setup

Circuit

Circuit

Put it together

Final Setup

Upload the code

After uploading the code, the servo motors start running from 0 to 180 degrees and again back to 0 degrees. An ultrasonic sensor also rotates along with the servo as it is mounted on the motor.

Now, open the processing application. In the code, update the COM port number where your Arduino board is connected.

Now, run this processing code.

You will see a new window. This is the graphical representation of data from the Ultrasonic Sensor is represented in a radar type display.

If an ultrasonic sensor detects any object within its range, you can see the same on the graphical representation.

Proof

Halfway:

Halhway

Intial Setup:

Intial Setup

Final Setup:

Final Setup

Video:

Hardware.mp4

References & Links

Arduino

Arduino Projects

Arduino IDE

Processing IDE

For Hardware I (Indian) ordered it from: Robu & Amazon

Note

Project was

created on 3rd of December'18

uploaded on 28th of December'22

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors