Introduction: 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..:)

Participated in the
Sensors Contest 2017

Participated in the
Microcontroller Contest 2017
7 Comments
5 years ago
great
6 years ago
Hello,
thank you so much!
It works now :-))
Great Project, I will try it with my son.
greeting ;-)
6 years ago
Very good project.
Greetings from Germany.
Download sonar not possible.
Can you help?
Reply 6 years ago
Thank you friend, we renew the link. You can download there. :)
Reply 6 years ago
Hello,
Thank you so much!
It works now :-))
Great project, I will try it also.
greeting
Reply 6 years ago
Okey dear friend, i will solve this problem. Thanks
6 years ago
really look great i would try to do.