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?
Microphone MAX4466, detect/distinguish sound levels.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- nardev
- Posts: 44
- Joined: Wed Jan 19, 2011 5:03 am
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: Microphone MAX4466, detect/distinguish sound levels.
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
- nardev
- Posts: 44
- Joined: Wed Jan 19, 2011 5:03 am
Re: Microphone MAX4466, detect/distinguish sound levels.
Ok, thank you.
- howard
- Posts: 14
- Joined: Fri Nov 18, 2011 6:26 pm
Re: Microphone MAX4466, detect/distinguish sound levels.
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?
it be flat from 20 Hz to 20KHz?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Microphone MAX4466, detect/distinguish sound levels.
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.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?
-
- Posts: 2
- Joined: Thu Jun 05, 2014 8:54 am
Re: Microphone MAX4466, detect/distinguish sound levels.
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?
I would like to model this circuit in LTSPice. Can someone send me the schematic on this PCB in PDF format?
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: Microphone MAX4466, detect/distinguish sound levels.
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.
If you click on it, there will be a selection of resolutions to choose from. The original size will have the best detail.
-
- Posts: 2
- Joined: Thu Jun 05, 2014 8:54 am
Re: Microphone MAX4466, detect/distinguish sound levels.
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.
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.
- adafruit2
- Posts: 22148
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Microphone MAX4466, detect/distinguish sound levels.
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 :)
2) we use 300 ohm generic ferrite beads, 0805 - whatever Digikey has in stock that's low cost :)
Please be positive and constructive with your questions and comments.