Using and coding a Microphone Sound Sensor with Arduino
HTML-код
- Опубликовано: 1 май 2019
- Make a useful project with one of these sound detection sensors.
Scroll down for contents, links and more information.
Click here to Subscribe to our channel:
/ @q26video
Make a useful project with one of these sound detection sensors - a baby alarm, a flashing light for someone who can't hear their doorbell or cooker timer, an intruder detector or an LED flashing music display.
With an arduino or other logic board and a couple of components you can quickly and easily make your project, and we show you how to do this in this video, along with the arduino code to get you started.
Contents includes:
00:29 Parts needed
01:17 Set up the Mic Sensor
01:58 Connect to Arduino
02:44 Arduino Sketche
04:35 Upload & Test
Links:
More information, including the Arduino Code and a link to get your components is on our website here:
www.q26.co.uk/sensors/microph...
Click here to go to our Website for more information and our shop:
www.q26.co.uk/
Subscribe to our channel for more videos on Electronics, 3D Printing and more:
/ @q26video
Click the Bell icon for video alerts.
Q26 Videos by Mortimer Rhind-Tutt Наука
Sir that tutorial was far superior to the other ones out there. Nothing had worked out for me because nobody explained the potentiometer threshold. Thanks a lot!
Glad it helped
That was a solid tutorial. Really helpful
Great explanation thank you sir!
Sir, you make very useful videos. They are well recorded, professionally edited and your explanations are spot on. I also follow your Rediscovering radio series since I recently received my licence that I planned for since I was at school and finally took the test. Keep on the good work.
Thank you so much for your kind words - I'm glad to have been of help and hope that you have a great time with your radio hobby too! I'm working on a video now about antennas for QRP and the QCX series, especially for using in small places and outside locations...it's a lot of fun!
Excellent video. Very helpful. And to be honest, I only clicked "like" because you asked me to, haha.
Glad it was helpful!
Great, thanks. How could I add a recording system to this sound sensor project?
very interesting...would there be any possibility to have different outputs like very loud medium etc...i need to design a device capable of monitoring sound levels remotely...
Hello, Mat from London here - this looks reasonably sensitive. I have just bought 30 (!!) from Aliexpress but I received the same board but a different electret mic, it is smaller and points upwards from the board. The red LEDs on the board don't even come on when connecting +5 and GND, and the signal is constantly high despite adjusting the pot. Any clues?
As there is analog output pin for the sound sensor what will be the range of frequencies it would identify
Very clear explanation. Thank you. One quick question: if I have other codes that also use delay(time) (say codes control other LEDs as a clock, which delays the whole loop (e.g 'delay(1000)' ), then those codes will not allow the mic to 'listen' at real-time? How do we solve it?
delay(time) holds up everything - an alternative is to use 'millis' or to use 'interrupts' - you can find more about these on the Arduino pages. Glad you liked the video.
GOOD JOB
Glad you enjoyed the video! Thanks
hey can you use ESP 32 with TTGo Tsim 7000 so that it can sound sensor can measure and repot it to mobile phone
try
digitalWrite(Led,micState);
you will have a real-time output from the LED 😉
Good day Sir 👋
How may I set my 4 pcs of 4 pin rgb led module to my 4 pcs of speakers separately 1st 4pin rgb led module to 1st speaker, 2nd 4pin rgb led module to 2nd speaker, 3rd 4pin rgb led module to 3rd speaker and 4th 4pin rgb led module to 4th speaker with super slow changing colors such as 10 seconds delay transition colors of fading rgb and switch automatically to music reactive mode when there is playing music or songs on my videoke and turn back automatically to super slow changing colors of red green blue when there's no music playing or in standby mode?
4 pcs of 4 pin rgb led module to my 4 pcs of speakers separately:
1st 4pin rgb led module to 1st speaker,
2nd 4pin rgb led module to 2nd speaker,
3rd 4pin rgb led module to 3rd speaker and
4th 4pin rgb led module to 4th speaker
Can I test this module with only a battery and LED?Because I hav not arduino at present.
Great tute thx. May I ask how to substitute the led function for switching on a seperate circuit such as a light or motor that has its own power supply? Do u have a tute for that please.
Use case might be when a threshold of sound is heard or motion is detected the arduino turns on a small motor that is powered by its own 9v dc battery.
Or it actuates a relay to do same.
Thank u 😊. Tim
Glad you enjoyed the video - you can do any of these things by triggering a relay or mosfet - you need to protect the arduino, so some circuitry such as a ULN2003 would be helpful. I will look into making a video to take this topic further...
How would I set up the arduino in order for a motor to rotate 180° when sound is detected?
Use servo motor
Andruino noob here. Can you run this without the breadboard?
Sir, Can i control various led according to various loudness of sound?
Thanks for watching and for your question - you may be able to do this using the analog output of the module - I'm sorry but I haven't looked into this in detail yet...
Can we record sound using this sensor?
That's unlikely - it's intended just to detect sound and to react...
I need to create something like this to move a mechanical finger in response to sound. is that possible?
Yes - but it's too big a subject to describe in a comment - if you search for videos or other info about relays, motors and actuators, you'll be able to control a mechanism. Good luck!
Good day Sir 👋
How may I set my 4 pcs of 4 pin rgb led module to my 4 pcs of speakers separately 1st 4pin rgb led module to 1st speaker, 2nd 4pin rgb led module to 2nd speaker, 3rd 4pin rgb led module to 3rd speaker and 4th 4pin rgb led module to 4th speaker with super slow changing colors such as 10 seconds delay transition colors of fading rgb and switch automatically to music reactive mode when there is playing music or songs on my videoke and turn back automatically to super slow changing colors of red green blue when there's no music playing or in standby mode?
4 pcs of 4 pin rgb led module to my 4 pcs of speakers separately:
1st 4pin rgb led module to 1st speaker,
2nd 4pin rgb led module to 2nd speaker,
3rd 4pin rgb led module to 3rd speaker and
4th 4pin rgb led module to 4th speaker