Materials required: 1)An Arduino Uno(with its adapter) 2)Sound sensor 3)Jumper wires 4)A LED Hope this is helpful. Check out the code here: kandrproject.b...
Пікірлер: 237
@tatvamkrishnam6691 Жыл бұрын
It's working good for me! Thanks for the tutorial. For some people in comment section who did not get output - 1. Capital 'S' in Serial.begin(9600) should be used 2. Newly bought sound sensor should be adjusted to normalcy - by screwing the potentiometer in anti clockwise (Analog output pin nearer to you) direction for "20 turns" or so
@tameemullas5868 Жыл бұрын
Brother even I also did it in same way but the LED is on through out all time it doesn't react to sound can plz explain?
@besanamateojrd.376 Жыл бұрын
Thanks Bombay., IT students in the Philippines are always watching Indian Tutorials incomes of IT major subjects.
@Otranna Жыл бұрын
Thanks friend. I was worried why my project it doesn't work but this was helpful.
@michaelborisow8153 жыл бұрын
No bullshit, no ambiguity, and you spoke English because the title is also in english. 1100/10
@rithikgobinath12075 жыл бұрын
I am 12 years old, I am very interested in Arduino. I was succeeded in this. Thank you a lot.
@DreThePlug4 жыл бұрын
It is a very clever component
@dnevnipodsjetnik5 жыл бұрын
It doesn't make any sanse you connect D0 on the sensor to analog input on arduino. When you check readings from D0 (sensor) with command Serial.println (soundsens); it will show you readings like 1023 (and no chance will you change with trying to adjust the potenciometer). BUT if you connect the wire to A0 (instead of D0) on the sensor you will get accurate readings. THEN you can spin the potenciometer and try to put it to 150-160 while watching its read on Serial monitor. Then when you clap your hands the readings will go above 200 and the LED will shine.
@krproject89175 жыл бұрын
You can do it however you want. There are no restrictions in programming and electronics.
@micahproulx19895 жыл бұрын
It didnt work i got the program perfect yet still whenever i apply power the led turns on. Explain if you can thanks sir.
@toddmoore1125 жыл бұрын
@@krproject8917 what he is saying is right. Digital output from sensor means high or low. There is no in between values . You have to use Analog output of the sensor
@toddmoore1125 жыл бұрын
@@micahproulx1989 use Analog output of the sensor
@micahproulx19895 жыл бұрын
@@toddmoore112 I tried that, whenever i apply power it just turns on. Thanks, Micah.
@GetRealwithMike2 ай бұрын
Thank you for providing language, not music.
@DeAngeloYouKnow3 жыл бұрын
When you copy his code don't forget to change the A# pin to which ever number you plugged in your cable to. A very pivotal part that was missing.
@zerepedits Жыл бұрын
Thanks bro
@DonaldIssachar Жыл бұрын
My sound sensor circuit isn't working, the LED lights up and stays on. It doesn't light up or turn off when it is suppose to. There is no error in the code, as the Arduino IDE says there is no error. The connections appear to be good as well since I double checked. The only difference is that I am using NANO to save space time and money.
@adityabansal982811 ай бұрын
Hey, idk if you still need this, but try adjusting ur threshold in the int's at the top. Everyone has a different value, but for me it was 1015. you will have to play around with it a bit, but i hope this helps.
@stellalandi86874 ай бұрын
Thank you! It was really simple and helpful, you really saved my project
@NorizhamHamsanАй бұрын
Hello there, great video! Could I know threshold value of the sensor? What does it mean by 200? It is by value of hertz or decibel? or other? thanks..
@rajchaudhary35434 жыл бұрын
Still i am not getting how can connect the digital output pin of the sound sensor with the analog pin of the arduino.
@humbertojunior5646 жыл бұрын
man, thank you very much after seeing your video I was able to find the error in my project and now I was able to execute everything in compliance, thank you again and continue making videos like this, a hug for you from Belém-Pará-Brazil.
@krproject89176 жыл бұрын
Happy to help.
@vinivinefera5636 жыл бұрын
Hello!! Which microphone/sound sensor did you have specifically used?? Actually I have to detect whether sound exceeds a threshold value or not.... Thanks in advance!!!
@jomac_ph9 ай бұрын
thanks for the upload man, this was awesome!
@Mister_UCL Жыл бұрын
Like should the adapter be connected to the laptop or can we take out and it will still work
@tameemullas5868 Жыл бұрын
Brother I did it in the same way as you but its not working, I copied the program and pasted it, but the LED is on it doesn't react to sound , connections are also made properly, can you give any idea for it?
@tameemullas5868 Жыл бұрын
Plz reply me brother
@nuelaenebechi68614 жыл бұрын
This is amazing!! It worked perfectly for me!!
@tameemullas5868 Жыл бұрын
How does it plz explain, my LED always on it doesn't react to sound though any idea, if you have did it?
@ramyaramya27222 ай бұрын
Same
@saggirish Жыл бұрын
Thanks for the video. My led is always on. I tried both AO and DO from sound sensor and connected to A2. Also tried adjusting the potentiometer.
@tameemullas5868 Жыл бұрын
Same problem
@adityabansal982811 ай бұрын
Hey, idk if you still need this, but try adjusting ur threshold in the int's at the top. Everyone has a different value, but for me it was 1015. you will have to play around with it a bit, but i hope this helps. @@tameemullas5868
@danielenocito50804 жыл бұрын
Thanks mate, very clear and useful 👍 It would be nice if you could show also the Serial Monitor All the best
@millanferende67233 жыл бұрын
If wonder if this would work as an early-alarm? If you were to somehow glue this behind a lock, or a window? Is there a way to make it detect ONLY high (or only low) pitched sounds? That would be amazing for a security system...
@priyankagoyal38854 жыл бұрын
Its coming error in else line that is in the end :exit status Expected unqualified id before 'else'
@dylanneve14562 жыл бұрын
do you can do it with 3 pin's of the sound detector
@aisyahhadiismail Жыл бұрын
Hi, i need help. Why when i run the coding, it appear 'A2' was not declared? I copy exactly like yours. THank you.
@michaelolifian13245 жыл бұрын
why mine cant react to the sound? after done program it and compile it, the LED is on but cant turn off by sound. what should i do?
@abhrogupta88405 жыл бұрын
u need to set the potentiometer....
@marissa.kswd224 жыл бұрын
What if you power your arduino uno with an external battery. Would you still need to connect the plus power pin of the sound sensor to the 5V input of the arduino uno? Or would you have to connect it to another input?
@-m7k0z7-95 жыл бұрын
Can it be programmed to detect certain sound signal patterns that work as an encrypted "message", which then can be translated into a code that unlocks the encryption, and activate a certain command? *The device would detect any sound, but woun't initiate that specific command until it has received the proper sound signal.
@maayankarthi9745 Жыл бұрын
'Serial' was not declared in this scope 'A2' was not declared in this scope ihave this type of error how to solve it
@baldaiomir3 жыл бұрын
thanks! also,why did you use "serial begin9600"? i think its wasn't necessary for this project, but correct me if im wrong
@Astrovic13 жыл бұрын
Hey, I have one question.. I have another component connected to the Arduino, so the 5V place is already taken. How to connect the Sound Sensor + then?
@jahdielbuenafe70713 жыл бұрын
2 question,..1st question - what do i put in threshold to enable the LED when i say "hi" ?...2nd question - what application did you use in your computer ?,thx.
@user-rq6bj5hb8w2 жыл бұрын
This video is very usefull for me.Thank You
@1SGBob13 жыл бұрын
Is there a way to use the sound output via a mini stereo cord from say a phone or computer jack and read it instead of reading it in open air via the microphone module?
@myyoutube69782 жыл бұрын
Can sound be recorded and sent across the house to receivers and sensor's? Once you pass them?
@jharedpeje50484 ай бұрын
hey, why does the other LED of my KY-038 doesnt turn off like yours?
@jharedpeje50484 ай бұрын
ive been twisting the potentiometer for a long time now
@ayushsaini87914 жыл бұрын
it was really helpful, and thank you for the code explanation
@Esthicodes3 жыл бұрын
Hello, may I ask how to let my Arduino connect with Bluetooth and resonate sound?
@sanket_chor2 жыл бұрын
Tinkercard mein sound sensor available nahi hai kaise kare
@najiyanazrinpn1012 жыл бұрын
What should I do if I have ESP32 instead of Arduino?
@worldofartandcraft8361 Жыл бұрын
Cam you tell some more info abt the potentiometer??plsss
@christiansison93414 жыл бұрын
whys my led doesnt light . all are the same with the video? thanks for the help
@prasannajitshinde71864 жыл бұрын
Can we use PIC18F4520 microcontroller instead of Arduino Uno..??
@shaunsomaru45244 жыл бұрын
You have a new sub.. Good explanation. Keep up the good work.
@clobel552 жыл бұрын
how did you get paid to write this. This guy is totally incomprehensible
@bacalovalexander68702 жыл бұрын
My LED is on but no clap...Whats the problem?
@timothydillan40626 жыл бұрын
is there a way where the led would turn on at a certain decible? so like: if (decible = >60) { digitalWrite(LED, HIGH); } else { digitalWrite(LED, LOW); } }
@krproject89176 жыл бұрын
can I see the full code?
@anthondiy2 жыл бұрын
Nice bro more learn about this kee it up
@leerzeichen19103 жыл бұрын
How can i use this sound sensor for more applications with different power consumption?
@SametKaracoban6 жыл бұрын
thank you so much my friend
@allcontentarehere25882 жыл бұрын
Can we connect motor instead of light
@tetsux4172 Жыл бұрын
threshold value is for what
@jefferyhammond14213 жыл бұрын
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?
@gsgamer9940 Жыл бұрын
U get it ?
@Gyaan_With_Azhar5 жыл бұрын
Who to adjust potentiometer
@rushabh.patel145 жыл бұрын
How to connect two sound sensors at a time and read them simultaneously?
@msureshmudaliar98083 жыл бұрын
Bro..., in need aurdino program code for my project work.... If possible can you provide it
@neetukumar91594 жыл бұрын
Great ,it's working properly
@vinaybakle64435 жыл бұрын
From same code can we add to switch relay to turn on light or other devices? Do you have any video of such?
@ashlealhinkle6 жыл бұрын
Hi I’ve done exactly what you instructed but the LED is constantly on. I’ve tried adjusting the sound sensor but does not help.
@krproject89176 жыл бұрын
You must adjust your potentiometer. First, turn it clockwise and try. If it doesn’t work, turn it anti clockwise and try.
@ashlealhinkle6 жыл бұрын
K&R project Thank you. I figured it out. I did not realize you had to turn it a certain direction to adjust , I also had to turn it SEVERAL times for it to work. I appreciate your response.
@taimgangez90846 жыл бұрын
my led light still is on it doesnt turn off please help
@krproject89176 жыл бұрын
You must adjust your potentiometer. First, turn it clockwise and try. If it doesn’t work, turn it anti-clockwise and try again.
@nizamudeenmohammed88986 жыл бұрын
Led is emitting without knocking sound. how to set Thres hold value
@krproject89176 жыл бұрын
First adjust the potentiometer. There are two small LEDs on the sensor. Adjust the potentiometer such that the small one turns on only while receiving an input.
@josepadilla-dv3ld5 жыл бұрын
can i adjust the potentiomater while connected to power? @@krproject8917
@krproject89175 жыл бұрын
@@josepadilla-dv3ld YES
@electroflam Жыл бұрын
it doesn't work because he tells me « ledpin was not declared in this scop »
@rayyanrayyan3313 жыл бұрын
How to put a buzzer instead of led
@omrihabmimo22992 жыл бұрын
Thank you so much , it's really work ❤️💪🇩🇿
@Lovestoryi41732 жыл бұрын
Please explain the mi how to do this please send the coding
@ismaelobligacion75316 жыл бұрын
I can't adjust the potentiometer there. The led light besides it does not turn off. Any help?
@tadejdezelak55115 жыл бұрын
i have the same problem :(
@nginastera66336 жыл бұрын
hello .. my led is on and i've tried to adjust the poteniameter but it doesnt work !! PLEASE HELP
@krproject89176 жыл бұрын
First, turn it clockwise and try. If it doesn’t work, turn it anti clockwise and try.
@GauravSrivastava-xz4jy5 жыл бұрын
The LED is being continuously glowing although there is no sound stimulus. Pls help me bro.
@kavithamanjunath87785 жыл бұрын
Even for me
@SeanONeill135 жыл бұрын
That is the power led on the sound board.
@birombah35714 жыл бұрын
You have to connect A2 to AO on the sensor
@ibnuhajar80984 жыл бұрын
Kalau pake arduino nano bisa ya ?
@kratikapatidar3363 жыл бұрын
exit status 1 Error compiling for board Arduino Uno.
@Smiley-sm2cq5 жыл бұрын
Can I use same sound sensor with raspberry pi 3b+?
@huntersimms61345 жыл бұрын
I tried for about an hour adjusting the potentiometer but the light that is only supposed to go off from sound is unable to to turn off. Could something be faulty with my sound sensor? It looks like the exact same one from the tutorial. Since this is the case, the LED on the UNO is constantly turned on as well as the 2 LEDs on the sound sensor. Any advice is appreciated. I've watched the tutorial 3 times now.
@zannelleooko17452 жыл бұрын
Use the analogue pin of the sound sensor...not digital
@WhiteRafiOfficial2 жыл бұрын
@@zannelleooko1745 Thank you!
@xenotech3857 Жыл бұрын
Had the same problem!
@KannadaAdviceTv3 жыл бұрын
Can we calculate the decibel
@christianlawan3363 жыл бұрын
why is led always on on my project what is the problem of this? even without sound the led is always on
@ramyaramya27222 ай бұрын
Yes same
@katea96473 жыл бұрын
do we really need to put the led on the board?
@katea96473 жыл бұрын
what it is for?
@davidhugheszerobubblemodel18655 ай бұрын
have done exactly what you have shown and it simply does not work.
@Bianchi772 жыл бұрын
Creative video, thanks for sharing :)
@ramyyadontul41262 жыл бұрын
Whear is delay program
@ramyyadontul41262 жыл бұрын
Can we use nano aurdino?
@fame_xyz5 жыл бұрын
Iski distance range Kitni hai
@michael9239776 жыл бұрын
nice tutorial. mmm i have a trouble. in your tutorial, you find high/low sensor. if high then led on. can i get a frequency this sensor?
@krproject89176 жыл бұрын
Michael Indra Pramana you can print the sound sens value and see if it gives u the data.
@krproject89176 жыл бұрын
Serial.println(soundsens);
@yansahkorg18764 жыл бұрын
Hi guys, how do you make a guitar sound catcher?
@analytics54813 жыл бұрын
You helped me so much
@ShivharakhYadav3 жыл бұрын
where we use this type of projects???
@amirgedon5 жыл бұрын
How many can set led for mega? Can do separately?
@kennethkindrich31144 жыл бұрын
can this be done with servos? If so, how can i do this?
@JKFCV3 жыл бұрын
Can we record sound using this sensor?
@rodym16816 жыл бұрын
hi how are you sorry for disturbing i copy and past the cod every thing is ok but the led is on all ways can you help me plz
@krproject89176 жыл бұрын
Check the small LED on the sensor. If it is turned on with giving any sound input, your potentiometer is not adjusted properly and the condition of the code is always satisfied. Adjust it such that the Sensor's led turns on only when you give some input. This will solve the problem. Sound sensor becomes problematic when the potentiometer is not adjusted properly.
@rodym16816 жыл бұрын
K&R project hi I adjusted and the led sound sensor is on
@rodym16816 жыл бұрын
The led sound sensor is on and the led output is also on also if there is sound or no sound the output led is always on
@rodym16816 жыл бұрын
Hello the output led is always on if (their is sound or not )
@muhammadnaquib88144 жыл бұрын
Why my LED doesnt light up even though the circuit is same to yours brother? HELP HELP HELP
@niniksriwulandari38574 жыл бұрын
Same here
@jodethb.67275 жыл бұрын
My sound sensor heated what does it mean?
@sirinekari66614 жыл бұрын
Can you please give us the circuit in proteus !!?
@shubhrehabkolkata5 жыл бұрын
Sound sensor with sargo 180° Pogroms..... Plz send me..
@emilianocorral51496 жыл бұрын
Need help. I've done everything as you said, i've copied the code and connected all, same as you, But the led is everytime on, i cant find the way to make it turn off and then react to a song or sounds. What could be the problem ?
@alaoadedapo22776 жыл бұрын
Pls send me the code. engrdapo@gmail.com
@krproject89176 жыл бұрын
Please try adjusting the Potentiometer. Also, check if you've delayed the program elsewhere using the "Delay" function.
@gabriellobato7816 жыл бұрын
i have same trouble you can resolve??? how plzz
@tadejdezelak55115 жыл бұрын
same problem with me
@vinivinefera5636 жыл бұрын
Hello,Your explanation is really great and it is upto the point ..I have a doubt,hope u will clear it I want to set a threshold value and based on that, if the sound exceeds the threshold (then the Arduino needs to command GSM to make alert call). Is detecting higher range sounds be done by modifying your circuit and code a bit??? For this, can you tell me what are all the requirements I need to have? Thanks in advance!!
@krproject89176 жыл бұрын
Yup. You can change the threshold value for different ranges. Just remember that this sound sensor cannot detect wide variety of input as it is just a small sensor for small projects.
@niatidas62955 жыл бұрын
Can we make a sound sensor work on a specific soundn
@soap59124 жыл бұрын
adjust the sensitivity by screwing the blue thing
@stxjubayer65055 жыл бұрын
Does it recognize voice command?
@bayupratama73236 жыл бұрын
Can I use gy max4466 for this project?
@jerzyszczepanski97923 жыл бұрын
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.
@Plqnes4 жыл бұрын
Pls do for RGB strip (adressable)
@hotgames17632 жыл бұрын
can you help me in my project
@clobel552 жыл бұрын
please sir , we don't understand 1/2 of what you say.
@wireghost8975 жыл бұрын
Thanks man... saved my ass...
@REXTERVHALROSALEJOS Жыл бұрын
helppp mine is not working
@Mad_Lex6 жыл бұрын
Hello Man nice job Could you show how to do it with a 5050 LED strip?
@krproject89176 жыл бұрын
Do you mean use 5050 led strip instead of a led?
@Mad_Lex6 жыл бұрын
K&R project yes a RGB strip , no RGB LED , I ve tried with npn transistor but I cant light Up the 3 colors 🤔
@krproject89176 жыл бұрын
It maybe because the arduino’s power supply is not enough. Try by using two or more transistors.