Is a preamp needed for a PIC

Thread Starter

JDR04

Joined May 5, 2011
367
Hi Folks, my project involves using a 16F688 PIC and a electret microphone.

I would like the circuit to be sensitive enough to detect a normal conversation in a quiet room.

My question is, does the PIC require a preamp and amp so that the signal can be detected?

Any suggestions or circuits will be most welcome.

Thanks a lot......JDR04
 

ErnieM

Joined Apr 24, 2011
8,377
A PIC16F688 when combined with a microphone (amplified, of course) has sufficient resources to make a device such as a clapper. (Clap on, Clap off, Clap on clap off... the clapper!)

I cannot grab any other intelligence out of a normal conversation in a quiet room.
 

Thread Starter

JDR04

Joined May 5, 2011
367
A PIC16F688 when combined with a microphone (amplified, of course) has sufficient resources to make a device such as a clapper. (Clap on, Clap off, Clap on clap off... the clapper!)

I cannot grab any other intelligence out of a normal conversation in a quiet room.
Hi ErnieM, thanks for the info. Can you or anybody else suggest a circuit with minimum parts as I am limited for space. The quality of the audio is not important in this instance.

Thanks a lot....JDR04
 

Markd77

Joined Sep 7, 2009
2,806
Where it says output to next stage you will want a voltage divider between Vdd and Vcc, maybe two 100K resistors (I don't know how to work out the ideal values) because otherwise you will be driving the PIC input below 0V.
 

Thread Starter

JDR04

Joined May 5, 2011
367
Thanks Markd77. I'll give it a bash next week and let you guys know how it workeed out.

Thanks again to everyone.......JDR04
 

MrChips

Joined Oct 2, 2009
30,821
If you want to connect the output of the preamp to a microcontroller ADC input, power the preamp from the MCU supply and eliminate C2 in the schematic.
 

ErnieM

Joined Apr 24, 2011
8,377
If you want to connect the output of the preamp to a microcontroller ADC input, power the preamp from the MCU supply and eliminate C2 in the schematic.
Ouch, I would not do that. A biased gain stage like this will have an output around 1/2 the supply voltage, or around 2.5 V in a PIC running off 5V.

That should ONLY be input to an analog input. Using a digital input may result in damage to the PIC.

As the device you are looking at cannot handle voice the best you can hope for is a clap on, clap off thing, which is implying digital.

You would have to move up to a PIC24 in the "DS" range to hope to get a 5KHz sample bandwidth, which is what a telephone can do on a good day.
 
Top