element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Open Source Hardware
  • Technologies
  • More
Open Source Hardware
Blog Microphone Amplifier for Micro-controllers
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Source Hardware to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 14 Mar 2020 9:58 PM Date Created
  • Views 3866 views
  • Likes 12 likes
  • Comments 6 comments
  • microphone amplifier
  • preamplifier
  • electret microphones
Related
Recommended

Microphone Amplifier for Micro-controllers

shabaz
shabaz
14 Mar 2020

The blog post here is just a place to put files and diagrams related to an electret microphone element amplifier circuit that is intended for basic sound or speech applications. The circuit is based on requirements from  BigG  and analysis from michaelkellett.

It was created as part of a discussion in the comments here:

https://www.element14.com/community/message/289305/l/trying-to-understand-how-r-c-affect-an-audio-signal-when-used-in-a-…

That discussion can be referred to, for the detail!

 

Example output when placed several meters away from a battery-powered smoke alarm which has just started to sound:

image

Zoomed-in:

image

 

Prototype:

image

 

Here is the general circuit. It accepts an electret mic element input along with a 3.3V supply, and outputs on J1 pin 2 a signal suitable for listening via an audio amplifier, or alternatively J1 pin 3 can be used to directly connect to an analog-to-digital converter (ADC) input on a microcontroller.

image

For alarm sounds, if it is desired to reduce the frequency response for normal speech, then C1 and C3 can be reduced in value, for instance C1 can be 100nF and C3 can be 10uF.

The printed circuit board (PCB) layouts are below. The attached zip file below can be sent to a PCB manufacturer. The board size is 37 x 15 mm.

All the parts are large and easy to hand-solder.

 

Top view:

image

Solder-side view:

image

 

 

Component List

 

QtyReferenceComponent
1R41.2k resistor 08051.2k resistor 0805
1R8100 ohm resistor 0805100 ohm resistor 0805
1R212k resistor 080512k resistor 0805
1R71k resistor 08051k resistor 0805
1R62.2k resistor 08052.2k resistor 0805
1R3220 ohm resistor 0805220 ohm resistor 0805
1R14.7k resistor 08054.7k resistor 0805
1R5TS53 series 10k trimmerTS53 series 10k trimmer
1C4100nF capacitor 0603100nF capacitor 0603
1C110uF capacitor 16V 4mm or 5mm dia10uF capacitor 16V 4mm or 5mm dia
1C22.2uF capacitor 16V 4mm or 5mm dia2.2uF capacitor 16V 4mm or 5mm dia
2C3, C5220uF capacitor 16V 6mm or 7mm dia220uF capacitor 16V 6mm or 7mm dia
1C63.3nF capacitor 06033.3nF capacitor 0603
1C74.7nF capacitor 06034.7nF capacitor 0603
1Q1BC847CBC847C
1MIC1Any electret microphone elementAny electret microphone element
Attachments:
export-mic-preamp.zip
  • Sign in to reply

Top Comments

  • cstanton
    cstanton over 5 years ago +3
    I get the impression microphones are an under-used component in people's microcontroller projects. Most people probably think of only using microphones to record human speech, but I'm sure there's an opportunity…
  • DAB
    DAB over 5 years ago +2
    Nice basic amplifier circuit. DAB
  • balearicdynamics
    balearicdynamics over 5 years ago +2
    Sounds very good in response. It is worth I try to use a couple of these instead the standard Adafruit boards I used for the ears of Seven of Nine
  • dubbie
    dubbie over 5 years ago

    Shabaz,

     

    Looks a good circuit. I designed a circuit using electrets many years ago now that was my introduction to these amazingly sensitive devices. I think it was some sort of volume sensor - if you shouted loud enough it activated something. I can't really remember as it was so long ago. The PCB design looks good.

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 5 years ago in reply to cstanton

    Hi Christopher,

     

    You're right, maybe they have been underused because local processing was difficult in the past. In theory a mic should (say) make a far higher quality window sensor, since it can hear broken glass but could also hear knocking on the window frame if burglars are trying to pull off the pane, and alert far earlier than the old metal tape on glass method : )

     

    Also this part looked really interesting:

    STMicroelectronics introduces IIS3DWB MEMS vibration sensor optimized for industrial monitoring

    It is not strictly a mic, but picks up vibrations that could include some of the purposes you may be thinking of too. It looks really neat, it has on-chip filtering capabilities, and also streams to its own memory, so that the microcontroller can retrieve many samples all in one go to save energy and timing : ) Would be nice to try it out on different household scenarios!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 5 years ago in reply to cstanton

    Agreed.

     

    I would be interested in an ultra sonic microphone to see if I could capture bat signals locally.

     

    I would also like to see an infrasonic microphone to capture very low frequency sounds.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cstanton
    cstanton over 5 years ago

    I get the impression microphones are an under-used component in people's microcontroller projects. Most people probably think of only using microphones to record human speech, but I'm sure there's an opportunity for audio outside of human hearing to filter on for a project.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 5 years ago

    Sounds very good in response. It is worth I try to use a couple of these instead the standard Adafruit boards I used for the ears of Seven of Nine

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube