https://learn.adafruit.com/adafruit-agc-electret-microphone-amplifier-max9814?view=all
The chip at the heart of this amp is the MAX9814, and has a few options you can configure with the breakout. The default 'max gain' is 60dB, but can be set to 40dB or 50dB by jumpering the Gain pin to VCC or ground. You can also change the Attack/Release ratio, from the default 1:4000 to 1:2000 or 1:500. The ouput from the amp is about 2Vpp max on a 1.25V DC bias, so it can be easily used with any Analog/Digital converter that is up to 3.3V input. If you want to pipe it into a Line Input, just use a 1uF blocking capacitor in series.
Each order comes with one assembled and tested board, with electret mic pre-soldered on, and a small piece of header.
- Supply Voltage: 2.7v-5.5v @ 3mA current
- Output: 2Vpp on 1.25V bias
- Frequency Response: 20Hz - 20 KHz
- Programmable Attack and Release Ratio
- Automatic gain, selectable max from 40dB, 50dB or 60dB
- Low Input-Referred Noise Density of 30nV/
- Low THD: 0.04% (typ)
Assembly
The board comes with all surface-mount components pre-soldered. The included header strip can be soldered on for convenient use on a breadboard or with 0.1" connectors. You can also skip this step and solder on wires.
Prepare the header strip:
Cut the strip to length if necessary. It will be easier to solder if you insert it into a breadboard - long pins down.Add the breakout board:
Place the breakout board over the pins so that the short pins poke through the breakout padsAnd Solder!
Be sure to solder all 5 pins for reliable electrical contact.(For tips on soldering, be sure to check out our Guide to Excellent Soldering).
Wiring and Test
The microphone amp is thankfully quite simple to get started. No microcontroller or programming required. We suggest wiring it up directly with a battery pack and headphones to start while you get a hang of how the AGC acts and responds.
You'll need a 3 AA/AAA battery pack (or some external source of 3-5VDC) - we suggest batteries since they are very electrically-quiet compared to USB or wall power adapters.
(For rechargeable NiMH cells, you can use a 4xAA/AAA pack for a total of 4.8v)
You'll also need a headphone jack, this breadboard-friendly one works great, and a 1 to 100uF electrolytic capacitor. This is just to protect your headphones from the DC bias voltage. Just about any capacitor will work.
Find the 'cheapest' headphones you have, or use earbuds, they wont load down the microphone amp as much! This is not a good time to use your huge Sennheiser cans. Don't connect to speakers or you will get really horrible feedback effects
Wiring
For the Microphone amp:
- GND connects to the battery pack ground - black wire
- VDD connects to the battery pack positive - red wire
- Connect the Gain pin to VDD for now - green wire
- Connect the OUT pin to a 1uF-100uF capacitor (really any value will do). If the capacitor is polarized, connect the OUT pin to the positive side - green wire
- Connect the Left and Right pins together (the microphone is mono out) to the negative side of the capacitor - yellow wires.
- Connect the center ground pin to the battery ground - blue wire
Test!
Now try listening to sounds on the headphones, you should notice a strange 'effect' where you can hear people from further away than your hearing is used to! Try setting the Gain pin to the GND pin to get 10dB more gain. You can also remove the Gain wire, to set the gain to 60dB but you may find the gain is way too high, and it sounds 'too noisy', so we suggest sticking to 40 or 50dB for most purposes.
You can also try adjusting the A/R (attack/response) ratio by connecting the A/R pin to VDD or GND but we found that the default no-wire works pretty well for most purposes.
Do more!
Now that you have the amplifier tested, you can use this microphone amp just like our non-AGC board.
Check out http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/measuring-sound-levels and http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/more-cool-projects for other projects that can be adapted to use this amplifier.
Downloads
Datasheets & Files
Schematics
PCB Dimensional Diagram
3D models
Thanks to Aron Rubin!
'프로세싱+아두이노+안드로이드' 카테고리의 다른 글
Adafruit GFX Graphics Library (0) | 2022.05.14 |
---|---|
Understanding the Pull-up/Pull-down Resistors With Arduino (0) | 2022.05.14 |
마이크 모듈로 주파수 측정하기 (0) | 2022.05.14 |
아두이노 사운드 센서 사용해보기! (0) | 2022.05.14 |
Arduino FHT Library (0) | 2022.05.14 |
댓글