# Adafruit AGC Electret Microphone Amplifier - MAX9814

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/014/304/medium800/adafruit_products_1713_LRG.jpg?1392325003)

This fancy microphone amplifier module is a step above the rest, with built in automatic gain control. The AGC in the amplifier means that nearby 'loud' sounds will be quieted so they don't overwhelm & 'clip' the amplifier, and even quiet, far-away sounds will be amplified. This amplifier is great for when you want to record or detect audio in a setting where levels change and you don't want to have to tweak the amplifier gain all the time.  
  
The chip at the heart of this amp is the [MAX9814](http://www.maximintegrated.com/datasheet/index.mvp/id/5433), 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.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/305/medium800/adafruit_products_1713BACK_LRG.jpg?1392325013)

Specifications:

- 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/ ![](http://www.maximintegrated.com/images/rt-hz.gif)
- Low THD: 0.04% (typ)

# Adafruit AGC Electret Microphone Amplifier - MAX9814

## Assembly

![](https://cdn-learn.adafruit.com/assets/assets/000/014/303/medium800/adafruit_products_1713_LRG.jpg?1392324991)

Assembly is really easy, you can use straight or 'right-angle' style headers to attach to the PCB. We'll be using the plain straight headers included  
  
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.** ![adafruit_products_header.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/292/medium640/adafruit_products_header.jpg?1392322558)

## Add the breakout board:
Place the breakout board over the pins so that the short pins poke through the breakout pads  
![adafruit_products_place.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/293/medium640/adafruit_products_place.jpg?1392322584)

## And 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_](http://learn.adafruit.com/adafruit-guide-excellent-soldering)_)._  
  
![adafruit_products_solder2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/294/medium640/adafruit_products_solder2.jpg?1392322599)

![adafruit_products_solder3.jpg](https://cdn-learn.adafruit.com/assets/assets/000/014/295/medium640/adafruit_products_solder3.jpg?1392322628)

# Adafruit AGC Electret Microphone Amplifier - MAX9814

## Wiring and Test

![](https://cdn-learn.adafruit.com/assets/assets/000/014/302/medium800/adafruit_products_1713DEMO_LRG.jpg?1392324923)

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](https://www.adafruit.com/products/727)(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](https://www.adafruit.com/products/1699) 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
![](https://cdn-learn.adafruit.com/assets/assets/000/014/296/medium800/adafruit_products_wired.jpg?1392322905)

Connect the amplifier, battery pack and headphone jack as shown above.  
  
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  

For the headphone jack  

- 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](http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/measuring-sound-levels "Link: http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/measuring-sound-levels") and [http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/more-cool-projects](http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/more-cool-projects "Link: http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/more-cool-projects") for other projects that can be adapted to use this amplifier.   
# Adafruit AGC Electret Microphone Amplifier - MAX9814

## Downloads

# Datasheets & Files

- [Datasheet for the MAX9814](http://www.adafruit.com/datasheets/MAX9814.pdf "Link: http://www.adafruit.com/datasheets/MAX9814.pdf")
- [Datasheet for the electret mic capsule](http://www.adafruit.com/datasheets/CMA-4544PF-W.pdf "Link: http://www.adafruit.com/datasheets/CMA-4544PF-W.pdf")
- [Fritzing object in Adafruit Fritzing library](https://github.com/adafruit/Fritzing-Library)
- [EagleCAD PCB files in GitHub](https://github.com/adafruit/Adafruit-MAX9814-AGC-Microphone-PCB)

# Schematics
![](https://cdn-learn.adafruit.com/assets/assets/000/014/290/medium800/adafruit_products_max9814sch.gif?1448049933)

# PCB Dimensional Diagram
![](https://cdn-learn.adafruit.com/assets/assets/000/014/291/medium800/adafruit_products_dims.gif?1448049926)

# 3D models

Thanks to Aron Rubin!

[adafruit_mic_agc.pdf](https://learn.adafruit.com/system/assets/assets//original/adafruit_mic_agc.pdf?1434986936)
[adafruit_mic_agc.skp](https://learn.adafruit.com/system/assets/assets/000/026/094/original/adafruit_mic_agc.skp?1434986940)

## Featured Products

### Electret Microphone Amplifier - MAX9814 with Auto Gain Control

[Electret Microphone Amplifier - MAX9814 with Auto Gain Control](https://www.adafruit.com/product/1713)
Add an ear to your project with this well-designed electret microphone amplifier with AGC. This fully assembled and tested board comes with a 20-20KHz electret microphone soldered on. For the amplification, we use the Maxim MAX9814, a specialty chip that is designed for amplifying electret...

In Stock
[Buy Now](https://www.adafruit.com/product/1713)
[Related Guides to the Product](https://learn.adafruit.com/products/1713/guides)
### Breadboard-Friendly 3.5mm Stereo Headphone Jack

[Breadboard-Friendly 3.5mm Stereo Headphone Jack](https://www.adafruit.com/product/1699)
Pipe audio in or out of your project with this very handy breadboard-friendly audio jack. It's a stereo jack with disconnect-switches on Left and Right channels as well as a center ground pin. You can use any 3.5mm stereo cable with this jack. The pins are on 0.1" spacing so it plugs...

In Stock
[Buy Now](https://www.adafruit.com/product/1699)
[Related Guides to the Product](https://learn.adafruit.com/products/1699/guides)
### 3 x AAA Battery Holder with On/Off Switch and 2-Pin JST

[3 x AAA Battery Holder with On/Off Switch and 2-Pin JST](https://www.adafruit.com/product/727)
This battery holder connects 3 AAA batteries together in series for powering all kinds of projects. We spec'd these out because the box is slim, and 3 AAA's add up to about 3.3-4.5V, a very similar range to Lithium Ion/polymer (Li-Ion) batteries and have an on-off switch. That makes...

In Stock
[Buy Now](https://www.adafruit.com/product/727)
[Related Guides to the Product](https://learn.adafruit.com/products/727/guides)

## Related Guides

- [Labo Piano Light FX](https://learn.adafruit.com/labo-piano-light-fx.md)
- [Schluff - The Sleep Monitor](https://learn.adafruit.com/schluff-the-oshw-sleep-monitor.md)
- [LED Masquerade Masks](https://learn.adafruit.com/led-masquerade-masks.md)
- [3D Printed LED Microphone Flag](https://learn.adafruit.com/3d-printed-led-microphone-flag.md)
- [Bluefruit Controlled Macetech RGB LED Shades](https://learn.adafruit.com/ledshades.md)
- [Sound Reactive NeoPixel Peace Pendant](https://learn.adafruit.com/sound-reactive-neopixel-peace-pendant.md)
- [ Analog IC Insights On-the-Go by Maxim Integrated](https://learn.adafruit.com/maxim-app.md)
- [Adafruit ESP32-S2 Reverse TFT Feather](https://learn.adafruit.com/esp32-s2-reverse-tft-feather.md)
- [Adafruit 128x64 OLED FeatherWing ](https://learn.adafruit.com/adafruit-128x64-oled-featherwing.md)
- [Adafruit 9-DOF Orientation IMU Fusion Breakout - BNO085](https://learn.adafruit.com/adafruit-9-dof-orientation-imu-fusion-breakout-bno085.md)
- [Adafruit SPA06-003 - Temperature + Pressure Sensor](https://learn.adafruit.com/adafruit-spa06-003-temperature-pressure-sensor.md)
- [Adafruit NeoPixel Driver BFF](https://learn.adafruit.com/adafruit-neopixel-driver-bff.md)
- [Adafruit pIRkey](https://learn.adafruit.com/adafruit-pirkey-python-programmable-infrared-usb-adapter.md)
- [Adafruit PiCowBell HSTX DVI Output](https://learn.adafruit.com/adafruit-picowbell-hstx-dvi-output.md)
- [Adafruit Feather M4 CAN Express](https://learn.adafruit.com/adafruit-feather-m4-can-express.md)
