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-ul...
Website,
https://NematicsLab.com
Patreon,
/ nematicslab
For Sponsorships or Endorsements ONLY!
[email protected]
Music used in the video:
1) Manhattan by Dyalla
2) Kickin It With Alien by Sarah, The Illstrumentalist
3) Outside Visitors by Sarah, The Illstrumentalist
--------- Links For Parts Used in the Video---------
Materials:
1. Breadboard - https://www.banggood.in/custlink/KDvE...
2. Arduino Nano-https://www.banggood.in/custlink/GGD3...
3. Sensor-https://www.banggood.in/custlink/3vvd...
Tools:
1. Soldering Iron-https://www.banggood.in/custlink/DKGK...
2. Solder wire-https://www.banggood.in/custlink/DKGK...
3. Helping Hands-https://www.banggood.in/custlink/DKGK...
4. Hot Glue-https://www.banggood.in/custlink/DKGK...
--------- 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.