0
\$\begingroup\$

I'm working on a design to have a microphone on Arduino board for sound detection (clapping sound etc). I see there are lot of circuits floating on internet but almost everyone has an output to ADC pin on Arduino. On my design, all the ADC pins are exhausted (using 6 PIR sensors), so i'm left with digital pins.

How can i use an analog microphone on digital pin, can it be done through peak detection circuit? Can anyone share a reference schematic?

Also, an audio amplifier is required or can i get this done through a rail to rail opamp with good slew rate?

asked Mar 30, 2016 at 6:12
\$\endgroup\$
3
  • \$\begingroup\$ Yes, a peak detection circuit will work. There are loads of schematic online, try one. And yes, a single R2R op-amp would be sufficient. It doesn't even need to have "good" slew rate, audio is slow. \$\endgroup\$ Commented Mar 30, 2016 at 6:22
  • \$\begingroup\$ @uint128_t: Thanks! What basically im looking is a 0 or 1 logic for no sound and sound logic. Do you have any reference schematic or design which can be useful for me... \$\endgroup\$ Commented Mar 30, 2016 at 6:36
  • \$\begingroup\$ Typing "arduino audio peak detector" into das Google might be a good place to start... \$\endgroup\$ Commented Mar 30, 2016 at 6:53

1 Answer 1

1
\$\begingroup\$

As others have suggested, typing "Arduino peak detector" on google can give a few ways to go. I added "Sparkfun" to the search because they tend to have useful breakouts and decent documentation.

In this product, you will find the following schematic:

Arduino mic peak detection

Which pretty much gives what you want.

Please note the licensing mode.

answered Mar 30, 2016 at 11:36
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.