MAX9814

An electret microphone breakout with the MAX9814 amplifier and automatic gain control, giving an analog audio signal of about 2 Vpp on a 1.25 V bias.

  • Supply voltage2.7 V to 5.5 V
  • Supply current3.1 mA typical, 6 mA maximum
  • Gain settings40 dB (Gain to VDD), 50 dB (Gain to GND), 60 dB (Gain unconnected)
  • Output bias1.23 V typical (1.14 V to 1.32 V)
MAX9814, An electret microphone breakout with the MAX9814 amplifier and automatic gain control, giving an analog audio signal of about 2 Vpp on a 1.25 V bias.
In short

The MAX9814 breakout is an electret microphone with an amplifier that turns its gain down automatically when sound gets loud, so its output stays near 2 Vpp on a 1.25 V DC bias (Adafruit #1713 product page). It runs from 2.7 V to 5.5 V and draws about 3.1 mA (Maxim MAX9814 datasheet 19-0764 Rev 2, pp. 1, 2). Wire OUT to an analog input; the Gain pin picks 40, 50 or 60 dB (VDD, GND or open).

The MAX9814 chains a 12 dB preamplifier, a variable-gain stage that the AGC turns from 20 dB down to 0 dB, and an output amplifier of 8, 18 or 28 dB, for a total of 40, 50 or 60 dB before compression (Maxim datasheet, p. 1). It also supplies the 2 V bias the electret capsule needs, so the breakout is just microphone, chip and passives.

Because the AGC holds loud sounds near a fixed output level, the MAX9814 is the microphone to pick when you want clean audio for recording, voice or a spectrum display across quiet and loud rooms. The same AGC makes it a poor sound-level meter: a shout and a clap can read almost the same.

Adafruit's breakout leaves Gain floating for the full 60 dB and A/R floating for a 1:4000 attack-to-release ratio, and both can be changed by tying the pin to VDD or GND (Adafruit #1713). The output sits on a 1.25 V bias with about 2 Vpp maximum swing, so it stays inside the 3.3 V ADC range of an ESP32 or Pico even with the board on 5 V.

MAX9814 pinout

tinkered.ai/components/max9814MAX9814ARAGC attack/release ratioOUTADC · Analog audioGAINGain selectVDDPowerGNDGround
PinFunctionType
ARAGC attack/release ratioinput
OUTADC, Analog audioAbout 0.25 V to 2.25 V (2 Vpp on 1.25 V bias)output
GAINGain selectinput
VDDVdd2.7 V to 5.5 Vpower in
GNDGNDpower in

How to wire the MAX9814

Pin by pin, for the board you have.

MAX9814Arduino UnoNote
VDD5V
GNDGND
OUTA0
GAINnot connected60 dB. Tie to GND for 50 dB or to 5V for 40 dB.
ARnot connected1:4000 attack/release ratio.
Design this circuit on an Arduino Uno

MAX9814 code

Every example here compiles for its board.

No library needed
// MAX9814 on Arduino Uno: wiring and a free simulation at https://www.tinkered.ai/components/max9814
// MAX9814 on an Arduino Uno: Vdd 5V, OUT A0. Prints the peak-to-peak level of each 50 ms window.
const int MIC_PIN = A0;
const unsigned long WINDOW_MS = 50;

void setup() {
  Serial.begin(115200);
  Serial.println("MAX9814 level meter");
}

void loop() {
  int lo = 1023, hi = 0;
  unsigned long start = millis();
  while (millis() - start < WINDOW_MS) {
    int v = analogRead(MIC_PIN); // 10-bit, 0 to 5 V
    if (v < lo) lo = v;
    if (v > hi) hi = v;
  }
  float vpp = (hi - lo) * 5.0 / 1023.0;
  float bias = (hi + lo) / 2.0 * 5.0 / 1023.0;
  Serial.print("Peak-to-peak: ");
  Serial.print(vpp, 3);
  Serial.print(" V  (bias ");
  Serial.print(bias, 2);
  Serial.println(" V)");
}
Compiled for arduino:avr:uno on 2026-10-30

Before you wire it

Do
  • Read the output as an AC signal on a 1.25 V bias: measure peak-to-peak or subtract the bias, never take one raw sample as loudness.
  • Tie Gain and AR only to the module's own Vdd or GND, or leave them open; they are three-level inputs (Maxim datasheet, p. 2).
  • Use a 1 µF to 100 µF series capacitor if you feed the output into a line input, because the output carries the DC bias (Adafruit #1713).
  • Keep the microphone away from motors, relays and switching regulators, whose noise the 60 dB gain amplifies.
Don’t
  • Never use it as a calibrated sound-level meter: the AGC compresses loud sounds toward a fixed output level.
  • Never power it above 5.5 V (Maxim datasheet, p. 2).
  • Never feed the output straight into a speaker; it delivers only about 1 to 2 mA (datasheet, p. 3).
  • The output's DC level is 1.23 V typical (datasheet, p. 3) and the AGC limits it to about 2 Vpp (0.707 V RMS, p. 2), so it stays between roughly 0.25 V and 2.25 V on any supply.
  • Attack time is about 1.1 ms with the breakout's 470 nF timing capacitor (datasheet, p. 2); the release is 500, 2000 or 4000 times slower depending on A/R, and the AGC holds for 30 ms (p. 1).
  • On an Uno's 5 V range the 2 Vpp maximum swing spans about 410 of the 1024 counts; the 1.23 V bias rules out the 1.1 V internal reference.
  • For audio sampling, read the ADC at a fixed rate (for example 8 kHz with a timer) rather than in a free-running loop.

Specifications

Supply voltage
2.7 V to 5.5 VMaxim MAX9814 datasheet 19-0764 Rev 2, p. 2
Supply current
3.1 mA typical, 6 mA maximumMaxim MAX9814 datasheet 19-0764 Rev 2, p. 2
Gain settings
40 dB (Gain to VDD), 50 dB (Gain to GND), 60 dB (Gain unconnected)Maxim MAX9814 datasheet 19-0764 Rev 2, p. 2
Output bias
1.23 V typical (1.14 V to 1.32 V)Maxim MAX9814 datasheet 19-0764 Rev 2, p. 3
Maximum output level
0.707 V RMS at 1 % THD+N (2 Vpp)Maxim MAX9814 datasheet 19-0764 Rev 2, p. 2
Attack/release ratio
1:500 (A/R to GND), 1:2000 (A/R to VDD), 1:4000 (A/R unconnected)Maxim MAX9814 datasheet 19-0764 Rev 2, p. 2
Microphone bias
2 V internal low-noise biasMaxim MAX9814 datasheet 19-0764 Rev 2, p. 1
Breakout output
About 2 Vpp maximum on a 1.25 V DC bias; default gain 60 dBAdafruit Electret Microphone Amplifier MAX9814 (#1713) product page
Microphone
Electret capsule rated 20 Hz to 20 kHzAdafruit Electret Microphone Amplifier MAX9814 (#1713) product page

From the MAX9814 Microphone Amplifier with AGC and Low-Noise Microphone Bias, 19-0764 Rev 2, published by Analog Devices (Maxim Integrated).

Common mistakes

  1. Expecting a loudness reading in decibels

    The AGC turns gain down as sound rises, so the output stays near 2 Vpp from moderate to very loud sounds. For sound-level measurement use a fixed-gain amplifier such as the MAX4466.

  2. Wiring Gain to a GPIO

    Gain is a three-level input: Vdd, GND or floating (datasheet, p. 2). A GPIO driven high or low gives 40 or 50 dB; to get 60 dB the pin must float, so set the GPIO to INPUT.

  3. Reading 1.25 V and calling it silence

    With no sound the output rests at the 1.23 V bias, which reads about 250 counts on an Uno. Silence is a small peak-to-peak, not zero volts.

  4. Hum from a noisy supply

    At 60 dB the amplifier picks up USB and regulator noise. Power from a clean 3.3 V rail, keep wires short, or drop the gain to 50 dB with Gain to GND.

MAX9814 questions

MAX9814 or MAX4466: which microphone module should I buy?

The MAX9814 has automatic gain control, so it keeps speech and music at a steady level for recording or audio effects. The MAX4466 has a fixed gain you set with a trimmer (25x to 125x), which suits measuring how loud a room is. Both output an analog signal for any ADC.

Can I use the MAX9814 with an ESP32 or Raspberry Pi Pico?

Yes. Power it from 3.3 V: it runs from 2.7 V (Maxim datasheet, p. 2) and its output stays below about 2.25 V, inside the ESP32's and Pico's ADC range. On an ESP32 use an ADC1 pin such as GPIO34 so Wi-Fi doesn't block readings.

How do I change the MAX9814's gain?

Leave Gain unconnected for 60 dB, tie it to GND for 50 dB or to Vdd for 40 dB (datasheet, p. 2). These are the maximum gains; the AGC lowers them automatically as sound gets louder.

What does the AR pin do?

It sets how much slower the AGC releases than it attacks: 1:500 with AR to GND, 1:2000 to Vdd, 1:4000 when left open (datasheet, p. 2). A fast release follows speech closely; a slow one sounds more natural on music.

Can the MAX9814 record audio with an Arduino Uno?

It can feed the Uno's ADC, but the Uno has only 2 KB of RAM and a 10-bit converter, so it suits level meters and simple sound triggers. For recording use an ESP32 sampling at a fixed rate, or an I2S microphone such as the INMP441.

Build something with the MAX9814

  • Sound-reactive LED strip

    Light a NeoPixel strip to the music's level and beat.

    Build this
  • Spectrum analyzer

    Show eight audio frequency bands on an LED matrix.

    Build this
  • Clap switch

    Toggle a lamp with two claps.

    Build this
For AI assistants

This page as plain Markdown, for ChatGPT, Claude or your own agent. /components/max9814.md

What will you build with it?