Тёмный

Arduino Sound Sensor Control 

Maker 101
Подписаться 165 тыс.
Просмотров 384 тыс.
50% 1

DIY Home Security - New Video: • DIY Simple PIR Motion ...
Sound sensors can be used for a variety of things, one of them could be turning lights off and on by clapping. Today however we are going to use hook up the sound sensor to an array of LED lights which will beat with music, clapping or knocking.
Required Hardware:
Arduino Board :
goo.gl/UyGYeF (Banggood)
amzn.to/2LZr6t4 (Amazon)
Sound Sensor :
goo.gl/ydI0Lp (Banggood)
amzn.to/3ateYKr (Amazon)
LED Kit :
goo.gl/aDh6JN (Banggood)
amzn.to/3qxSs8O (Amazon)
220 ohm Resistors :
goo.gl/uSYHGx (Banggood)
amzn.to/3jXMJXs (Amazon)
Mini Breadboard :
goo.gl/jZeZC2 (Banggood)
amzn.to/2M15Wea (Amazon)
Jumper Wires :
goo.gl/EGTafY (Banggood)
amzn.to/3doetmT (Amazon)
Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
Banggood Spring Sale - bit.ly/3slMbOn
Connections :
This module allows you to detect when sound has exceeded a set point you select.Sound is detected via a microphone and fed into an LM393 op amp. The sound level set point is adjusted via an on board potentiometer. When the sound level exceeds the set point, an LED on the module is illuminated and the output is sent low.
Source Code: create.arduino.cc/editor/mert...
Social Media:
/ mertarduino
/ mertarduino

Наука

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

 

27 окт 2016

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 179   
@maker101io
@maker101io 3 года назад
Source Code: create.arduino.cc/editor/mertarduinotech/3bbd2444-cd6b-4627-91ff-492a00134e00/preview Recommended Items: Use Your Muscles in Project - amzn.to/3wdL45C​ 37 Sensor & Module Packages - amzn.to/3m66WeQ​ Try this Robot Arm - amzn.to/3fq8DCl​ Best Resin 3D Printer - amzn.to/39tY8KB​ Arduino Compatible Kits - bit.ly/2J2AFF7​ Banggood Spring Sale - bit.ly/3slMbOn
@dg3083
@dg3083 4 года назад
Short, simple, clear & straight to the point!! Awesome video!! Thank you for sharing!!
@pauljustingarde477
@pauljustingarde477 3 года назад
Thank you so much brother! This became my first arduino project and it is so amazing!
@kaanekz
@kaanekz 7 лет назад
Projelerin çok güzel devamını dilerim
@bryanpedrosa8061
@bryanpedrosa8061 7 лет назад
good tutorial!
@nhOjelPlays
@nhOjelPlays 3 месяца назад
Love u bro it help me a lot
@guidopiotrowski7900
@guidopiotrowski7900 7 лет назад
You're the best!
@naufalazim6500
@naufalazim6500 7 лет назад
Hello can u do a project with LED strips with sound sensor?I appreciate it!
@guidopiotrowski7900
@guidopiotrowski7900 7 лет назад
Thanks!
@ananyabangera637
@ananyabangera637 4 года назад
Thanks man
@nhOjelPlays
@nhOjelPlays 3 месяца назад
Thank you orb
@younesstamouh7003
@younesstamouh7003 2 года назад
Question: Can we detect by this microphone the sounds outside the headset ? [20hz-20khz]
@yourmusic6552
@yourmusic6552 6 лет назад
Could you make a tutorial on how to do the same thing in packet tracer. Thank you in advance.
@kathiac3299
@kathiac3299 6 лет назад
I have a similar sensor that is red. However I am having trouble with it it only turns on the LED when it is directly facing it and close, and also it reacts much better to claps. I am trying to make it turn on the LED to the basic sound of the buzzer, so like a pin that goes on and off. I would like it to be able to react to the sensor when it is relatively far away, at least 1 ft for this stage but ultimately i would like it to detect the sound at least 20 ft away while both are underwater. Do you think that the sensor was not working because the sensor had a fault? or is it just that theses are not that sensitive to begin with? Thank you!
@danolougeemae8816
@danolougeemae8816 7 лет назад
Hi I would like to use this as an addition to our IP but does this work with voice? or only clapping and knocking?
@adityakathirvel6209
@adityakathirvel6209 4 года назад
Your arduino projects are so simple and less cost but can you please share the code also in the description
@TheDog4545
@TheDog4545 7 лет назад
So I had a question, I got one of the sound sensing microphones from Keyes and well one of my questions was I'm trying to make a sound activated led strip but every time the sound sensor senses sound, the led starts blinking and I just wanted to know if there was any way I could get it to fade instead of blinking. This is for an architectural project and I really want to figure this one out. My code goes like if (sensorvalue >= threshold) { digitalWrite(3, HIGH); } else { digitalWrite(3, LOW); } Its set to only be on when threshold is met and off when threshold is not met. but what I want it to do is fade and get brighter when sound is on and fade out slowly once the sound goes off instead of just switching off. Please help, it ll be much appreciated.
@joydeeproy2327
@joydeeproy2327 5 лет назад
How and where did you learn to make this cool things.what course should i do
@TrapWolvesOfficial
@TrapWolvesOfficial 7 лет назад
How can I make it react on just the low tones (bass)? Would be great if anyone can send me the code :)
@jakubpludowski67
@jakubpludowski67 6 лет назад
you can also make a simple low pass filter which only let's the small frequencies through aka low sounds
@vazquez595654
@vazquez595654 6 лет назад
How do you make a low pass filter?
@jakubpludowski67
@jakubpludowski67 6 лет назад
Just Google low pass filter and it will show you a circuit, basically it is just a resistor and capacitor in series
@rothanasereyhor9278
@rothanasereyhor9278 5 лет назад
TrapWolves correct the volume of the sound detection through the screwer on it
@vishalgaurav4411
@vishalgaurav4411 5 лет назад
Music is like saving the humanity 😂
@oXTLo
@oXTLo 6 лет назад
Would I be able to do this with an LED strip?
@FrostEnceladus
@FrostEnceladus 7 лет назад
At 1:10 what program did you use to pre plot the circuitry?
@rishipatnaik3881
@rishipatnaik3881 6 лет назад
thank u boss
@yusus6827
@yusus6827 7 лет назад
thanks mert
@1cekenneth
@1cekenneth 7 лет назад
hi im new for using arduino... i just want to know if i can use laser instead of LED as an out and use that same laser to power a amplifier speaker. thanks in advance
@LeeCvz10
@LeeCvz10 7 лет назад
hey I'm having trouble with my sound sensor not responding idk if its the programming
@FreddyMary86
@FreddyMary86 7 лет назад
From how far distance is it possible to register sound? I need a sound sensor that after say 2 claps turn a LED on. (at least from 3 meters away)
@user-el5yy7nb2y
@user-el5yy7nb2y 7 лет назад
Hi! Can I use this digital sensor sound without connection to Arduino? What is the signal voltage occurs at the out of the module when sound activity?
@pvnch8476
@pvnch8476 7 лет назад
tanqqq so much we need more advanced
@minecraftvideos3435
@minecraftvideos3435 3 года назад
Can u change the light too a servo and will it still work pls help I really need to know thx
@rezwanahmed2775
@rezwanahmed2775 7 лет назад
your channel is awesome.!will u please make a video about arduino programming in details..!it will be helpful
@rezwanahmed2775
@rezwanahmed2775 7 лет назад
+Mert Arduino Tutorial & Projects thanx a lot..actually many of us...don't hav a single knowledge about arduino programming.. if you upload coding tutoreal..it will be benefitial :)
@starwill4668
@starwill4668 7 лет назад
Very nice,..Sir may you help me how to make sound meter with decibel meter..This is for my research project...thank you very much..
@gregkrazanski
@gregkrazanski 7 лет назад
is it possible to reverse it so loud sound actually turns OFF a light that is already on? Shouldn't be too hard I think, right? Also, is this just a simple on/off threshold? Or is there a range where the light brightens and dims? (For example, between -10 and -5 decibels, the brighteness of the light linearly goes from 100% to 0% brightness)? Thank you for any advice you can offer.
@nerdappapps7661
@nerdappapps7661 6 лет назад
Hey. You can just flip the if statement. do this: if(statusSensor == 0) { digitalWrite(LED, HIGH); } else { digitalWrite(LED,LOW); } this makes the light go off when there is a loud sound and on when there isn't. hope that helps have fun!
@hyperionrhys1722
@hyperionrhys1722 6 лет назад
What is the name of the screwdriver you used to adjust the potentiometer
@srjoy101
@srjoy101 4 года назад
How to make this like reacts only to bass sound ?
@ovidiiugabriel1311
@ovidiiugabriel1311 7 лет назад
Can i make led flashing with only sound sensor ,led and one battery at 5V?
@juanmanrique6401
@juanmanrique6401 3 года назад
What would you have to do to the software if instead of using the Arduino sound sensor, you use a microphone circuit that outputs the waveform of the specific sound you want the microcontroller to capture? do you need to declare it as an int sound sensor? is the digital read a library? sorry for the questions.
@kristijancrnic4930
@kristijancrnic4930 2 года назад
digitalRead and digitalWrite are in arduino software by default, you dont need to put any librarys
@ahmedlz9495
@ahmedlz9495 7 лет назад
hi Mert Arduino Tutorial & Projects i have another sensor module named KY-038 it is composed of 4 output i try to install it but he doesn't work so if you can,send me the schema and the code please thanks, you are the best in arduino videos :)
@amChinni.
@amChinni. 4 года назад
Sir electromagnetic relays are their in ur project can it work without relays
@planetanubis
@planetanubis 7 лет назад
great tutorial, could you tell me if there is a way to run it off a 9v battery or aa batterys , instead of the mains , to use in a model
@DTUElectro
@DTUElectro 4 года назад
You can't connect it directly to the 9v battery, since it wouldn't have any programs in the storage or any CPU. You could charge the Arduino wkth the battery, but the output would be the same (5V).
@timothydillan4062
@timothydillan4062 6 лет назад
how do you make the led turn on at a certain decibel?
@kennethkindrich3114
@kennethkindrich3114 4 года назад
can you please show how to do this for servos?
@adarshhomes1307
@adarshhomes1307 7 лет назад
which software are you using for circuit diagram
@Ashavechog
@Ashavechog 6 лет назад
I would like to use a traffic light and have it come on in three stages (green, yellow, and red) as the kids get louder in Sunday school, is that possible with this configuration?
@tojotaco3822
@tojotaco3822 4 года назад
First of all, fantastic idea! Second, try using analogRead() instead of digitalRead(). This can give you way more options than just one and zero. Use if statements to figure out what level of sound you want to use. I hope this helps!
@easonlinminbo7862
@easonlinminbo7862 6 лет назад
What program you are using?
@joshkosar9555
@joshkosar9555 4 года назад
Did anyone else notice that he did not wire that resistor in series? both sides of the resistor are connected to the same bus on the breadboard so no current will flow through it. It works temporarily because the arduino cant supply enough current to pop that LED right away, but it will wear the LED out very fast.
@michaelpotter9345
@michaelpotter9345 6 месяцев назад
Yeah im a total beginner and I spotted that,
@TheWareek
@TheWareek 3 года назад
only just seen this look like fun. But isnt that resistor of no use it both legs are in the same row on the breadboard.
@muhtadi313
@muhtadi313 5 лет назад
how to specific the sound in this sensor
@khoanguyen-qi2lm
@khoanguyen-qi2lm 4 года назад
is it okay if I replace the LED with a light strip?
@akshayrana7239
@akshayrana7239 5 лет назад
Can i use the same concept to work on a specific frequency of sound ? Like the light will turn on and off only when the frequency of the sound reach desired one .
@ForTheWin863
@ForTheWin863 5 лет назад
Me trying to figure out same thing
@jadelkhechen3848
@jadelkhechen3848 5 лет назад
yes of course you can
@muhammedjamal6952
@muhammedjamal6952 2 года назад
@@jadelkhechen3848 how do you do that? I have a project tomorrow and I’m banging my head against the wall tryna figure it out
@yifanwang760
@yifanwang760 7 лет назад
How can I read the sound frequency number and record as log file? Thank you so much for such clear and easy to follow video!
@milossarac5234
@milossarac5234 7 лет назад
You can read it in Serial monitor. Just add in void setup Serial.begin(9600); and in end of the program before last curly braces } add this code: Serial.print(digitalRead(2)); Serial.println(" "); It will show just 1 and 0 because its digital read.
@yifanwang760
@yifanwang760 7 лет назад
Milos Sarac thank you so much!
@bayvlogger2051
@bayvlogger2051 7 лет назад
sa kardesim helal sana
@aqsaamin7424
@aqsaamin7424 6 лет назад
if there is any module that dectect the different led light and stop there please tell me
@brandondmello5645
@brandondmello5645 6 лет назад
Hey man im just trying this stuff out now. For some reason my sensor over heats alot but all the wiring is correct because the light turns on. But it just stays on, theres no flashing to music or anything. Do you know what could be wrong?
@jackgilbert5313
@jackgilbert5313 6 лет назад
Having this problem too. Considered that it may be a faulty sensor(have played around with the connections for GND, +5V and OUT to see if the legend on the sensor is incorrect(I have bought a LM393)). Have you found any fix for this problem yet?? Thanks
@JahidulIslam-tc4mb
@JahidulIslam-tc4mb 5 лет назад
What would happen if we didn't used the resistor ? or a different resistor
@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?
@Ravionn.
@Ravionn. 5 месяцев назад
NOT THE MEME BRO NAHAHHHAHAHAHAHHA
@amritlalsingh7780
@amritlalsingh7780 7 лет назад
what soft ware do you use to display hardware's
@amritlalsingh7780
@amritlalsingh7780 7 лет назад
than☺☺x
@ferminf.j.5916
@ferminf.j.5916 3 года назад
How can i found the sound sensor component in tinkercad??
@devilmanta06
@devilmanta06 4 года назад
what is the name of the circuit simulator program?
@taditarun2448
@taditarun2448 7 лет назад
if i read the analog values ,what does it return?
@xPinoyTribal
@xPinoyTribal 7 лет назад
My sound sensor doesn't listen to me lol. It seems to hear a lot of distortions, i don't have it soldered so idk if that's the cause but i have attached it to the breadboard
@pratikchavan9806
@pratikchavan9806 6 лет назад
how can we connect this all with GSM module???
@kryptocat4240
@kryptocat4240 6 лет назад
sir please please make a video on how to make drone
@rothanasereyhor9278
@rothanasereyhor9278 5 лет назад
Pardon me but I don’t have sound sensor library how can I do it or add it? Cuz it doesn’t work btw
@veenanavetia627
@veenanavetia627 7 лет назад
what is the name of black wire you use in arduino
@mukhtarshaikh5440
@mukhtarshaikh5440 3 года назад
Can we use dc motor in the place of light
@ansaridanish5589
@ansaridanish5589 7 лет назад
Please tell me the name of the wires used in this project
@mohammedasif1955
@mohammedasif1955 7 лет назад
Hi, Can you please tell me how to trigger camera flash via Arduino nano. I have Arduino, sound sensors some electronics basic kit. I want to trigger flash using sound sensor. Any guidance will be of much help.
@PravinKumar-yx7bz
@PravinKumar-yx7bz 5 лет назад
Can one ardino do multi work
@paridhiagarwal9205
@paridhiagarwal9205 6 лет назад
Can I use 4 pin sound sensor
@abhishekkongari4445
@abhishekkongari4445 4 года назад
How can a set a base voice which need to be detected
@sizofreniucgeni4803
@sizofreniucgeni4803 7 лет назад
Abi led ampullerden nerede bulabilirim şimdiden teşekkürler
@user-or2sh6tb3p
@user-or2sh6tb3p 6 лет назад
رائع جدا
@JKFCV
@JKFCV 3 года назад
Can we record sound using this sensor?
@F_N9901
@F_N9901 6 лет назад
how can we add multiple leds......
@nomanqureshi5467
@nomanqureshi5467 6 лет назад
pleace how to delet project on mit app inverter
@joshuasamuel2953
@joshuasamuel2953 5 лет назад
is it wireless ?
@nish316
@nish316 3 года назад
what if im using 10k ohm resistor? will led not ligt on?
@canerturkvideo4053
@canerturkvideo4053 6 лет назад
merhaba ben CAN videoda dediklerinizi aynen uyguladım ancak alttaki hatalari verdi. Yardimci olabilir misiniz teşekkürler Çalışmanız programın 910 bayt (2 %) saklama alanını kullandı. Maksimum 32256 bayt. Global değişkenler belleğin 9 byte kadarını (0%) kullanıyor. Yerel değişkenler için 2039 byte yer kalıyor. En fazla 2048 byte kullanılabilir. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x1b avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1b Karta yüklenirken sorun oluştu.
@canerturkvideo4053
@canerturkvideo4053 6 лет назад
Çok teşekkür ederim işe yaradı
@Anl-.-
@Anl-.- 6 лет назад
Mert öncelikle merhaba ben bunu ses çıkınca açılıp ses çıkınca kapanan yapmak istiyorum yani eşiği artirip alkışla yapmak istiyorum açıyorum ama kapatamıyorum nasıl yapmalıyım kodu
@igrewold
@igrewold 6 лет назад
Good stuff but that is an indicator(output; visual kind) not a sensor(input; audible kind, or any other) I know in the Arduino world the word SENSOR means just a module/break-out/tiny board but in electronics and computing it's different.
@ibnuhajar8098
@ibnuhajar8098 4 года назад
Kalau pakearduino nano bisa ya mas ?
@maibeemagsakay4405
@maibeemagsakay4405 5 лет назад
does it work with mosquitoes?
@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.
@diytronics-diy3133
@diytronics-diy3133 7 лет назад
Nice videos but how did u create the blogspot
@diytronics-diy3133
@diytronics-diy3133 7 лет назад
can u sent me the link
@diytronics-diy3133
@diytronics-diy3133 7 лет назад
I want to create my blog like yours
@diytronics-diy3133
@diytronics-diy3133 7 лет назад
I am beginner so please help me
@Mark-qx6ib
@Mark-qx6ib 6 лет назад
it didnt respond to sound sensor.. the led light always turn on... what should i do?
@ArmanAli-uc6ry
@ArmanAli-uc6ry 6 лет назад
what if i want to connect multiple leds
@MrDmadness
@MrDmadness 4 года назад
Wire more in to the circuit. Or make them controlled using the different pins and variables in your code.
@haleyhoyt535
@haleyhoyt535 7 лет назад
I am getting a lot of errors of Processing when I input the code. It says things like: "The variable 'INPUT' does not exist", "The variable 'HIGH' does not exist", and "Error on 'else'". Do I need to install some kind of a new library or something? I am brand new to Processing and Arduino, so I am completely lost! Thank-you in advance!
@haleyhoyt535
@haleyhoyt535 7 лет назад
Okay, thank-you so much!
@lucasianii8178
@lucasianii8178 3 года назад
Is it possible to use this Sound Sensor without using arduino?
@codingtimes3199
@codingtimes3199 7 лет назад
Please jour vidéo ils Nice but i want do you help me witch this arduino code
@ppp3548
@ppp3548 6 лет назад
sir iska program kese milega
@mandymishra5502
@mandymishra5502 6 лет назад
Mara pass only sound sanser ha us ksa bana hai
@gerardovera7397
@gerardovera7397 3 года назад
disculpa hice todo tal y como esta en el video y no sale jajaja ni siquiera el código esta correcto ,a que se debe ?
@ansaridanish5589
@ansaridanish5589 7 лет назад
Can I know which wires are used in this project
@rothanasereyhor9278
@rothanasereyhor9278 5 лет назад
ansari danish male wire and female to male wire
@onurmengun36
@onurmengun36 6 лет назад
BU VIDEOYU IZLEYEN ILK TÜRK
@ArvoTomingas
@ArvoTomingas 5 лет назад
Resistor placed in this way is useless, because current will not flow through it.
@brscrb143
@brscrb143 4 года назад
We have made it 4 times but its doesn't workings
@fame_xyz
@fame_xyz 5 лет назад
Iski distance range Kitni hai
@mw9524
@mw9524 3 года назад
uhmm. Decent quality video. But, he shorted the resistor in both the breadboard circuit and the simulator circuit (by putting both ends of a device on the same row, the device is eliminated from the circuit). ..thought I should mention it in case some newbies need the clarification.
Далее
Lesson 20 - Sound Sensor Module KY-038
26:46
Просмотров 126 тыс.
Sensors - which one to use
17:06
Просмотров 1,3 млн
Arduino with Sound Sensor and LED (Tutorial)
5:06
Просмотров 319 тыс.
Détecteur de bruit
4:26
Просмотров 2,5 тыс.
Arduino Sound Sensor Modul - Tutorial (Deutsch)
8:55
DIY sonar scanner (practical experiments)
14:30
Просмотров 1 млн
Треш ПК за 420 000 рублей
0:59
Просмотров 158 тыс.