Sound Level Indicator

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi Giroup,
Why don't you make my Sound Level Indicator project?
http://www.electronics-lab.com/projects/motor_light/009/index.html

I used 20 very bright red LEDs but it would also look good with ultra-bright blue or green only 10 LEDs.

View attachment 38632

 

napos

Apr 7, 2006
4
Joined
Apr 7, 2006
Messages
4
Hello!

I have some questions about this circuit:

1)Is IC1 for amplifying the electret mic, because the signal without the IC would be too weak? Can i have a such mic which does not have to have a preamp?

2)Is IC1 supplied with +9(+7,5)V or with +5 V? MC33172P is single supplied, this means that it is amplifying only positive signal (AC can't come out from there)? The AC is not needed because when we want the LED-s to shine, then it is enough from half-sine (pulsating DC)? Is it so?

3)Q1 and Q2 have supply also +9V not +5V?

napos

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi Napos,
Welcome to our forum. ;D

napos said:
Hello!

I have some questions about this circuit:

1)Is IC1 for amplifying the electret mic, because the signal without the IC would be too weak? Can i have a such mic which does not have to have a preamp?
The electret microphone has a low output level. IC1 amplifies it, rectifies it and drives the transistors.

2)Is IC1 supplied with +9(+7,5)V or with +5 V? MC33172P is single supplied, this means that it is amplifying only positive signal (AC can't come out from there)? The AC is not needed because when we want the LED-s to shine, then it is enough from half-sine (pulsating DC)? Is it so?
IC1 has a 7.2V to 9V unregulated supply.
Any opamp will work with a single supply if its input voltages are near half the supply voltage, and then amplify AC voltages. I used an MC33172 because its inputs work at the same voltage as the negative supply, and the output voltage can go nearly down to the negative supply. The negative supply is ground in my circuit.

3)Q1 and Q2 have supply also +9V not +5V?
Yes.
 

napos

Apr 7, 2006
4
Joined
Apr 7, 2006
Messages
4
Thanks for reply

I have one more question, resistor R16 has value 10/1W, this means that the resistor is 10 Ohm and 1W?


Update:

This was already mentioned in the text, my bad

"...LM3915 gets hot so the 10 ohm/1W resistor R16 shares the heat..."

 
Last edited by a moderator:

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
napos said:
I have one more question, resistor R16 has value 10/1W, this means that the resistor is 10 Ohm and 1W?
Correct.

This was already mentioned in the text, my bad

"...LM3915 gets hot so the 10 ohm/1W resistor R16 shares the heat..."
Yes. With a 9V supply, 10 LEDs drawing 27mA each through the LM3915 and 2V LEDs, the LED driving circuit must dissipate 7V x 270mA= 1.89W. The LM3915 will overheat.
The 10 ohm resistor will dissipate 270mA squared x 10 ohms= 0.73W, so the LM3915 dissipates the difference of the total which is 1.16W.
 

helio905

Mar 31, 2006
17
Joined
Mar 31, 2006
Messages
17
I tried. Not bad. I also used each input to power a transistor to preform other
task a deferent adio levels. For exaple I used a older reapet toy to say be
quit when the noise level got to loud. A transistor and a relay did the trick.
Alot of fun guru.

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi Helio,
Yours talks and says, "Be Quiet!" when the noise is too loud? Great! ;D ;D
Mine just blinks its very bright LEDs with the sounds.
Mine has a rechargable 9V battery (actually 7.2V) so it is also portable.

 

slackjack

Nov 2, 2005
177
Joined
Nov 2, 2005
Messages
177
Hi audioguru,

I'm just curious, why did you  use the LM3915 instead of the LM3914. I would like to know what requirements you based this on.

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi Slackjack,
An LM3914 has equal 10% steps between its LEDs in a linear sequence. Its range is only 10 times.
An LM3915 has 3dB between each step in a logarithmic sequence. Its range is 31.6 times.
Your hearing sensitivity is logarithmic in order for you to hear very low level sound and very loud sound.

You wouldn't hear a 10% change in level, but 3dB (1.414 times) is noticable.

 

jasonEE

Sep 23, 2006
3
Joined
Sep 23, 2006
Messages
3
Hello!

I have some questions about this circuit:

1) what are the transistor using for ???

2) how to evaluate the value when the light 10th is on ???

3) the range for measurement is from 0db to 30 db ????

thank you for ur help............

 

jasonEE

Sep 23, 2006
3
Joined
Sep 23, 2006
Messages
3
Hello!

I have some questions about this circuit:

1) what are the transistor using for ???

2) how to evaluate the value when the light 10th is on ???

3) the range for measurement is from 0db to 30 db ????

thank you for ur help............

jasonEE said:
Hello!

I have some questions about this circuit:

1) what are the transistor using for ???

2) how to evaluate the value when the light 10th is on ???

3) the range for measurement is from 0db to 30 db ????

thank you for ur help............
 

ante1

Jan 24, 2004
4,138
Joined
Jan 24, 2004
Messages
4,138
Does this sound level indicator have an echo too?  ;D

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
jasonEE said:
I have some questions about this circuit:

1) what are the transistor used for ???

2) how to evaluate the value when the light 10th is on ???

3) the range for measurement is from 0db to 30 db ????
The text of my project answers your questions:
"4) Three 2N3904 transistors are used as emitter-followers:
a) Q1 is inside the negative feedback loop of the 2nd opamp as a voltage reference for the other two transistors. Hopefully the transistors match each other.
b) Q2 emitter-follower transistor quickly charges C8 which discharges slower into R13 and is used as a peak detector.
c) Q3 transistor is the automatic gain control. It is also a peak detector but has slower charge and discharge times. It drives the comparators’ resistor ladder in the LM3915 to determine how sensitive it is. R15 from +5V is in a voltage divider with the ladder’s total resistance of about 25k and provides the top of the ladder with about +0.51V when there is a very low sound level detected. Loud sounds cause Q3 to drive the top of the ladder to 5.1V for reduced sensitivity."

The 3rd transistor provides automatic gain control so the max indication of the LM3915 is increased from 30dB to 50dB. Because of this AGC you don't know what is the actual sound pressure, but the LEDs always indicate without staying at the end of the scale during loud sounds.

The actual sound pressure level for quiet sounds depends on the sensitivity of your mic. My mic is very small from a cell phone so maybe is not very sensitive. I designed the gain of the circuit to be high enough so it indicates on a few LEDs a pin dropped on the floor a few meters away and people whispering about 3m away. I didn't measure the actual sound pressure levels.
 

jasonEE

Sep 23, 2006
3
Joined
Sep 23, 2006
Messages
3
Hi audioguru,

May I know what is c2 for in the first op-amp?

thank you for your help

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
jasonEE said:
May I know what is c2 for in the first op-amp?
It blocks DC so that IC1a has a DC gain of 1 like a follower with its DC output voltage averaging +2.5V, but allows an AC gain of 101.

If R6 is connected to ground then the DC gain of the opamp would be 101 and its output would be saturated at near +5V, because R2 and R3 bias its input at +2.5V. With its gain of 101 its output would try to be +2.5V x 101= +252.5V!View attachment 40150

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi Steev,
Your TL082 dual opamps are completely different from the MC33172 dual opamps I used. You can use LM358 dual opamps but they have hiss and a poor high frequency response.

 

jon1

Jan 30, 2007
29
Joined
Jan 30, 2007
Messages
29
Hi AudioGuru,

I would like to know what to do if I want the range to be from 30 dB to maybe 120 dB?
And can you provide the image of the back of you circuit board, to see how the connections are done?

J.

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi Jon,
My circuit is very sensitive since it indicates a pin dropping on the floor fairly far away. It indicates that my quiet refrigerator is running. It indicates that I am breathing quietly. Its range is probably from 45dB to 95dB.

If you have it as sensitive as 30dB then it would show noises from way down the street and show its own internal noise. It would need to have the input offset voltage nulled on its first and second opamps.

120dB is extremely loud and hardly ever occurs. An ordinary electret microphone would be overloaded by such a loud sound.

I used stripboard to make the circuit board. Its component side is shown in the project with some track cuts and a few jumpers are shown.

 
Top