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
  • НаукаНаука

Комментарии • 33

  • @zackper
    @zackper 4 года назад +5

    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!

  • @smoshfann24
    @smoshfann24 3 года назад +1

    That was a solid tutorial. Really helpful

  • @RupertSalas
    @RupertSalas 3 года назад +1

    Great explanation thank you sir!

  • @tav9755
    @tav9755 Год назад +3

    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.

    • @Q26Video
      @Q26Video  Год назад +3

      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!

  • @samuelmuentes
    @samuelmuentes 3 года назад +1

    Excellent video. Very helpful. And to be honest, I only clicked "like" because you asked me to, haha.

    • @Q26Video
      @Q26Video  Год назад

      Glad it was helpful!

  • @mingosutu
    @mingosutu 3 года назад +1

    Great, thanks. How could I add a recording system to this sound sensor project?

  • @user-ny5be4lm8z
    @user-ny5be4lm8z 2 года назад

    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...

  • @MatSmithLondon
    @MatSmithLondon 3 года назад +1

    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?

  • @SriKatari
    @SriKatari 3 года назад

    As there is analog output pin for the sound sensor what will be the range of frequencies it would identify

  • @daviddiligentful
    @daviddiligentful 4 года назад +1

    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?

    • @Q26Video
      @Q26Video  4 года назад +1

      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.

  • @projectece
    @projectece Год назад +1

    GOOD JOB

    • @Q26Video
      @Q26Video  Год назад

      Glad you enjoyed the video! Thanks

  • @bhushanwalve1929
    @bhushanwalve1929 2 года назад

    hey can you use ESP 32 with TTGo Tsim 7000 so that it can sound sensor can measure and repot it to mobile phone

  • @HoHoMoMoo
    @HoHoMoMoo 3 года назад +1

    try
    digitalWrite(Led,micState);
    you will have a real-time output from the LED 😉

    • @michaeldeloso9042
      @michaeldeloso9042 4 месяца назад

      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

  • @sibayonchatterjee8596
    @sibayonchatterjee8596 2 года назад

    Can I test this module with only a battery and LED?Because I hav not arduino at present.

  • @mowtown75
    @mowtown75 Год назад

    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

    • @Q26Video
      @Q26Video  Год назад +1

      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...

  • @iyinoluwao3393
    @iyinoluwao3393 4 года назад +1

    How would I set up the arduino in order for a motor to rotate 180° when sound is detected?

  • @BillPutnamPhoto
    @BillPutnamPhoto 3 года назад +1

    Andruino noob here. Can you run this without the breadboard?

  • @pbb7536
    @pbb7536 4 года назад

    Sir, Can i control various led according to various loudness of sound?

    • @Q26Video
      @Q26Video  4 года назад +1

      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...

  • @JKFCV
    @JKFCV 3 года назад +2

    Can we record sound using this sensor?

    • @Q26Video
      @Q26Video  3 года назад

      That's unlikely - it's intended just to detect sound and to react...

  • @edrikallahverdi3266
    @edrikallahverdi3266 Год назад

    I need to create something like this to move a mechanical finger in response to sound. is that possible?

    • @Q26Video
      @Q26Video  Год назад

      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!

  • @michaeldeloso9042
    @michaeldeloso9042 4 месяца назад

    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