Тёмный

Arduino Sensors: Big and Small sound sensor (sound triggered switch) 

Z-HUT
Подписаться 16 тыс.
Просмотров 23 тыс.
50% 1

Today I'll show you how to setup and use the big and small sound sensors to control a relay, LED or anything else you want to control.
Check us out on Facebook: / zarduino

Наука

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

 

30 ноя 2018

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@aryeguetta8592
@aryeguetta8592 5 лет назад
Great Demonstration, I am not sure if you know already but these sensors are called KY-038. Thanks for sharing.
@alessandrotorrisi3041
@alessandrotorrisi3041 4 года назад
Really useful demonstration.
@B16Dominoes
@B16Dominoes 2 года назад
Thanks so much. I'm doing a mark Rober project, and I'm no expert
@jonassamyn7323
@jonassamyn7323 3 года назад
#define led 13 #define sound 3 boolean trig = true; boolean state = true; void setup() { pinMode(led, OUTPUT); pinMode(sound, INPUT); Serial.begin(9600); } void loop() { trig = digitalRead(sound); if(trig == false && state == false) { digitalWrite(led, HIGH); Serial.println("ON"); state = true; delay(500); } else if(trig == false && state == true) { digitalWrite(led, LOW); Serial.println("OFF"); state = false; delay(500); } } here ya go people I wrote it for you (-:
@christynazareth7730
@christynazareth7730 Год назад
i luv u ♥
@jefferyhammond1421
@jefferyhammond1421 3 года назад
How can I use this in a system that deters barking dogs? I currently have a system I wired together that runs high pitch piezo tweeter speakers on a remote but that doesn't work when I'm not home to activate it. The over the counter bark deterrents are useless. I need it to stay on for 30 seconds when it detects noise but no shut off when it detects the second bark. Any ideas?
@jerzyszczepanski9792
@jerzyszczepanski9792 3 года назад
Hi. Could anybody please post a build of Arduino decibel meter for an Airgun with shown Max last reading. Small size would be preferable, possibly Arduino Nano and Oled screen. Most Android Phone Apps don't work correctly as the phone kills the Microphone sensitivity automatically and sampling isn't fast enough. Thanks in advance. Good Video BTW.
@donaldtessman
@donaldtessman 5 лет назад
I'm having a bit of trouble understanding what the Comparison Operator is in the IF and ELSE IF statements are...? Can you help me out? I have input your code into my IDE but can't complete the program properly at these points. I'm not sure what to input here...Help Please...
@jean-marc7999
@jean-marc7999 5 лет назад
Hi, I'd highly recommend you buy a book about C programming or/and a book which explains the basic principle of programming. For pure C, only one book, by the inventors of the C Language : "The C Programming Language", B Kernighan & D Ritchie. For a sweet intriduction to Arduino and basic programming concepts (including the if then else logic), "Programming Arduino" by Simon Monk is a classic that I can recommend. Hope this helps.
@chulainnolenain7552
@chulainnolenain7552 3 года назад
Does this code work on Mac pr is it just PC?
@etch4
@etch4 3 года назад
Of course will this work for Mac OS X.
@bacalovalexander6870
@bacalovalexander6870 2 года назад
whats the name of the plate?
@Zippytez
@Zippytez 5 лет назад
Clap on, clap off
Далее
Arduino Sensors: Magnetic Reed Switches
7:14
Просмотров 2,5 тыс.
❤️My First Subscriber #shorts #thankyou
00:26
Просмотров 6 млн
OG Buda - Сделай Мне Приятно Щас
02:24
Lesson 20 - Sound Sensor Module KY-038
26:46
Просмотров 126 тыс.
Sensitive Clap Switch Sensor Circuit Making (CD4017)
5:57
Sound Sensor with Arduino
5:57
Просмотров 14 тыс.
Arduino Sound Sensor Control
3:25
Просмотров 383 тыс.
Здесь упор в процессор
18:02
Просмотров 286 тыс.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Здесь упор в процессор
18:02
Просмотров 286 тыс.
Игровой Комп с Авито за 4500р
1:00