Microphone MAX4466, detect/distinguish sound levels.

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
nardev
 
Posts: 44
Joined: Wed Jan 19, 2011 5:03 am

Microphone MAX4466, detect/distinguish sound levels.

Post by nardev »

I expected it would be straight forward, just read analog pin and that is it.

Unfortunately, it constantly returns values around 300-330 or 500-550 (depending what Vcc i choose.)

Please, give me some tips. I just want to be able to detect some sound peeks.

For example, if average sound is represented with value around 100, i want that when i clap, it jumps so that it stands out a bit and that i can detect it.

Please, is it possible with MAX4466 and with no additional parts and how?

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by adafruit_support_bill »

Because you are measuring a complex waveform, you need to integrate the signal over time. This is covered in the tutorial http://learn.adafruit.com/adafruit-micr ... r-breakout

User avatar
nardev
 
Posts: 44
Joined: Wed Jan 19, 2011 5:03 am

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by nardev »

Ok, thank you.

User avatar
howard
 
Posts: 14
Joined: Fri Nov 18, 2011 6:26 pm

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by howard »

I fed in a sound tone from my tablet and looked at output with scope and the signal level at 500 Hz was about 1/10 of the signal at 5000 Hz. Shouldn't
it be flat from 20 Hz to 20KHz?

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by adafruit_support_mike »

Howard wrote:I fed in a sound tone from my tablet and looked at output with scope and the signal level at 500 Hz was about 1/10 of the signal at 5000 Hz. Shouldn't it be flat from 20 Hz to 20KHz?
The datasheets for the electret mic (http://www.adafruit.com/datasheets/CMA-4544PF-W.pdf) and the MAX4466 amplifier (http://www.adafruit.com/datasheets/MAX4465-MAX4469.pdf) both show reasonably flat response between 500Hz and 5kHz. Are you sure you aren't getting any signal attenuation from your tablet? An equalizer or treble boost effect would play with the signals coming out of the speakers.

TELINT
 
Posts: 2
Joined: Thu Jun 05, 2014 8:54 am

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by TELINT »

I just bought the MAX4465 with electret microphone.
I would like to model this circuit in LTSPice. Can someone send me the schematic on this PCB in PDF format?

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by adafruit_support_bill »

The schematics are posted in the tutorial: https://learn.adafruit.com/adafruit-mic ... /downloads
If you click on it, there will be a selection of resolutions to choose from. The original size will have the best detail.

TELINT
 
Posts: 2
Joined: Thu Jun 05, 2014 8:54 am

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by TELINT »

Thanks, I see you're schematic resembles the app note in data sheet, so I have a few questions.
1) For R5 and C4, I see you kept the same time constant, but lowered the resistance and raised the capacitance. Was there an advantage to doing this? Just want to learn form you're experience.
2) I like the ferrite beads isolating Analog from Digital, can you advise the part number of ferrite beads you're using?
That's all I need and should wrap up my questioning, thanks in advance.

User avatar
adafruit2
 
Posts: 22111
Joined: Fri Mar 11, 2005 7:36 pm

Re: Microphone MAX4466, detect/distinguish sound levels.

Post by adafruit2 »

1) we tried to use stock parts we have here at adafruit, and also it increased the gain (from what we recall, it was a gain thing)
2) we use 300 ohm generic ferrite beads, 0805 - whatever Digikey has in stock that's low cost :)

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”