Author Topic: Pre-amp to connect microphone to speakers  (Read 9702 times)

0 Members and 1 Guest are viewing this topic.

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #25 on: November 28, 2018, 01:49:02 pm »
I've tried different mics and they work fine if connected directly to the PC. They are unpolarized but I have tried them in both directions already. The "squeaker" (I like that name) might be fried but the headphones work well.

You did not read about the LM386 gain and did not read about the electret mic that is definitely polarized. It will produce no output if it is connected backwards. Its metal case is connected to its "ground" pin (if it has only 2 pins) and the Jfet inside needs a positive current.

Why do you have such a tiny low power speaker? Headphones are tiny low power speakers.
 

Offline SoundFanTopic starter

  • Contributor
  • Posts: 17
  • Country: fr
Re: Pre-amp to connect microphone to speakers
« Reply #26 on: November 29, 2018, 02:22:21 pm »
You did not read about the LM386 gain and did not read about the electret mic that is definitely polarized. It will produce no output if it is connected backwards. Its metal case is connected to its "ground" pin (if it has only 2 pins) and the Jfet inside needs a positive current.

Why do you have such a tiny low power speaker? Headphones are tiny low power speakers.
I do not really understand the purpose of your comment.

I have read about the LM386 gain but must have mixed up that "fixed gain" part with another IC. I have read about so many op-amps in the last few weeks to try to find one that works for my project and I am quite busy with my medical studies, so it isn't surprising that I mix up some stuff. Where do you think did I get the number 20 ( which is correct if there is nothing connected to pins 1 and 8 ) from ?
If the mic is polarized, how comes it has no marking on the pins to differentiate between the Gnd pin and the Vcc/Output pin ? And how comes it works on my PC and the LM393 circuit in either directions. I have seen many different electret mics online where both pins were clearly different since they were polarized but the ones I use don't have any such feature.

I am really bad with Op-amps but I know how headphones work, thank you. My project simply requires a speaker of around the same diameter as the mic.
 

Offline chemelec

  • Contributor
  • Posts: 33
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #27 on: November 29, 2018, 03:02:13 pm »
If your Speaker is THAT SMALL, It must be Really Low Power.
Depending on its Impedance, the LM386 can Burn it out.
You might consider Adding a Series Resistor, to Limit the current into it.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #28 on: November 29, 2018, 04:54:01 pm »
An electret mic has a diameter of 6mm or 9.7mm. In old cell phones they were half that and in new cell phones they are a tiny little spec. I have a very small speaker (squeaker) that is 25mm in diameter that was in over-the-ears headphones.

My very small speaker also works as a microphone but has no Jfet in it like an electret mic has so it has no polarity and works both ways like yours. Then you do not have an electret mic, yours is a dynamic mic that is a little speaker with a magnet on the back of it.

A dynamic mic does not need and does not want the resistor used to power the Jfet in an electret mic. Try removing the resistor that powers your mic to see if it works much better without it.

Here are some photos of electret mics:
 

Offline Richard Crowley

  • Super Contributor
  • ***
  • Posts: 4317
  • Country: us
  • KJ7YLK
Re: Pre-amp to connect microphone to speakers
« Reply #29 on: November 29, 2018, 05:35:49 pm »
It might be time for some photos. There are literally hundreds (perhaps thousands?) of different small microphone capsules. We really have no clue what you have there.
 

Offline SoundFanTopic starter

  • Contributor
  • Posts: 17
  • Country: fr
Re: Pre-amp to connect microphone to speakers
« Reply #30 on: November 30, 2018, 09:01:49 am »
An electret mic has a diameter of 6mm or 9.7mm. In old cell phones they were half that and in new cell phones they are a tiny little spec. I have a very small speaker (squeaker) that is 25mm in diameter that was in over-the-ears headphones.

My very small speaker also works as a microphone but has no Jfet in it like an electret mic has so it has no polarity and works both ways like yours. Then you do not have an electret mic, yours is a dynamic mic that is a little speaker with a magnet on the back of it.

A dynamic mic does not need and does not want the resistor used to power the Jfet in an electret mic. Try removing the resistor that powers your mic to see if it works much better without it.

Here are some photos of electret mics:

Those are electret mics, and I do also have an electret mic. I will use one like in your photos with polarity, then it will be easier to assure it to be working with the same circuits. Until now changing the direction of the mics didn't seem to have helped though unfortunately.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #31 on: November 30, 2018, 05:50:34 pm »
You said that your electret mic works on your pc and on the LM393 circuit so it must be fine and the problem is with your opamp preamp and LM386 power amp circuit. Do you see on your mic where one pin connects to its metal case? Measure it with an ohm meter if you can't see it. That is the ground pin.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19572
  • Country: gb
  • 0999
Re: Pre-amp to connect microphone to speakers
« Reply #32 on: December 01, 2018, 02:29:47 pm »
An electret mic has a diameter of 6mm or 9.7mm. In old cell phones they were half that and in new cell phones they are a tiny little spec. I have a very small speaker (squeaker) that is 25mm in diameter that was in over-the-ears headphones.

My very small speaker also works as a microphone but has no Jfet in it like an electret mic has so it has no polarity and works both ways like yours. Then you do not have an electret mic, yours is a dynamic mic that is a little speaker with a magnet on the back of it.

A dynamic mic does not need and does not want the resistor used to power the Jfet in an electret mic. Try removing the resistor that powers your mic to see if it works much better without it.

Here are some photos of electret mics:

Those are electret mics, and I do also have an electret mic. I will use one like in your photos with polarity, then it will be easier to assure it to be working with the same circuits. Until now changing the direction of the mics didn't seem to have helped though unfortunately.
Do yo have a schematic for the LM393 amplifier circuit? I've never seen an audio amplifier based on that IC before. I wonder if it's class D? Or perhaps you've got the part numbers mixed up or there's a printing error and it's really the LM386?
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #33 on: December 01, 2018, 02:39:03 pm »
I think there is another website forum about this circuit or it was in a "conversation" with me. I saw the schematic with the LM393 and I commented that it was probably a "hands clap detector".
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #34 on: December 01, 2018, 03:08:33 pm »
I found this in Google:
 

Offline SoundFanTopic starter

  • Contributor
  • Posts: 17
  • Country: fr
Re: Pre-amp to connect microphone to speakers
« Reply #35 on: December 01, 2018, 03:16:42 pm »
I will use the electret mics with polarity from now on.

The LM393 circuit is a clap module but not the one that AudioGuru is referring to (mine has only 3 pins). I do also have the 4 pin version but that doesn't work with headphones. And oddly enough, its quality is quite good for a clap sensor (but still not good enough)
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19572
  • Country: gb
  • 0999
Re: Pre-amp to connect microphone to speakers
« Reply #36 on: December 01, 2018, 07:50:38 pm »
I think there is another website forum about this circuit or it was in a "conversation" with me. I saw the schematic with the LM393 and I commented that it was probably a "hands clap detector".
I found this in Google:
Then the LM393 is not being used as an amplifier, but a comparator. It will not drive a speaker, unless you just want it to make a click, when it picks up a sound.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #37 on: December 01, 2018, 08:10:24 pm »
The LM393 plays audio with lots of "overdrive" (because it has very high gain and no negative feedback) producing severely distorted squarewaves. Like acid rock "music".
I think the transistor preamp had a lowpass filter to cut high audio frequencies letting the clipping from the LM393 produce the severe distortion.
 

Offline Teledog

  • Regular Contributor
  • *
  • Posts: 206
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #38 on: December 02, 2018, 01:23:49 am »
Was looking for the same sort of schematic.
A real PITA to build.
Do an eBay search for "DC 3.7V-6V MIC AMP MAX9812L+TDA1308 Stereo Microphone Headphone Amplifier Module"
Works like a charm! (only used cheap earbuds, but can go to an extremely high volume)
There is already a DC bias on the electret mic input.
Just plug in your electret mic, battery & headphones (small speaker?)  & good to go.
An AC->DC  wall wart DOES cause a hum though..battery power is quiet.
 
The following users thanked this post: SoundFan

Offline SoundFanTopic starter

  • Contributor
  • Posts: 17
  • Country: fr
Re: Pre-amp to connect microphone to speakers
« Reply #39 on: December 02, 2018, 06:53:27 am »
Then the LM393 is not being used as an amplifier, but a comparator. It will not drive a speaker, unless you just want it to make a click, when it picks up a sound.
In my case it seems to be working as an amplifier, it really does output sound. I can even hear my voice with it.

The LM393 plays audio with lots of "overdrive" (because it has very high gain and no negative feedback) producing severely distorted squarewaves. Like acid rock "music".
I think the transistor preamp had a lowpass filter to cut high audio frequencies letting the clipping from the LM393 produce the severe distortion.
That will probably be a problem, I really wish to get a good sound quality.

Was looking for the same sort of schematic.
A real PITA to build.
Do an eBay search for "DC 3.7V-6V MIC AMP MAX9812L+TDA1308 Stereo Microphone Headphone Amplifier Module"
Works like a charm! (only used cheap earbuds, but can go to an extremely high volume)
There is already a DC bias on the electret mic input.
Just plug in your electret mic, battery & headphones (small speaker?)  & good to go.
An AC->DC  wall wart DOES cause a hum though..battery power is quiet.
This module seems to be exactly what I've been looking for ! I just bought it and will give feedback about it when it arrives.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19572
  • Country: gb
  • 0999
Re: Pre-amp to connect microphone to speakers
« Reply #40 on: December 02, 2018, 09:52:30 am »
That module looks good for small headphones, but its output, with low distortion, is only specified as 80mW into 8Ω, so won't be very loud if you use it to drive speakers.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Pre-amp to connect microphone to speakers
« Reply #41 on: December 03, 2018, 02:04:00 am »
The MAX9812L is a mono mic preamp and the TDA1308 not made anymore was a stereo headphones amplifier. Maybe ebay is selling old ones or a Chinese knock-off. The TDA1308 has its output power (typically only 40mW) spec'd with a 5V supply and 32 ohm headphones. Its output power is much less into 8 ohms.
 

Offline SoundFanTopic starter

  • Contributor
  • Posts: 17
  • Country: fr
Re: Pre-amp to connect microphone to speakers
« Reply #42 on: December 03, 2018, 04:15:01 am »
I've also noticed the low-power output of this module. I won't keep this module for the final version of my project anyway but I would like to reverse-engineer it to get a better understanding of why it works. Afterwards, I would like to modify the circuit to use some better suited ICs.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19572
  • Country: gb
  • 0999
Re: Pre-amp to connect microphone to speakers
« Reply #43 on: December 03, 2018, 09:14:26 am »
The MAX9812L is a mono mic preamp and the TDA1308 not made anymore was a stereo headphones amplifier. Maybe ebay is selling old ones or a Chinese knock-off. The TDA1308 has its output power (typically only 40mW) spec'd with a 5V supply and 32 ohm headphones. Its output power is much less into 8 ohms.
No, the output is higher in to 8 Ohms than 32 Ohms.

EDIT: You were right. It's current limited, so reducing the load impedance below 16 Ohm will reduce the output voltage when clipping occurs, see my post below.
I've also noticed the low-power output of this module. I won't keep this module for the final version of my project anyway but I would like to reverse-engineer it to get a better understanding of why it works. Afterwards, I would like to modify the circuit to use some better suited ICs.
Try searching for the data sheets for he ICs used on Google. I doubt you'll be able to replace them with other ICs because they'll be specifically designed around them.

There isn't that much which can be learned from looking at these modules because all the ICs are black boxes. If you want to learn you're better off looking at older discrete audio amplifier schematics.
« Last Edit: December 03, 2018, 03:09:03 pm by Hero999 »
 

Offline SoundFanTopic starter

  • Contributor
  • Posts: 17
  • Country: fr
Re: Pre-amp to connect microphone to speakers
« Reply #44 on: December 03, 2018, 10:12:48 am »
No, the output is higher in to 8 Ohms than 32 Ohms.
Yes, since power (W) = U²/R

There isn't that much which can be learned from looking at these modules because all the ICs are black boxes. If you want to learn you're better off looking at older discrete audio amplifier schematics.
I don't just want to look at them (you're right, that would be totally pointless), I would like to look at the gain range used and at the circuit in general, I just want to find the difference between the method described in this topic and the way the board is designed, so that I can try to make a better working circuit.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19572
  • Country: gb
  • 0999
Re: Pre-amp to connect microphone to speakers
« Reply #45 on: December 03, 2018, 03:07:25 pm »
No, the output is higher in to 8 Ohms than 32 Ohms.
Yes, since power (W) = U²/R
Yes, that's what I initially thought but I was wrong. Audioguru was right. The output is current limited, so the output power will be higher into a 32 Ohm load an highest into a 16 Ohm load. P = I2R.

In real life it will probably make little difference because a typical 8 Ohm speakers actually have a higher impedance than 8 Ohms at the frequencies they work best at. I don't know whether the same is true for headphones.

Quote
There isn't that much which can be learned from looking at these modules because all the ICs are black boxes. If you want to learn you're better off looking at older discrete audio amplifier schematics.
I don't just want to look at them (you're right, that would be totally pointless), I would like to look at the gain range used and at the circuit in general, I just want to find the difference between the method described in this topic and the way the board is designed, so that I can try to make a better working circuit.
No doubt the modules will be similar, if not identical to the example schematics on the data sheets. I doubt you'll learn much by studying them.
https://datasheets.maximintegrated.com/en/ds/MAX9812-MAX9813L.pdf
https://www.nxp.com/docs/en/data-sheet/TDA1308.pdf
 

Offline SoundFanTopic starter

  • Contributor
  • Posts: 17
  • Country: fr
Re: Pre-amp to connect microphone to speakers
« Reply #46 on: December 06, 2018, 04:16:45 am »
Thank you very much ! The module works well.
I just have a few more questions please, I don't know whether I should open a new thread or not:

Which are the biggest electret mic capsules out there please ? I have seen 26mm ones but they are hard to get in my location. Ideally, I would like to find one with a diameter of around 40mm to experiment with but I don't think that there are any. It doesn't actually need to be an electret mic, any 40mm mic would be really great.

I had once read a post on another forum where someone said he's sometimes making his own electret capsules in his free time. I know it probably won't be easy, but do you know how it is possible to do that please ? Which materials would I need ? Is there any tutorial out there for that please ?
« Last Edit: December 06, 2018, 05:34:14 am by SoundFan »
 

Offline Richard Crowley

  • Super Contributor
  • ***
  • Posts: 4317
  • Country: us
  • KJ7YLK
Re: Pre-amp to connect microphone to speakers
« Reply #47 on: December 06, 2018, 05:51:49 am »
There are many sources of large-diameter condenser ("LDC") microphone capsules.  When you start getting up into those sizes, they are no longer electret (permanently-charged).

You will have to provide a rather high-voltage to "charge-up" the condenser, and then provide an extremely high-impedance first-stage amplifier. This is quite esoteric circuit design and construction.  It requires extraordinary cleanliness and isolation to avoid leakage of the high voltage, the very miniscule audio signal and the very high impedance.

There are LDC microphone kits available to help with the very tricky bits.  A "scratch-built" condenser microphone (of any size) is not the kind of circuit most people find they can accomplish before they have a good amount of experience.

Primo is a popular source of mic capsules for people making their own mics. https://www.primomic.com/
Dynamic and electret capsules up to around 14mm

Larger capsules are available from places like https://microphone-parts.com/collections/capsules
Many of those run to rather expensive, so be prepared.
OTOH there are many offers on Ebay from vendors in China selling LDC capsules for < US$20
https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=large+diaphragm+condenser+microphone+capsule



 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf