Ultrasonic Sensor Arduino Code | Ultrasonic Sensor | HC-SR04 | Arduino Tutorial

Опубликовано: 10 Октябрь 2024
на канале: Circuits DIY
1,286
13

#CircuitsDIY

Today in this video tutorial i am going to show you Step by Step

How to interface ultrasonic hc sr04 sensor with Arduino

You Will Find Full Project Description & All Useful Material Including

• Circuit Diagram / Schematic
• Hardware / Component List
• Codes / Algorithm
• Datasheet
• Pin Configuration Etc

AT ► https://circuits-diy.com/how-to-inter...

Thanks for Watching It.

↪ For Any Difficulty Please Comment Below

――――――――――――――――――――――――――――――――――――――――――
❖ Please Subscribe / Like Facebook Page ❖
――――――――――――――――――――――――――――――――――――――――――

►►    / @circuitsdiy  

►►   / circuit-diy-122206971927665  

Download All Important Project Files

AT ► https://www.file-up.org/gxi648v1u557

――――――――――――――――――――――
❖ Hardware Required ❖
――――――――――――――――――――――

► Arduino Board
► USB A to B Cable
► Breadboard
► Jumper Wires
► Ultrasonic Sensor HC-SR04
► LED

――――――――――
❖ Steps ❖
――――――――――

Follow All Steps Carefully from the Video Tutorial Above (Recommended)

STEP # 1 ( Make Sensor Connections )

► VCC – To VCC of Arduino.
► GND – To GND of Arduino.
► TRIG – To D13 of Arduino.
► ECHO – To D12 of Arduino.

STEP # 2 ( Make LED Connections )

► Cathode – To GND of Arduino.
► Anode – To D11 of Arduino.

STEP # 3 ( Upload Code )

► Download code and upload it to Arduino Board using Arduino IDE Software

► https://www.arduino.cc/en/Main/Software

―――――――――――――――――
❖ Audio Credits ❖
―――――――――――――――――

Alan Walker - New Day (Official Video) [New Song 2018]

   • Video