Hello friends, I hope you all are doing great. Today, I am going to share the new MAX4466 Microphone Amplifier Library for Proteus Simulation. The MAX4466 breakout is the classic way to give an Arduino ears: an electret microphone capsule, a tiny low-power amplifier and a trimmer to set the gain, all on a board the size of a postage stamp. Its output is a real audio signal, not just "loud or quiet", so you can measure sound levels, detect claps or even look at the waveform. With this library you can run a full Proteus simulation of the MAX4466 microphone and see that signal on the sheet and in its pop-up.
MAX4466 Microphone Amplifier Library for Proteus
Latest version: V1.0 (December 2026, this tutorial)
Other sound parts: Sound Sensor · INMP441 Microphone · 5mm LED
Helping Tools
- Serial Monitor Advance: a serial terminal window for the UART of your board
- Serial Monitor Expert: the serial monitor with extra debugging tools
- LCD Library for Proteus V3.0: 16x2, 20x4 and I2C LCDs to show your readings
The demo is a noise monitor for a classroom or a workshop: it measures the sound level in dB SPL, shows it on a 16x2 LCD with a bar, lights a green, yellow or red LED, and switches a lamp when you clap twice.
NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the sound sensor board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the MAX4466 Microphone Amplifier Library for Proteus Simulation:
What Is the MAX4466 Microphone Amplifier?
An electret microphone capsule turns sound pressure into a tiny voltage - a few millivolts even for a loud voice - far too small for an Arduino's analog input. The MAX4466 is an op-amp made for exactly this job: it runs from 2.4 to 5.5 V on only 24 microamps, its output swings from rail to rail, and with a gain-bandwidth of 600 kHz it has plenty of bandwidth for audio. On the common breakout, the capsule feeds the amplifier through a coupling capacitor, the output is biased at half the supply, and a small trimmer sets the gain between 25x and 125x.
| MAX4466 microphone breakout | |
|---|---|
| Amplifier | MAX4466: 24 uA, rail-to-rail output, 600 kHz GBW |
| Supply | 2.4 - 5.5 V |
| Gain | 25x - 125x (the trimmer) |
| Output | VCC / 2 in silence, swinging with the sound |
| Bandwidth | about 20 Hz to 600 kHz / gain (4.8 kHz at 125x) |
| Capsule | electret, about -44 dBV/Pa |
| Pins (module) | OUT GND VCC |
Why the Output Sits at Half the Supply
Sound pushes the capsule's diaphragm both ways, so its signal goes both positive and negative. A single-supply amplifier cannot output a negative voltage, so the breakout lifts the whole signal to the middle of the supply: in silence, OUT reads VCC / 2 - about 2.5 V on a 5 V Arduino, or 512 on the ADC - and the sound swings it up and down from there. The loudness is in the size of the swing, not in the voltage itself, which is why a sketch must measure the swing over a short window rather than read one sample.
Gain: Too Little, Too Much
The trimmer is a trade-off. With too little gain, quiet sounds stay smaller than one step of the ADC (4.9 mV on a 5 V Arduino) and simply disappear. With too much gain, loud sounds drive the output into the supply rails and the tops of the waveform are cut off - clipping - so the measured level stops rising. A higher gain also narrows the bandwidth, because the MAX4466's 600 kHz gain-bandwidth is shared: at 125x the top of the band is about 4.8 kHz. The pop-up of the simulation shows all three effects.
Decibels and Sound Pressure
Sound levels are measured in dB SPL: 20 x log10 of the pressure divided by 20 micropascals, the faintest sound a young ear can hear. 94 dB SPL is exactly 1 pascal. A quiet room is about 35 dB, a normal conversation 60 to 65 dB, a loud workshop 85 dB, and a hand clap close to the microphone more than 100 dB. Every 6 dB doubles the pressure, so the range from a whisper to a clap is a factor of more than a thousand in voltage - which is why the gain matters so much.
Features of the MAX4466 Microphone Amplifier Library for Proteus Simulation
- A real-looking breakout: the 20 x 13.5 mm board at its real size, with the 9.7 mm electret capsule, the gain trimmer and the MAX4466; the capsule's ring glows green, yellow or red with the sound level at Run.
- A real audio output: OUT at VCC / 2, swinging with the sound through the capsule's sensitivity and the trimmer's gain, clipped at the rails.
- A real amplifier: the bandwidth from the 600 kHz gain-bandwidth, the 20 Hz low end, the 24 uA supply current.
- Sound to test with: PROFILE DEMO is a room with speech, claps, a whistle and music; PROFILE STEADY is a tone at any frequency and level - and a Clap chip in the pop-up.
- A pop-up: the waveform of OUT over the last 50 ms, a level meter in dB SPL with the peak, tiles for every number - graphs, an event log and a check page.
- A complete package: about 2.7 MB with the library, our I2C LCD, LEDs and resistors, our Arduino UNO V4.0 and the demo, without the source code of the model.
The MAX4466 Microphone in Proteus
The device is MAX4466MICTEP in TEPMAX4466.LIB, under Modules > Sensors, with the prefix U and the model TEPMAX4466.DLL. Search MAX4466 or microphone in Pick Devices. Its three pins are on the left: OUT, GND and VCC. Four properties set it up: GAIN (the trimmer, 25 - 125), PROFILE (DEMO or STEADY), FREQ and LEVEL (the tone for STEADY).
Download MAX4466 Microphone Amplifier Library for Proteus Simulation
Click the button below to download MAX4466-Microphone-Amplifier-Library-for-Proteus-v1.0.zip (about 2.7 MB, without the source code of the models):
MAX4466 Microphone Amplifier Library for Proteus V1.0- README.txt: installation, the demo, the wiring, troubleshooting and the limits of the simulation.
- Proteus Library Files:
TEPMAX4466.LIB,TEPI2CLCD16X2.LIB,TEPLED5MM.LIB,TEPSMDLED.LIB,TEPRESISTOR.LIBandArduinoV4TEP.LIB. - Proteus Model Files:
TEPMAX4466.DLL,TEPLCD.DLL,TEPLED5MM.DLL,TEPSMDLED.DLL,TEPRESISTOR.DLLandTEPARDUINO.DLL. - Arduino Code: the demo sketch (Wire only).
- Proteus Simulation: the demo project, its HEX file and copies of the DLLs.
No Proteus yet? Read How to Download and Install Proteus 7 and 8. New to libraries? Follow How to Install a New Library in Proteus.
How to Install MAX4466 Microphone Amplifier Library for Proteus Simulation
- Close Proteus and extract the whole zip file, for example to your Desktop.
- Copy the files from Proteus Library Files into the LIBRARY folder of Proteus.
- Copy the files from Proteus Model Files into the MODELS folder.
- Delete
TEPMAX4466.IDXfrom the LIBRARY folder if it is there. - Start Proteus, press P and search for MAX4466.
Proteus Simulation of a Noise Monitor with a Clap Switch
The demo uses an A4 sheet with our Arduino UNO Library for Proteus V4.0. The microphone (U1, gain 100) feeds A0. A 16x2 LCD on its I2C backpack from our I2C LCD 16x2 Library for Proteus (LCD1) shows the level. Three LEDs from our 5mm LED Library for Proteus make a traffic light on D5, D6 and D7 - green under 60 dB, yellow under 80 dB, red above - and a white LED on D8 is the lamp of the clap switch. The microphone hears its DEMO room. The Arduino's monitor is built in, the same window as our TEP Serial Monitor Advance for Proteus. Open MAX4466-Noise-Monitor-Clap-Switch-ArduinoUnoV4.pdsprj.
The Sketch
The sketch samples the microphone as fast as it can for 50 ms and keeps the sum, the sum of squares and the minimum and maximum:
while (millis() - t0 < 50) {
const int v = analogRead(MIC);
sum += v; sq += (unsigned long)v * v; n++;
From those it gets the RMS of the swing around the bias, and one line turns it into dB SPL - counts to volts at OUT, divided by the gain to get the voltage at the capsule, divided by the capsule's sensitivity to get pascals, and finally the decibel formula:
const float spl = rms < 0.5 ? 0 : 20.0 * log10(rms * 5.0 / 1023.0 / GAIN / SENS / 20e-6);
A clap is a sudden swing of half the ADC range right after a quieter window; two claps between 0.15 and 0.8 s apart switch the lamp:
if (swing >= 500 && lastSwing < 200) {
const unsigned long gap = millis() - lastClap;
if (lastClap && gap >= 150 && gap <= 800) {
MAX4466 Simulation Results
Open the project and press Run. The demo runs 4.0 simulated seconds and took RUN on our PC with the pop-up open and the pictures being taken. Click U1 for its pop-up. Every number below comes from one simulation run, the demo exactly as it ships.
A Quiet Room
The run starts in a quiet room at about 35 dB SPL. OUT sits at 2.50 V - half of the 5 V supply - and moves by less than a millivolt, far below one step of the ADC. The sketch sees a swing of 0 counts and the LCD reads "Sound <46 dB": the meter's floor at gain 100, exactly as worked out further down. The green LED is on.
Speech
From 0.6 s someone speaks at about 65 dB SPL. The monitor shows 64 dB at 0.71 s and 61 dB at 1.01 s, a dip below the floor at 1.31 s - the pause between two syllables - and 57 dB at 1.61 s: speech is not a steady sound, and a 50 ms window catches it loud or quiet. The pop-up at 1.18 s shows the same: 57 dB SPL in that window with a peak of 65 dB so far, OUT swinging only 0.06 V around 2.50 V, and just 0.09 mV at the capsule - that tiny signal, multiplied by 100, is all the Arduino has to work with. The swing of 10 to 17 counts is enough for a level, though, and the yellow LED lights during the louder syllables.
Two Claps: the Lamp Comes On
At 1.90 s the first clap arrives at about 105 dB. The output slams into both rails - a swing of 1,016 counts, nearly the whole ADC range - and the monitor prints "clap" and a level of 97 dB (clipping cuts the tops off, so the real level is higher). The second clap follows at 2.15 s, a quarter of a second later, and the sketch switches the lamp: "second clap: lamp ON". At 2.2 s, the moment of the running picture, the reverberation of the clap is still at 91 dB: the red LED is on, the lamp is lit, the capsule's ring glows red and the LCD bar is nearly full. The pop-up's Check page counts the clipping: 114 times at a rail.
A Whistle
From 2.4 s a 2 kHz whistle sounds at 80 dB SPL. It is a pure tone, so the readings become rock steady: 79 dB at every window, with a swing of 70 counts - about 0.34 V at OUT. The pop-up's level meter shows 80.0 dB, so the sketch's chain of conversions (counts to volts, the gain, the capsule's sensitivity, the decibel formula) agrees with the model to about 1 dB. The yellow LED stays on: the whistle is just under the 80 dB limit of the sketch.
Music
From 3.5 s there is music: a kick drum every quarter of a second over a bass line. Its peaks reach 90 dB, but averaged over each 50 ms window it reads 79 dB - a reminder that the "level" of a sound depends on how long you average it. The pop-up's waveform shows the kick as large slow swings with the bass riding on them, and the level at 4.0 s is 79.0 dB.
The Graphs, the Event Log and the Check Page
The Graphs page plots the sound pressure, OUT, the level in each 50 ms window and the clipping. The Event log notes the power-on and every time the output hits a rail. The Check page sums up the run: CHECK
The Arduino's built-in serial monitor prints the level, the swing and the lamp every 250 ms, and a line for each clap - the whole story of the run in fifteen lines.
The Floor of an Arduino Sound Meter
One step of the Arduino's ADC is 4.9 mV. Divided by a gain of 100 and by the capsule's 6.3 mV per pascal, that is about 0.008 Pa, or 52 dB SPL - the Check page shows exactly this number. Because the sketch measures the RMS of many samples, it can still see a sound whose RMS is half a step, about 46 dB, which is why the LCD reads "<46 dB" in silence. Anything quieter than a soft conversation looks like silence to this meter, however good the microphone is. You can lower the floor with a higher gain (and clip sooner), with the 1.1 V internal reference for the ADC (and less headroom), or with a dedicated audio ADC. For a noise monitor that only needs to know "too loud", the floor does not matter at all.
MAX4466, a Sound Sensor Module or an I2S Microphone?
The common sound sensor module from our Sound Sensor Library for Proteus has a comparator with a threshold and a digital output - perfect for "was there a noise?", but it cannot tell how loud. The MAX4466 gives you the real audio signal on an analog pin, so you can measure levels and shapes with any Arduino. The INMP441 from our INMP441 Microphone Library for Proteus is an I2S digital microphone with its own 24-bit converter - far better audio, but it needs a microcontroller with an I2S port, such as an ESP32. For a sound meter, a clap switch or a VU meter on an Arduino UNO, the MAX4466 is the natural choice.
Try It Yourself
- Click U1 while the simulation runs and press Clap twice: the lamp switches.
- Turn GAIN down to 25: the claps no longer clip, but the speech drops close to the ADC floor.
- Turn GAIN up to 125: the speech gets more ADC steps, the claps and the music clip.
- Set PROFILE to STEADY and try a 4 kHz tone at gain 125: the output shrinks as the tone nears the top of the bandwidth.
- Change the sketch's GAIN to 60 without changing the trimmer: every reading is wrong by 4.4 dB.
Ideas to Extend the Demo
- A VU meter on a strip of addressable LEDs.
- A baby monitor that sends a message when the room gets loud.
- A sound-activated camera trigger.
Your Own Sketches
The demo sketch is in the zip file, and you can change it in the Arduino IDE. New to Arduino? Start with our Arduino Tutorial for Beginners. Export the compiled binary, and set the UNO's PROGRAM property to the new file. Our guide on How to get the HEX file from Arduino shows you where the file ends up.
Things to Know Before Using a Real MAX4466 Breakout
- Bias: the output is AC around VCC / 2; measure the swing over a window, not single samples.
- Gain: set the trimmer for the loudest sound you need to measure without clipping.
- Noise: keep the microphone's wires short and away from motors and PWM; electret capsules pick up hum.
- Calibration: capsules vary by a few dB; calibrate against a known level for real dB SPL readings.
- Supply: 2.4 - 5.5 V; a noisy supply shows up in the audio.
Troubleshooting
- The reading never moves: the sound is under one ADC step at this gain - turn the trimmer up.
- Loud sounds read too low: the output clips - turn the gain down.
- All levels are off by the same amount: the sketch's GAIN does not match the trimmer.
- OUT sits at 0 V: VCC is not powered.
- The part is not simulated:
TEPMAX4466.DLLis missing from MODELS and from the project folder.
Limitations of the Simulation
- The amplifier follows the MAX4466 datasheet (supply, current, rail-to-rail output, gain-bandwidth) and the usual breakout circuit; the board is our own drawing.
- Our own figures: the capsule's -44 dBV/Pa, the 20 Hz low end, the 100 ohm output, and the DEMO room's sounds in fast time.
- Not modelled: the capsule's frequency response, hum pick-up and the amplifier's own noise.
- Arduino is a name of Arduino; this library is not made or endorsed by Arduino, Labcenter or the chip's maker.
- Tested in Proteus 8.5 in November 2026 (the demo as shipped). Proteus 7 is not supported.
So, that was all about the MAX4466 Microphone Amplifier Library for Proteus Simulation. I hope it helps your projects listen - and tell a whisper from a clap. If you have any questions, ask in the comments and I will help you out. Till the next tutorial, take care and have fun!