ARDUINO SONAR /w Servo and Hc-sr04

5.3K828

Intro: ARDUINO SONAR /w Servo and Hc-sr04

Hey there! Today we are going to do most Arduino project! Sonar (originally an acronym for SOund Navigation And Ranging) is a technique that uses sound propagation to navigate, communicate with or detect objects on or under the surface of the water, such as other vessels. But we use this out of water :)

We use;

1 - 5110 screen;

2 - 1 x hc-sr04

3 - 1 x Servo Motor

4 - And of course Arduino

STEP 1: Connections;

You can see the connections in the picture. You must connect true. This is a very hard project and we will have a lot of problem and bug. You can scan 2cm to 4m.

STEP 2: Assembly of Parts

We are going to paste the hc-sr04 to servo; because servo will move and turn hc-sr04.

STEP 3: Arduino Code

WARNING!!! WHEN YOU ARE UPLOADING THE CODE TO ARDUINO, YOU MUST STORAGE SNR.C AND CODE IN SAME FILE! SO YOU MUST STORAGE IN THE SAME FILE(snr.c and sonar)

ONCE AGAIN WARNING; YOU MUST CREATE A FILE AND FILE MUST CONTAIN THESE TWO THINGS; snr.c and sonar.

CODE DOWNLOAD LINK;

https://drive.google.com/open?id=0B6EUM2JQFzOhNG5SS3hSUWh4N00

STEP 4: Video;


I would recommend to you watch the video. I expect your comments..:)

7 Comments

Hello,
thank you so much!
It works now :-))
Great Project, I will try it with my son.
greeting ;-)

Very good project.
Greetings from Germany.


Download sonar not possible.
Can you help?

Thank you friend, we renew the link. You can download there. :)

Hello,
Thank you so much!
It works now :-))
Great project, I will try it also.
greeting
Okey dear friend, i will solve this problem. Thanks
really look great i would try to do.