This is my second try to make a high sensitive sound trigger..so i switch from transistor to opamp.
I've read in a google book that if a high gain is needed the it should be obtained in two stages - first one with a fixed gain of 10 and the second with a max gain of 100. The output of the second stage goes into the comparator witch will lit the led and close the opto-coupler.
Do you think that the circuit will work?
Should i use a max gain of 500 in the first stage and the second one use it as comparator (without the 393 and adding a 2n2222 at the output of second stage)?
Isn't the idea that the average sound level is supposed to switch the output? What you have built will switch the output on/off on a an audio cycle-by-cycle basis, which is not what I think you want.
You need to amplify the audio, then rectify the audio to get the peak value, filter the rectified audio to create an average level (with the appropriate time constant), and then feed the average level to the comparator.
OK
when the mic detects a water drop sound i need the transistor from the optocoupler to be in ON state.
I've attached the new schematic of the circuit. V1 simulates the electret
Please ignore the optocoupler transistor connections
Your 2.25V is actually 4.5V because C2 still blocks blocks R2 from being the bottom half of the voltage divider.
D1 is faced in the right direction so it doesn't disable the circuit, but I still see no purpose for it. It just wastes 0.65V making your 4.5V actually 3.85V. Maybe it's left over from an earlier project.
I put D1 in the circuit to remove the risk of the reverse battery connection, but it can be removed.
Regarding C2 i read that is needed as a "power reserve" for the op amplifier...so it can be removed also
"The LM393 is open collector and will not supply base current to Q1" this means that i have to use a pull up resistor on the output? to be honest with you i didn't read the data sheet of this circuit, but i will download it and take a look.
PS: Some mistakes are indeed the result of Copy Paste from other projects, i 'll try to check them from now on
The first preamp opamp is inverting with an input impedance of only 1k ohms which "shorts" the fairly high output impedance of the electret mic and the 1k resistor that powers it. This opamp should have an input impedance of at least 10k ohms which is made by increasing the values of the gain-setting resistors or using a non-inverting amplifier.
The input offset voltage of the second opamp and/or the comparator might make the circuit turn on the output all the time. Therefore the comparator's trigger voltage needs to be adjustable.
The comparator will probably oscillate all the time because it does not have any hysteresis which is mentioned in its datasheet.
maybe this will sound stupid to you but i have to ask
If i make the gain of the preamp variable then i can adjust the amplitude of signal at the comparator input above or below 2.25v. In this case why do i need to adjust the offset voltage of the comparator?
PS: I just realize the mistakes i made in the first circuit: wrong position of C2 and also a missing capacitor at the input of the first op amp. I'm sorry ...i promis to check the schematic twice before posting
I think i just got my reply ..the signal will oscilate arround 2.25v
can i put a 500 gain in the first half of the lmv722 and use the second one as comparator? because i'm not interested in sound quality ...just sound waves amplitude (detect water drops splash from 30-40cm)
You do not need a current-limiting resistor into the base of the transistor. The pullup resistor sets the amount of base current.
If you do not adjust the DC trip voltage of the comparator then its input offset voltage and/or the input offset voltage of the second opamp might make it turned on all the time without a signal.
If you do not add hysteresis to the comparator then it will probably oscillate all the time.
The duration of the output will be extremely short and might not trigger the camera's shutter.
the out put of this circuit will be the input for a delay one
actually the led and the opto coupler will be at the output of the delay circuit
I try to make the design by pieces. I will need to redesign also the photodiode trigger (bwp34) because now i want to trigger to flash from other camera, lightning and led (white led and IR led)
see below the delay circuit
the delay is made for the light sensor (is needed here a lot) but if i set it to minimum i will get a 10ms delay from the first stage.
In the circuit that i use bc547 as preamp and 1/2lmv722 as comparator the circuit trigger just fine , the problem there was the gain of the preamp, that's way i switch to op amp
Interesting problem. I found some explanations here **broken link removed**
what i can't understand now is why the first op amp shouldn't have the same resistor? and why use a 100k to 1M resistor when from the equations Rbias=R1||R2 (R1,R2 are the resistors that sets the gain)?
Your opamp is inverting with a low input impedance of 2.2k ohms. Its gain is as calculated if it is driven from a very low impedance but the electret mic is a fairly high impedance. The electret mic is shorted by the low input impedance of your inverting opamp and the gain of the opamp is much less than what you want.
Again I say, use a non-inverting opamp amplifier that has a high input impedance.