Ultrasonic Sensor Tutorial | HC-SR04 | Arduino
NematicsLab
Ultrasonic ranging module HC - SR04 provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules includes ultrasonic transmitters, receiver and control circuit.
More project information(Code,Schematic,etc):- https://nematicslab.com/how-to-use-ultrasonic-sensor/
Website, https://NematicsLab.com
Patreon, https://www.patreon.com/NematicsLab
For Sponsorships or Endorsements ONLY! Business@Nematicslab.com
Music used in the video:
- Manhattan by Dyalla
- Kickin It With Alien by Sarah, The Illstrumentalist
- Outside Visitors by Sarah, The Illstrumentalist
---------- Links For Parts Used in the Video----------
Materials:
- Breadboard - https://www.banggood.in/custlink/KDvERNzL76
- Arduino Nano-https://www.banggood.in/custlink/GGD32zyucA
- Sensor-https://www.banggood.in/custlink/3vvdyNUafn Tools:
- Soldering Iron-https://www.banggood.in/custlink/DKGKUAqCKa
- Solder wire-https://www.banggood.in/custlink/DKGKUAqCKa
- Helping Hands-https://www.banggood.in/custlink/DKGKUAqCKa
- Hot Glue-https://www.banggood.in/custlink/DKGKUAqCKa
---------- Affiliate ----------
Gearbest- http://bit.ly/2KD54KD Banggod- http://bit.ly/2xgJIK5 LCSC - http://bit.ly/2KD0hJ0
---------- Social Media ----------
Facebook - http://bit.ly/2FC5lJz Instagram - http://bit.ly/2XddQpe Twitter - http://bit.ly/2IUhqMm
----------------Littel information about Video------------------- The basic principle of work: (1) Using IO trigger for at least 10us high level signal, (2) The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back. (3) IF the signal back, through high level , time of high output IO duration is the time from sending ultrasonic to returning. Test distance = (high level timeĆvelocity of sound (340M/S) / 2, The Ultrasonic transmitter transmits an ultrasonic wave, this wave travels in air and when it gets objected by any material it gets reflected back toward the sensor this reflected wave is observed by the Ultrasonic receiver module Now, to calculate the distance using the above formulae, we should know the Speed and time. Since we are using the Ultrasonic wave we know the universal speed of US wave at room conditions which is 330m/s. The circuitry inbuilt on the module will calculate the time taken for the US wave to come back and turns on the echo pin high for that same particular amount of time, this way we can also know the time taken. Now simply calculate the distance using a microcontroller or microprocessor. ... https://www.youtube.com/watch?v=Q6tjpVwaUR4
34979057 Bytes