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

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

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is 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 pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader