Radar System using Arduino UNO

Building a home-made radar system using an ultrasound sensor and an Arduino UNO.

Jul 15, 2024

33304 views

15 respects

GPL3+

Components and supplies

1

9G Micro Servo

4

220 Ohm Resistor

1

Arduino UNO

1

Ultrasound sensor HC-SR04

1

Buzzer

25

Jumper wire

1

USB 2.0 Cable Type A/B

2

Red LEDs

1

Slide Switch

1

Green LEDs

1

1k Resistor

Apps and platforms

1

Arduino IDE

1

Processing 3

Project description

Code

Radar script for Processing

java

Radar script for Arduino IDE

cpp

Downloadable files

Radar Wiring

Radar Sketch.jpg

Comments

Only logged in users can leave comments

roc37126

4 days ago

thanks!!!!!!!!!!!!!!!!!!!!!!!!!

nikoborovec1212

7 days ago

I don't know why my LEDs won't light up

sealsterr1

7 days ago

First make sure your wiring matches the provided sketch. If that doesn't work, try running a basic LED project to check if the LEDs aren't faulty nor broken, or try replacing some of the components such as the wires, resistors, or even the LEDs with new ones. Hope this helps!

nikoborovec1212

10 days ago

can you send me this stand for ultrasonic sensor and servo?

roc37126

10 days ago

you can just glue the sensor onto the servo

sealsterr1

7 days ago

I bought the stand a long time ago so unfortunately I can't give you the exact model used in this project, I just came across it when looking through my Arduino things. However, you can search for similar stands on Google or Amazon. Mine came in a small Servo pack, which essentially gives you small accessories for your servos.

sealsterr1

7 days ago

As for the base of the radar, I just attached the Servo motor stand to a random empty box.

roc37126

11 days ago

other than that everything works

roc37126

11 days ago

For some reason all of my LEDs are on when my machine is on and my buzzer doesn't beep

sealsterr1

7 days ago

A great number of factors could cause these errors, I'll try to cover the most common ones. For the LEDs make sure the wiring is done correctly and that there are no short circuits, because that can cause the LEDs to be turned on continuously. For the Buzzer I highly recommend running a very basic Buzzer project to make sure the component isn't faulty or damaged. If nothing else works you can try replacing the components or the wires. If you have any questions, feel free to ask :)

okengroup

2 months ago

bro pls send radar link

sealsterr1

a month ago

All the required links and components are listed in the project. If you have any other questions, feel free to ask :)

mvmoscoso_

3 months ago

I understand how the electricity runs through the passive buzzer but I don't know why my passive buzzer doesn't seem to be working

sealsterr1

a month ago

You should first check the wiring for the buzzer. If everything is wired correctly try running some simple test programs from the internet before uploading the radar code. If you follow these tips you should be able to find the issue. If the issue is still unresolved, feel free to ask me or the community on Reddit.

legoman321

3 months ago

how do you create a new file in prossesing

quartz_-_

3 months ago

How did you mount the ultrasonic sensor to the servo? Did you use a 3D-printed part, or do I need to purchase something?

sealsterr1

a month ago

Sorry for the late reply, but the black mount for the radar came with a servo motor pack I found on Amazon. You can search for Arduino servo motor kits and you should find one that includes some kind of mount.

nmazzie

4 months ago

I have a starter kid and was wondering if there are any substitutions I can use because I don’t have a slide switch.

mothexodus

3 months ago

The script generates a single sweep per action. With that in mind, you can use a simple button. A single button press will start the sweep which will continue until the loop ends. Pressing the button again will start the loop again. I hope this helps =D

raja_science

4 months ago

super bro