Electret microphone to ADC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello everyone,

I'm new in PSoC family.

I am working at connecting microphone to PSoC but with no effects. I understand that I need a pre-amplifier but I wonder if it possible to use embedded software amplifier? I think about PGA or Opamp. I use them but I can't see any signal (except microphone power voltage). I use voltage divider to power the microphone.

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

Audio microphone output is +- AC, PSoCs only accept signals between GND and VDDA, so you will need to do a level-shift with an R-ladder. Yes, you may use the internal (hardware, not software) OpAmp or PGA. Signal restrictions apply to both of them too.

   

When still stuck,  you may post your complete project (plus some schematic), so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

View solution in original post

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

Audio microphone output is +- AC, PSoCs only accept signals between GND and VDDA, so you will need to do a level-shift with an R-ladder. Yes, you may use the internal (hardware, not software) OpAmp or PGA. Signal restrictions apply to both of them too.

   

When still stuck,  you may post your complete project (plus some schematic), so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Thanks for quick reply,

I attached the project and microphone specs. 

   

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The transfer function for your PGA is

   

Vout = Vref + (Vin – Vref) × Gain

   

Vin is in the range of +- a few mV, but your Vref lies at some V.  You need to shift the Vin a few mV above GND and you may take internal Vss as Vref thus saving a pin

   

 

   

Bob

lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Amplify only AC component coming from microphone. As an example, see attached picture

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi all,

I have to rebuild my project and now I have to problems to solve.

First - i use "Music Creation" project on CY8CKIT-033A. I have to connect stereo microphones (with parameters in earlier post) to line-in and record sounds using iPhone. With resistor, capacitor and VCC (3.3V) I can see something in records but it is too quiet. Can I gain this sound internally in PSoC or I must use external components (op-amp)? I tried to add PGA after op-amp but with it there is no sound.

Second - I have MEMS microphone with 0.66V dc and +/-100mV sound - I can't read it properly. Hot to cut-off this 0.66V and gain this 100mV to get wider and more accuracy measurement? I need to use this microphone to phone calls.

0 Likes