Fork me on GitHub

Project Notes

#038 ElectretADC

Use an Arduino to read the amplified signal from an electret microphone.

Notes

The electret microphone is biased to about 1V, and the AC component of the signal tapped via C1.

The microphone signal is then fed to the LM324 set for a non-inverting DC gain of 23 to convert it to a full range analog input.

G = 1 + Ra1/Ra2 = 1 + 22/1 = 23

Although the LM324 is not particularly specialised for audio applications, it works OK for a quick test. I’ll probably redo this when I have an LM386 Low Voltage Audio Power Amplifier available.

The amplified signal is read by the Arduino and plotted with LEAP#090 PlotNValues (a simple Processing sketch).

Here is a sample. The lower trace is the mic signal presented to the non-inverting input, the upper trace is the amplified signal output from the OpAmp:

processing trace

Construction

The Breadboard

The Schematic

The Build

NB: for simplicity, the circuit is powered from the Arduino 5V pin. That works fine, although it is equally possible to use a separate power supply (but ensuring there is a common ground connection).

Credits and References

About LEAP#38 AudioArduino
Project Source on GitHub Project Gallery Return to the LEAP Catalog

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

LEAP is just my personal collection of projects. Two main themes have emerged in recent years, sometimes combined:

  • electronics - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting
  • scale modelling - I caught the bug after deciding to build a Harrier during covid to demonstrate an electronic jet engine simulation. Let the fun begin..
To be honest, I haven't quite figured out if these two interests belong in the same GitHub repo or not. But for now - they are all here!

Projects are often inspired by things found wild on the net, or ideas from the many great electronics and scale modelling podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.