I want to connect RGB led to the output of the LM741 op amp.Do I need to use BJT ? If I don't .Can op-amp provide enough current to RGB? Secondly ,Can I connect 3 pin of the RGB to the output without buffer? enter image description here

  • \$\begingroup\$ What comparator part are you going to use. What does its data sheet say about how much current its output can source? \$\endgroup\$ – Solomon Slow Dec 19 '17 at 16:48
  • \$\begingroup\$ Why are you using a split power supply? Do the inputs that you are comparing potentially go more negative than ground? Can your LEDs withstand 12V in the reverse direction? \$\endgroup\$ – Solomon Slow Dec 19 '17 at 16:50
  • \$\begingroup\$ Only you know the opamp and LED you're planning to use. Add up the LED currents and compare that with the opamp's rated output current. You'll find all this in the datasheets you didn't link in the question. \$\endgroup\$ – Brian Drummond Dec 19 '17 at 16:50
  • \$\begingroup\$ Apart from the other comments: I don't know what you are trying to build but all three LEDS are either all three on or all three off in your circuit. You might just as well have one LED. \$\endgroup\$ – Oldfart Dec 19 '17 at 17:36

That depends on how bright you want them.

An LM741 is only good for 25mA MAX before it goes into current limit. So if you are planning on driving those LEDs with more than about 8mA each, then no the poor old 741 can't drive them that hard.

Driving the 741 at +-12V will also put too high a reverse voltage on the LEDs at around -10V output. You would need to add a diode to protect the LEDs.

Ultimately you would be better adding an NPN Transistor or a suitable MOSFET.


simulate this circuit – Schematic created using CircuitLab

The diode D2 in the above protects the base-emitter junction of the NPN from breaking down when the op-amp output is negative.

BTW, if you just want a white LED you would be better with a single white LED, and the 741 is very old technology. Although Op-Amps can be used as comparators like that, they are not great at the role, a suitable actual comparator, with sufficient drive, would be a better choice all round.


No you should not. What you should do is consider what output you need for function, current and choose logic level drivers with R’s using Ohm’s Law and correct diode orientation. (That is 3 strikes or bad assumptions in your question) Also Comparator are different from OA’s with more low state drive current as in open collector.

For more ideas search “Light Organ”


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.