Microphone MAX4466, detect/distinguish sound levels.

by nardev on Thu Feb 21, 2013 4:58 pm

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?
nardev
 
Posts: 24
Joined: Wed Jan 19, 2011 4:03 am

Re: Microphone MAX4466, detect/distinguish sound levels.

by adafruit_support_bill on Thu Feb 21, 2013 9:17 pm

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
adafruit_support_bill
 
Posts: 25601
Joined: Sat Feb 07, 2009 9:11 am

Re: Microphone MAX4466, detect/distinguish sound levels.

by nardev on Fri Feb 22, 2013 1:54 am

Ok, thank you.
nardev
 
Posts: 24
Joined: Wed Jan 19, 2011 4:03 am

Re: Microphone MAX4466, detect/distinguish sound levels.

by Howard on Mon Mar 18, 2013 12:37 pm

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?
Howard
 
Posts: 4
Joined: Fri Nov 18, 2011 5:26 pm

Re: Microphone MAX4466, detect/distinguish sound levels.

by adafruit_support_mike on Tue Mar 19, 2013 2:31 pm

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.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 7188
Joined: Thu Feb 11, 2010 1:51 pm