0
\$\begingroup\$

I'm looking to complete one of my first electronics projects so I was looking for inspiration from youtube Great Scott and this project caught my eye.

In short, his project converts the stereo signal to mono, amplifies it then compares it using a voltage divider network to light up rows of LED's based upon the voltage of the audio signal.

My question is looking at the circuit to me it looks like the OP amp can be used as a non-inverting amp for the audio signal. But then should this signal be used with a comparator and the voltage divider network to drive the MOSFET's rather than the OP amp circuit that is shown?

I didn't know much about OP amps before but this doesn't look like how they should properly be used?

enter image description here

and Youtube video.

\$\endgroup\$
  • 1
    \$\begingroup\$ People frequently misuse op-amps as comparators. \$\endgroup\$ – Peter Bennett Aug 2 at 21:46
  • 2
    \$\begingroup\$ This looks like a waste of time and effort when the LM3914/-5/-6 series of dot / bar LED meters have been around for 40 years. They do linear (voltmeter) or logarithmic (audio), can be daisy chained for multiples of 10 LEDs, etc. There are thousands of tutorials on these devices on the web. \$\endgroup\$ – Transistor Aug 2 at 22:24
  • 2
    \$\begingroup\$ You should have current-limiting resistors in series with each LED. I noticed in the video that he used an adjustable DC-DC converter set to the forward voltage of the LEDs - this is very bad practice as the forward voltage of a LED depends on its colour, temperature, exact chemical composition, phase of the moon, etc. \$\endgroup\$ – Peter Bennett Aug 2 at 23:11
  • \$\begingroup\$ @PeterBennett There do exist LED's that contains an internal resistor that you just attach to 5 V and call it a day. So on a schematic it is literally 5V, LED, GND, similar to the schematic above. Maybe he used them, maybe he did not. \$\endgroup\$ – Harry Svensson Aug 3 at 1:42
  • 1
    \$\begingroup\$ @PeterBennett "misuse" is such a strong word :-). I'd suggest use / press into service / utilise ( nuanced version of use in this context), ... . ie use of an OA as a comparator is entirely legitimate when the specs adequately the application requirements. \$\endgroup\$ – Russell McMahon Aug 3 at 2:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.