Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem in connecting an electret microphone

Status
Not open for further replies.

Arnab Ray

Newbie level 6
Joined
Jun 15, 2012
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,374
Hi everyone,

I am trying to connect an electret microphone to the ADC port (port A) of Atmel Atmega16. My aim is to light an LED when there is a sound.

I have directly connected the mic to the input port of the micro controller. But there is no voltage detection at the input, even after changing the potentionmeter value.

Please advice me how i should connect the mic to the micro controller. Also please tell the IC number of any pre-amplifier, if required...

The image of the connection made by me is shown below: CONNECTION.jpg
 

The output voltage of these microphones is only a few mV, probably less that a single digit in your ADC measurement and it is AC. You must amplify it to make it's output voltage big enough to measure, then rectify it to recover the sound envelope and finally filter it to make it stable enough to give consistent ADC readings. If you assume the mcrophone maximum output is say 10mV you need to amplify it by about 500 times to be able to reach full scale reading on the ADC.

Brian.
 
Can you please specify the IC numbers and the components required plus the steps to make the circuit as mentioned by you?

Thanks in advance.

Ray.
 

For amplification, you might use an audio preamplifier or you can build one using op-amps.

LM387 is one IC. However, you may find it difficult to obtain that IC.

You can find plenty of audio preamplifiers online, and they may be suitable for your needs.

Hope this helps.
Tahmid.
 

As you don't need high quality or low noise for your application, I would go for some cheap op-amps. Use two stages, set their voltage gain to say 20x to get the amplfication, then follow them with a simple diode and RC filter to recover measurable DC on your ADC input.

Brian.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top