Introduction: ARDUINO SONAR /w Servo and Hc-sr04

Picture of 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;

Picture of 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

Picture of 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

Picture of 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..:)

Comments

ümita6 (author)2017-09-08

great

dege45 (author)2017-03-19

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

dege45 (author)2017-03-19

Very good project.
Greetings from Germany.


Download sonar not possible.
Can you help?

ensarlevent (author)dege452017-03-19

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

dege45 (author)ensarlevent2017-03-19

Hello,
Thank you so much!
It works now :-))
Great project, I will try it also.
greeting

ensarlevent (author)dege452017-03-19

Okey dear friend, i will solve this problem. Thanks

rafaelnfs (author)2017-03-18

really look great i would try to do.

About This Instructable

3,554views

78favorites

License:

Bio: BIG THINKS, BIG THINGS! FOLLOW US ON YOUTUBE: https://www.youtube.com/channel/UCODcdPwhBerlNMSHB_ATEow
More by ensarlevent:SMART MINI GREENHOUSEBayern München Spinning WhellTURN ON LIGHTS WITH RFID CARD
Add instructable to: