Fork me on GitHub

Project Notes

#482 Electret Sound-level Trigger

A simple circuit using a TL072 op-amp and 74LS14 inverter for getting a clear digital trigger signal based on the sound level detected by an electret microphone.

Build

Notes

The purpose of this circuit is to get a clear digital signal (as close to rail-rail as possible) based on the sound level picked up by an electret microphone. It is not intended to amplify the audio input, but to provide a trigger once a variable threshold is reached.

I put this circuit together in four basic stages:

  • the electret input is amplified with a high-gain inverting amplifier
  • an op-amp configured as a variable comparator turns the analog input to a binary output
  • an RC filter with a time constant of araound 47ms provides some “de-bouncing” and extends the minimum duration of any triggered input
  • a series of inverters pull the signal to as-near rail-rail as possible, and allow tapping the output with the desired polarity (active-low or active high)

Construction

Breadboard

Schematic

Build

Performance

Here’s a scope trace of a sound triggering the output.

  • CH1 (yellow) is the interter output
  • CH2 (blue) op-amp output
  • CH3 (red) electret output (note the 200mV scale)

scope

Credits and References

About LEAP#482 ElectretAudioSensor
Project Source on GitHub Return to the LEAP Catalog

LEAP is just my personal collection of electronics projects - 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.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics 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.

For a while I have also included various scale modelling projects here too, but I've now split those off into a new repository. Check out LittleModelArt if you are looking for the modelling projects!

Project Gallery Notebook LittleCodingKata LittleModelArt More on my blog