Ultrasonic Sensor (HC-SR04) interfaced with Arduino Uno using mBlock and Arduino IDE
ฝัง
- เผยแพร่เมื่อ 4 เม.ย. 2021
- #arduino #mBlock
An ultrasonic sensor is a sensor that measures the distance of a target object by emitting ultrasonic sound waves, and converts the reflected sound into an electrical signal.
In this project, the ultrasonic sensor detects an object that is placed close to it in its line of sight of 10cm. The detection is indicated using 2 LEDs.
To learn more about mBlock : • Arduino with mBlock
The Main Code Libraries needed for the project : bit.ly/39Hn41m
1) HC-SR04
Background Music Credits
- Lichu - Rainbow
- • Lichu - Rainbow
Follow him for more tracks
/ 7ichu
Please Like | Share | Subscribe
you explain so good im a german and understand evrything
hi can i ask how to slow down the servo motor ?
We didn't need to use any of the resistors?
I mentioned they are for protection for the LEDs. I didnt use them as they are not necessary.
No resistors needed.
Use them to protect your LED. Also please check your LED if it is functioning.
Mines isn't working I copied your tutorial but all my Arduino does is produce a dim light for my green LED
Please check you connection. The HC-SR04 sensor is sensitive to Lose connections. So Please fasten your connections.
Olnice, it is bcoz of the wire connections. I have this project and it is very easy working for me.
@@jammypereira9522 I connected the wires just like the video said
@@ElectronicsSimplified7 I redid it and made sure all of the connections was secure but it still just show a green dim light
What is the sensor model you used?
how can we install in drone..?????
On a drone ... Its better to use Infrared for close range. And use LIDAR for long range.
Since a drone is very noisy.
@@ElectronicsSimplified7 can u drop how to install in drone