Using and coding a Microphone Sound Sensor with Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 37

  • @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!

    • @Q26Video
      @Q26Video  4 ปีที่แล้ว

      Glad it helped

  • @tav9755
    @tav9755 2 ปีที่แล้ว +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  2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Glad it was helpful!

  • @smoshfann24
    @smoshfann24 4 ปีที่แล้ว +1

    That was a solid tutorial. Really helpful

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

  • @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?

  • @miro.s
    @miro.s 2 หลายเดือนก่อน

    There is also one problem with higher load from the source when voltage drops down by 0.1V, then the module doesn't detect sounds on digital output and I need to move with potentiometr one turn. If it is at all boards so, then it is for children and can not be used in applications and production.

    • @Q26Video
      @Q26Video  หลายเดือนก่อน

      Maybe you have a defective board - they are very cheap and a lot of modules sold are very poor quality. The ones we sell seem to work fine and I use them in my projects, as you can see from my videos. If you set it up in the same way as in my video, then unless you have problematic components, you should see the same result...good luck!

  • @sibayonchatterjee8596
    @sibayonchatterjee8596 2 ปีที่แล้ว

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

  • @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

  • @RupertSalas
    @RupertSalas 4 ปีที่แล้ว +1

    Great explanation thank you sir!

  • @mowtown75
    @mowtown75 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +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...

  • @d3891
    @d3891 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...

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

  • @HoHoMoMoo
    @HoHoMoMoo 3 ปีที่แล้ว +1

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

    • @michaeldeloso9042
      @michaeldeloso9042 8 หลายเดือนก่อน

      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

  • @mingosutu
    @mingosutu 4 ปีที่แล้ว +1

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

  • @iyinoluwao3393
    @iyinoluwao3393 4 ปีที่แล้ว +1

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

  • @SriKatari
    @SriKatari 3 ปีที่แล้ว

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

    • @miro.s
      @miro.s 2 หลายเดือนก่อน

      Not so wide as you can check

  • @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 8 หลายเดือนก่อน

    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

  • @BillPutnamPhoto
    @BillPutnamPhoto 3 ปีที่แล้ว +1

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

  • @projectece
    @projectece ปีที่แล้ว +1

    GOOD JOB

    • @Q26Video
      @Q26Video  ปีที่แล้ว

      Glad you enjoyed the video! Thanks

  • @miro.s
    @miro.s 2 หลายเดือนก่อน

    My mic module is high in silence, so the logic is opposite. Maybe it's a fake one?

  • @pbb7536
    @pbb7536 5 ปีที่แล้ว

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

    • @Q26Video
      @Q26Video  5 ปีที่แล้ว +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...