Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Complete newbie needs help with LM3915 VU Meter Circuit

Status
Not open for further replies.
I never buy cheap Chinese fakes or counterfeits from ebay, Amazon or Ali.
Went to a electronics store and bought some proper 1N4148s ESD packaged and everything. Still only get 0.2V drop. Checked the datasheet and voltage drop is around 0.6V for 0.1 milliamps.
Tested the diodes outside the circuit with 0.1 milliamps and got the intended 0.6V drop for all diodes, including the repackaged China ones. I then measured the current flow through the diode in the circuit and only got 6 microamps.
Is it supposed to be that low? Or did I screw up my wiring somewhere?
 
I then measured the current flow through the diode in the circuit and only got 6 microamps.
Is it supposed to be that low?
Seems reasonable, since Vcc is 9V, R7 is 1MΩ and the input impedance of pin 5 is very high.
 
National Semi says in their datasheet for the LM3915 that the very simple transistor and diode peak detector produces an offset voltage of only 0.1V. But I simulated it and got hundreds of mV. Then a few LEDs in your circuit will light all the time. Now I call it Mickey Mouse peak detector circuit.

I never used that Mickey Mouse circuit, I always use a precision peak detector circuit with a single supply opamp and a transistor. The transistor can charge the peaking capacitor much quicker than the 10k resistor in the Mickey Mouse circuit and it has an output offset voltage of only a few mV. Here is my peak detector circuit that works perfectly:
 

Attachments

  • peak detector.PNG
    peak detector.PNG
    16.2 KB · Views: 363
Thanks! Any equivalents to the MC33171? Not sure I can get one.
There are many modern rail-to-rail opamps but most are surface-mount without pins. One of the lousy old opamps in an LM358 dual opamp will be fine for the VU meter since it does not produce the crossover distortion and its poor high frequency response does not matter. Disable the unused second opamp by connecting its (+) input to 0V and connect its (-) input to its output.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top