Тёмный
No video :(

Make a touchless Doorbell | Using arduino uno with ultrasonic sensor | Plugin Electronics 

Plugin Electronics
Подписаться 121
Просмотров 5 тыс.
50% 1

Material Required:
Arduino Uno
Jumper wires
buzzer
Ultrasonic sensor
Breadboard
Arduino Uno cable
Power Bank or 9v Battery
----------------------------------------------
Subscribe : )
----------------------------------------------
Circuit diagram:
drive.google.c...

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@PluginElectronics458
@PluginElectronics458 5 месяцев назад
Code: const int trigPin = 4; const int echoPin = 5; const int buzzerPin = 8; void setup() { pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); pinMode(buzzerPin, OUTPUT); } void loop() { digitalWrite(trigPin, LOW); delayMicroseconds(5); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); int duration = pulseIn(echoPin, HIGH); delay(50); int distance = duration / 29.1; if (distance < 20) { digitalWrite(buzzerPin, HIGH); } else { digitalWrite(buzzerPin, LOW); } }
@vasteyash104
@vasteyash104 13 дней назад
Thanks for the help
@PluginElectronics458
@PluginElectronics458 12 дней назад
Glad to help : )
@kritikasharma-bg6de
@kritikasharma-bg6de 5 месяцев назад
thank u soo much sir!!!!!! this worked for me on the very first try. please upload other projects like this. thank you once again !!!!!!
@PluginElectronics458
@PluginElectronics458 5 месяцев назад
Welcome New video will upload soon : )
@VPRonincook
@VPRonincook 3 месяца назад
bro is there any poerfull buzzer to provide the sound more efficient and sufficient? IF there is suggest me one! BTW nice vid
@PluginElectronics458
@PluginElectronics458 3 месяца назад
Thank you. I dont have much information about that, but according to me you can use the 12v buzzer used in bikes and cars. also, if you are using that then make sure to give 12v power supply to arduino through the input jack for 12v adapter given on arduino.
@abdulbazidh2964
@abdulbazidh2964 22 дня назад
Pulsein was not declared in this scope this error come program
@PluginElectronics458
@PluginElectronics458 20 дней назад
I have checked the code from my end and there is no issue but still if you are getting the error then you can recheck if this line is written as it is in your code "int duration = pulseIn(echoPin, HIGH);". If still you are getting the error then try updating your arduino software.
@abdulbazidh2964
@abdulbazidh2964 19 дней назад
@@PluginElectronics458 ok thanks 👍 sir
@wamanraobiradar796
@wamanraobiradar796 3 месяца назад
Hello sir plz upload circuit diagram of it
@PluginElectronics458
@PluginElectronics458 3 месяца назад
Uploaded! you can check the description
@nitheeswar2129
@nitheeswar2129 3 месяца назад
Bro ur cheat Its not working Its play automatically within 5 sec
@PluginElectronics458
@PluginElectronics458 3 месяца назад
according to me, you should double check the wiring, components and the code
Далее
🛑самое грустное видео
00:10
Просмотров 160 тыс.
Arduino Simple Obstacle Avoiding ROBO
6:37
Просмотров 61 тыс.
How I Made my own Smart Glass Under $10
2:36
Просмотров 14 млн
Ultrasonic sensor project with buzzer and arduino
4:24