У нас вы можете посмотреть бесплатно Arduino And Ultrasonic Sensor Based Distance Measurement |Arduino Code For Ultrasonic Sensor HC-SR04 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Hello Friends, Welcome back to my channel. We are back with another tutorial on Arduino Projects for Beginners. In this tutorial we are going to learn arduino uno ultrasonic sensor projects and write the ultrasonic code for arduino. By watching this arduino ultrasonic sensor tutorial you will be able to easy setup your arduino ultrasonic sensor projects. We are going to use 4 Pin hc-sr04 sensor for this project and use tinkercad simulation software. ------------------------------------------------------------------------------------------------ Check out my tutorial on Arduino PIR sensor here: • PIR Sensor Arduino Project | Motion Detect... ------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------- Arduino Project with DC motor: • PIR Sensor DC Motor Arduino Project | Ardu... ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Check out the Arduino Code in the github: https://github.com/shazforiot/Arduino... ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ You can also refer the code below: int triggerPin = 7; int echoPin = 6; unsigned long duration; int distance; void setup() { pinMode(triggerPin, OUTPUT); pinMode (echoPin, INPUT); Serial.begin(9600); } void loop() { digitalWrite(triggerPin, LOW); delayMicroseconds(2); //clearing the trigger digitalWrite(triggerPin, HIGH); delayMicroseconds(10); digitalWrite(triggerPin, LOW); // capturing the time duration for sound wave to travel in microseconds duration = pulseIn(echoPin, HIGH); distance = 0.01723 * duration; Serial.print(distance); Serial.println("cm"); } ==================================================== Follow me @: / thetips4you / @thetips4you / thetipsforyou http://www.thetips4you.com =================================================== Music credit: "Royalty Free Music from Bensound"