Kevin Weddle
- Feb 23, 2004
- 1,620
- Joined
- Feb 23, 2004
- Messages
- 1,620
Read the statement before your reply.
thanks~Hi Zgnoh,
It would be cool to see your water fountain squirt by the various levels of music. With most pop music it would squirt to the beat of the music!
1) The LM3915 can have a switch to select a single output called dot mode when it lights LEDs, or bar mode when it lights all LEDs below the one that it is indicating. The outputs of the LM3915 can drive electrical water valves or relays to drive them.
2) You can put a volume control on it to adjust the range of input.
3) With CD input you reduce the gain of the preamp but the circuit still needs a rectifier circuit and filter cap.
4) A very simple rectifier circuit is shown on the LM3915's datasheet that works much better than just a single diode.
thanks,Hi Zgnoh,
At the bottom of this page is a link "WWW Search" to the Google search engine. You can enter part numbers, circuit names or anything. I entered LM3915 and it linked to this datasheet: http://www.national.com/ds/LM/LM3915.pdf
You will see that it has 10 outputs arranged in steps of amplitude of the input. The 1st output is activated with a low-level input. The 2nd activates with more input amplitude and so on. It needs only 2 resistors to be calculated, for its maximum input voltage range and the brightness of its LEDs.
On your drawing the left triangle is the LM3815. You show one output driving a relay. You can draw more outputs on the LM3915 driving more relays up to ten.
Each relay can activate an electrical water valve that are used for timed sprinklers for example.
For your demonstration use LEDs instead of relays.
I just put P.22 of the factsheetHi Zgnoh,
The LM3915 isn't connected to the microphone, it is fed from the volume control like the left triangle in your previous diagram. The volume control is R2 of the "Half-wave peak detector" circuit in figure 1 in the datasheet. The half-wave peak detector circuit is DC-coupled from the output of a preamp circuit you still need. The preamp needs a gain of a few hundred and its input is the microphone.
It ain't simple but you're getting there.
I will connect pin 9 to pin 3 for bar mode ;DHi Zgnoh,
Oops, page 22 says that the LM3915 was discontinued in 1999, I just checked and the LM3914 is available and works the same but with a linear, reduced range.
You must watch your english when talking about inputs and outputs. The microphone's input is your voice, certainly not its electrical output!
Don't forget about the preamp.
I gathered the circuit for you here:
thzzz, rili sorry for repeatedly making silly english mistakes... English is not my mother tongue leeeeeeee...Hi Zgnoh,
It will look good connected as "bar mode".
I'm glad to help you.
1) I think the word "rectifier" should be changed to "half-wave peak detector", which is the transistor, diode, associated resistors and capacitor.
2) The triangle is the preamp circuit. It is an opamp with a gain of a few hundred, with its inverting input inside the triangle and used for negative feedback to determine its gain. The opamp's non-inverting input is the preamp's input.
Digital logic gates can't be used for audio because they only switch high or low. They would sound like "click, click" or "buzz, buzz". Audio amplifiers are linear and smoothly reproduce all sounds and levels.
A new form of audio amplifier is becoming available. It switches its output at a very high frequency that you cannot hear, and uses duty-cycle changes in its output switching pulses to reproduce the audio. These amplifiers operate in "class-D" and the duty-cycle changes in their pulses is called "pulse-width-modulation".
3) V- is a negative power supply. It is used because the input to the LM3914 must be positive only but at ground (not called earthed) with no signal. The output of the preamp must also be at ground with no signal. Therefore, the output of the preamp must swing symmetrically above and below ground with audio, and since it must swing below ground (negative voltage) it must have a negative power supply in addition to a positive power supply.
The half-wave peak detector is called "half-wave" because it responds only to the positive swings (half-waves) of the preamp's output. The negative half-waves of the preamp's output are ignored, but still must be present in order for the preamp's output to be at ground with no signal.