★☆★Recommended Electronics supplier :★☆★
Utsource : https://www.utsource.net
In this tutorial I explained how does the Ultrasonic sensor operates to understand the utility of each pin in order to use this sensor correctly.
I used two Ultrasonic sensors HC-SR04 connected to my Arduino Mega2560 and I measured the distance between each sensor and the object around it then I displayed the measered distance through the Serial monitor

★☆★ ORDER LINKS FOR THE COMPONENTS: ★☆★

(*) Arduino Mega2560: http://amzn.to/2vPFMjS
(*) Two Ultrasonic sensors HC-SR04: http://amzn.to/2ihtYlC
(*) Bread board: http://amzn.to/2vOV7ko
(*) Jumper wires: http://amzn.to/2fVofB0
(*) Two LEDs and 330 Ohm Resistors: http://amzn.to/2otShiz

★☆★ DOWNLOAD THE CODE: ★☆★

http://ouo.io/n8ojw4

★☆★ DOWNLOAD THE CIRCUIT: ★☆★

http://ouo.io/o86LD

★☆★ SUBSCRIBE TO ME ON YOUTUBE: ★☆★

https://www.youtube.com/megadas

★☆★ FOLLOW ME BELOW: ★☆★

Instructables: http://www.instructables.com/member/M…
Hackaday : https://hackaday.io/MegaDAS
Facebook : https://www.facebook.com/MEG.DAS1/?fr…
Twitter : https://twitter.com/MEGADAS1
Hackster : https://www.hackster.io/mega-das

Keywords:
Ultrasonic sensor HC-sr04
Arduino Mega2560
Distance measurement

Source

Leave a Reply