Sonar using arduino and display on processing IDE

I was inspired by obstacle avoidance car's servo's motion, I thought that it's motion could be used as sonar's acutator !

Dec 17, 2020

25336 views

15 respects

Components and supplies

1

Arduino UNO

1

Ultrasonic Sensor - HC-SR04 (Generic)

1

Jumper wires (generic)

1

SG90 Micro-servo motor

1

Solderless Breadboard Full Size

Tools and machines

1

Soldering Iron Kit, SolderPro 150

1

Hot glue gun (generic)

Apps and platforms

1

Processing

1

Arduino IDE

Project description

Code

Sonar code for processing IDE

java

Sonar code for arduino IDE

c_cpp

Sonar code for arduino IDE

c_cpp

Downloadable files

Scheamatics for sonar

Scheamatics for sonar

Scheamatics for sonar

Scheamatics for sonar

Comments

Only logged in users can leave comments

pablosssass

2 years ago

if i just copy and paste this code i will be able to make it work or i need to add something else?

fewto

2 years ago

Any time I try to open the processing IDE while the Arduino one is running it says com port is busy and it say the same thing if I use the processing on first. How did you get both to work at the same time? Thanks!

akk47

2 years ago

king12345 I found that you wanted some help please type in chatbox so that I can help you as soon as possible.

Anonymous user

2 years ago

nice !

Anonymous user

2 years ago

I am searching an Ultrasonic Sensor which is detect water source from a fixed distance. It's available in present market place??

akk47

2 years ago

I hope everyone found the project helpful and if any problems please feel free to ask and if you liked the idea please respect the project

Anonymous user

2 years ago

I am having issues getting the Processing IDE to run at the same time as the Arduino. I am getting a Runtime error in the IDE saying "com port is busy", I am running the Arduino first, and the Processing IDE right after. Am I doing something wrong? How were you able to get them both to work at the same time? Thank you

akk47

2 years ago

You can open serial monitor in arduino IDE and Processing IDE at the same time because they will interrupt each other while gathering info and only the first opened serial monitor will work and the other would give you error , that the port was busy .

Anonymous user

4 years ago

I am having issues getting the Processing IDE to run at the same time as the Arduino. I am getting a Runtime error in the IDE saying "com port is busy", I am running the Arduino first, and the Processing IDE right after. Am I doing something wrong? How were you able to get them both to work at the same time? Thank you

akk47

2 years ago

You can open serial monitor in arduino IDE and Processing IDE at the same time because they will interrupt each other while gathering info and only the first opened serial monitor will work and the other would give you error , that the port was busy .

Anonymous user

4 years ago

I am searching an Ultrasonic Sensor which is detect water source from a fixed distance. It's available in present market place??

user1747731

4 years ago

processing app not working for download

akk47

2 years ago

Can you please elaborate the problem, as the common problem with processing ide are that they don't open because of proper operating system or when we don't extract the files after downloading.

akk47

4 years ago

king12345 I found that you wanted some help please type in chatbox so that I can help you as soon as possible.

Anonymous user

4 years ago

nice !

akk47

4 years ago

I hope everyone found the project helpful and if any problems please feel free to ask and if you liked the idea please respect the project