viernes, 4 de noviembre de 2016

Amplificador para de Microfono (Sonido) para Arduino

Amplificador para de Microfono (Sonido) para Arduino


LM358 microphone amplifier

After the unconvincing performance of the LM386 mic amp, another design is put to the test. This time, based around a LM358 operational amplifier.

Op-Amps

Operational amplifiers are high-gain voltage amplifiers. There’s a huge amount of information available on how to use them and the guide I followed is TI’s“Op Amps for Everyone”. The schematic is an “Inverting AC amplifier” (A.3.18, p. 424). From the equations there, the voltages on the two outputs are:
  • V_OUT_UC = – V_IN * R5 / R4 + VCC / 2 = – 100 * V_IN + VCC / 2
  • V_OUT = -100 * V_IN, as the C3 capacitor is blocking the DC component
(V_IN is the voltage at pin 2)
Op amps do not provide a lot of output power. In-ear headphones can be driven from V_OUT, but it’s unlikely that a LM358 will power even a small speaker. For a microcontroller, connected to V_OUT_UC, output power does not matter, only voltage does.

LM358 sound sensor performance

As in the LM386 mic amp setup, V_OUT_UC is connected to Arduino’s A0 pin and the Min-Max sketch is uploaded. By using different R5 resistor values (10K, 47K, 100K), gains of 10x, 47x and 100x are achieved:
Gain(Silence)Loud knock
ReadingsAmplitudeReadingsAmplitude
10x510 ~ 5122307 ~ 735428
47x505 ~ 5171217 ~ 754737
100x500 ~ 525257 ~ 755748
Pretty good! The noise level in silence increases linearly with gain. Moving from 10x to 50x gain gives a good increase in the maximum output swing. Pushing the gain to 100x provides only a minor improvement. Overall, the 50x setup gives the best noise vs. output swing results.
The LM358 does not have a true rail-to-rail (0V to VCC) output. The datasheet specifies an “output voltage swing 0V to (VCC – 1.5V)”. This means that when VCC = 5V, the largest possible analog reading is in the 715 – 750 range. In order to get an wider output range, a better op-amp should be used.
Current draw was 1.52mA, in the 100x setup
LM358 sound sensor on a breadboard (click for high-res)

Parts list

PartValueDescription
C110uFMicrophone coupling capacitor
C2100nFPower supply decoupling
C3220uFOutput coupling
MICElectret microphone
R11 ~ 10KMicrophone load resistor
R2, R310KVoltage divider: 1/2 VCC
R41KGain = – R5 / R4
R5100K
VSS3 ~ 30VSupply voltage

Downloads

Related posts

Links



///////////////////////////////////////////

Otro Diseño



http://circuitdiagram.net/simple-mic-pre-amp-based-lm358.html

Simple Mic Pre-Amp based LM358

Here the simple mic pre-amp circuit design based on single IC LM358. The circuit is very simple, inexpensive and easy to built. This mic pre-amplifier circuit operated with 9V DC voltage, you may use 9V battery for this circuit.
Mic Pre-amp Circuit Diagram
Component Parts List:
R1, R3, R4 = 10K
R2 = 1K
R5 = 100K-1M Potensiometer
C1 = 0.1uF
C2 = 4.7uF/16V
IC1 = LM358 dual op-amp single supply
Mic = Electret Microphone

Notes:
  • Use R5 to adjust the gain of op-amp LM358.
  • The LM358 has dual op-amp module, you may build stereo audio pre-amp using single LM358. These devices consist of two independent, high-gain frequency-compensated operational amplifiers designed to operate from a single supply over a wide range of voltages.


////////////////////////////////////////

Otro Circuito con TI en pdf

No hay comentarios:

Publicar un comentario