HC-SR04 ULTRASONIC SENSOR - WHAT it is and HOW to use it.
I'll explain the HC-SR04 Ultrasonic Sensor. They're great for for measuring distances and detecting objects ? More info below ?
A ultrasonic sensor / detector / measurer is a great little module, and they're cheap enough to keep several to hand for when you need it next.
To follow along with the example project in the video you will need a few items, the links automatically redirect you to right item on your local Amazon site:
■ HC-SR04 Ultrasonic Sensor: https://geni.us/HC-SR04_Ultrasonic
■ Arduino Uno: https://geni.us/ArduinoUno
■ Jumper wires: https://geni.us/JumperWires
These are some of my favorite tools I use and can recommend:
■ Battery-powered glue gun: http://geni.us/BoschBatteryGlueGun
■ Bosch Bit Driver: https://geni.us/Bosch-Screwdriver
==========
CODE
The code, wiring diagram and software instructions can be downloaded from here: https://github.com/DIY-Machines/HC-SR04-Ultrasonic-Sensor/tree/main
==========
SAY THANKS:
Provide continual and dependable support through Patreon:
Support us on Patreon: https://www.patreon.com/diymachines
Buy me a coffee to say thanks: https://ko-fi.com/diymachines
SUBSCRIBE:
■ https://www.youtube.com/channel/UC3jc4X-kEq-dEDYhQ8QoYnQ?sub_confirmation=1
INSTAGRAM: https://www.instagram.com/diy_machines/?hl=en
FACEBOOK: https://www.facebook.com/diymachines/
==========
List of camera and lighting equipment I use:
Sony A7 III: https://geni.us/Sony-Alpha7-III
Tamron 28-75mm F2.8 RXD A036SF Lens for Sony-FE : https://geni.us/TamronRXD-28-75mm
Aputure Amaran HR672C: https://geni.us/AputureAmaranHR672C
Aputure MC: https://geni.us/FAPGL
RØDE VideoMic Pro+: https://geni.us/RodeVideoMic-ProPlus
Blue Snowball iCE: https://geni.us/BlueSnowball-iCE
Philips Hue Lightstrip Plus: https://geni.us/PhilipsHue-LightStrip
00:00 Intro
00:28 What does it look like / Is it made of?
01:29 What can it be used for?
01:49 How does it work?
03:05 How to use it - Example circuit and code
04:11 Understanding the code
05:14 Explanation of 'pulseIn' function
06:37 When it might not work properly
09:34 Outtakes
Disclaimer:
This video is shared for demonstration purposes only.
DIY Machines
How to build awesome machines using affordable components. Our aim is simple, to bring easy to re-create projects whilst keeping the cost low. By designing custom 3D printable components as much as possible means that if you have access to a 3D printer, ...