I would like to know why a non-inverting input op-amp is used and why not an inverting op-amp?

I think what you mean is, why is the op amp configured as a non-inverting amplifier rather than an inverting amplifier. In this instance, I think either configuration could have been used. However, the non-inverting configuration allows a higher input impedance to be achieved, so it is preferred when the input source has a high input impedance.

To set the gain to the required value. Op amps have a high (and somewhat variable) gain that drops off with increasing frequency, and are intended to be used with negative feedback so as to reduce the gain to the value that you need.

C1 is a decoupling capacitor, to keep the op amp stable. R5/R6/C5 provide a filtered bias voltage to the microphone (I don't know what type of microphone it is, but presumably it is a type that requires a DC bias). C2 stops this bias voltage feeding through to the op amp. R3/R4 bias the op amp input to half the supply voltage which will be about the middle of its common mode input range. R1/R2 define the gain of the op amp to be 11 and C3 is a DC blocking capacitor to reduce the gain to 1 for DC, thereby ensuring that on average the op amp output is at half the supply voltage as defined by R3/R4.

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

C3 will reduce the AC gain at frequencies for which its reactance is not insignificant compared to R2. The reactance of a capacitor with value C at frequency f is 1/*2*pi*f*C). So it's just a matter of choosing C3 to be large enough to preserve the gain down to the lowest frequency of interest.

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Thanks alot. Can I use the above circiut to drive a small speaker? Which is 0.5 W and 8ohms?

You mean use the circuit to amplify the signal from the microphone and drive a speaker? You can try it, but it won't be very loud. The LM358 is a low-power op amp so it is only designed to source or sink a few milliamps.

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

You mean use the circuit to amplify the signal from the microphone and drive a speaker? You can try it, but it won't be very loud. The LM358 is a low-power op amp so it is only designed to source or sink a few milliamps.

What other chip can be implemented with the same circuit? Also, from my understanding if I want to drive a speaker using a microphone then I need a amplification circuit in between (but is it voltage or current amplification circuit).

What I want to achieve is that, I want to connect the output from microphone to arduino and from arduino to speaker. So when I scream or whisper the microprocessor will detect the voltage and print out for me on the computer using serial monitor. And if the voltage is higher than a certain value it will on the speaker and output the voice. So, to achieve this I am using an electret microphone, a speaker with 8ohms and 0.5W and arduino Uno. I would like to know how and what I I should do to achieve this?

I have come up with a circuit as shown in the attachment. (If i am getting good enough voice i will not be using a filter, because right now I just want to know to use these things and learn and do filter later).

What I want to achieve is that, I want to connect the output from microphone to arduino and from arduino to speaker. So when I scream or whisper the microprocessor will detect the voltage and print out for me on the computer using serial monitor. And if the voltage is higher than a certain value it will on the speaker and output the voice. So, to achieve this I am using an electret microphone, a speaker with 8ohms and 0.5W and arduino Uno. I would like to know how and what I I should do to achieve this?

You could use the op amp circuit to amplify the signal for the Arduino. You could use the second of the two chips I linked to, to amplify the output of the op amp and feed the speaker. That chip has a DC volume control input with a mute mode, which you can drive from an Arduino pin via a pot (for volume control). A low on the pin will mute the output, a high will enable the output with volume controlled by the pot.

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Thanks alot dc42. I hope I didn't bug u too much. Im just new in this stuff and learning. The the circuit attached by me in the previous topic, do you think i can use it for amplification? One last request if i may, can you give me a simple block diagram for your statement so that I could clearly visualise what I am going to do.

Quote

Can I have a block diagram for this statement: You could use the op amp circuit to amplify the signal for the Arduino. You could use the second of the two chips I linked to, to amplify the output of the op amp and feed the speaker. That chip has a DC volume control input with a mute mode, which you can drive from an Arduino pin via a pot (for volume control). A low on the pin will mute the output, a high will enable the output with volume controlled by the pot.

About the diagram. I want the voice from microphone to go arduino and check the frequency or voltage range and if its between a certain range to on the speaker and output from the voice from the speaker. Is it possible with the block diagram you mentioned.

About the diagram. I want the voice from microphone to go arduino and check the frequency or voltage range and if its between a certain range to on the speaker and output from the voice from the speaker. Is it possible with the block diagram you mentioned.

That doesn't make sense to me. What I think you mean is that the speaker should normally be silent, but when the sound picked up by the microphone is loud enough, the signal from the microphone is amplified and fed to then speaker. In which case, this circuit can do that of the Arduino is suitably programmed. The Arduino will take a small amount of time to decide that the signal is loud enough, so the speaker won't cut in until a few milliseconds after the loud sound started. This may make it hard to understand what the first word spoken was.

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

I came across (http://www.karlander.net/projekt/arduino-crib_rocker.html). It fascinates me how the person did it. I would like to try and implement something similar to it accept that I want the microphone to pickup the sound and send to arduino to detect if its baby's cries. If it is then I want arduino to ON the speaker and output cries from the speaker. It's ok if there is some noise for the time being. He has used a transistor, but in my case I want to go with an op-amp since, I have spent quite abit of time learning it in the last 3 days. So, how do you propose I go about it. Attached is the idea if the wording seems confusing to follow.