1
\$\begingroup\$

This question is a little bit stupid and silly.

As I am chemist, I don't remember electricity physics very good. As I remember it shouldn't harm anything, but I need to be sure.

LEDs will be blinking sometimes together. But not longer than 50ms.

They will be parallel for only short time. Because they supposed to blink reporting 2 modes 1st - normal, 2nd - error. And switching between them can be no longer than 50ms.

schematic

simulate this circuit – Schematic created using CircuitLab

I use resistor for both LEDs, but it just curiosity question.

\$\endgroup\$
5
  • \$\begingroup\$ @IgnacioVazquez-Abrams it is similar, but they won't work together. And the only one simultaneous blink is the real parallel. \$\endgroup\$
    – XuMuK
    Jul 25 '15 at 21:53
  • \$\begingroup\$ It is still the same question. As long as you understand the implications of using a single resistor and those implications are acceptable, you can do so. \$\endgroup\$ Jul 25 '15 at 21:54
  • \$\begingroup\$ @IgnacioVazquez-Abrams Thank you!!! This is exactly what I am thinking. \$\endgroup\$
    – XuMuK
    Jul 25 '15 at 22:00
  • 1
    \$\begingroup\$ If you want them both to light at the same time, drive Pin1 and Pin2 alternately, faster than the eye can see (100Hz or more) \$\endgroup\$ Jul 26 '15 at 10:16
  • \$\begingroup\$ @BrianDrummond No, they are going to blink for 50 ms every 2-3 seconds. And the only time the are lighted together is not longer than 50 ms. 1st indicates normal work, 2nd - error. \$\endgroup\$
    – XuMuK
    Jul 26 '15 at 13:28
2
\$\begingroup\$

Yes, it will work, but I don't recommend it. The above circuit is Ok, as long as only one LED is on, it'll work fine. If both leds are on, that's alright, they won't get damaged, but their behaviour are unsure; depending on their characteristics, probably they will glow with a different brightness, but thats all.

But I still highly suggest that you use separate resistors for each led, because that's the right way to do it. It's never a good design to wire diodes in parallel.

\$\endgroup\$
3
  • \$\begingroup\$ It is a question about situation: if I have only one resistor and I am in hurry. Also I won't use this for a long time. \$\endgroup\$
    – XuMuK
    Jul 25 '15 at 22:04
  • \$\begingroup\$ As I said, it's okay then, if you don't have any other choice, and the design is not really important. (eg. improvised prototype or sth.) Just don't use it in "serious" circuits. \$\endgroup\$
    – lszabi
    Jul 25 '15 at 22:06
  • \$\begingroup\$ This is not really true. This is NOT like the two parallel LEDs with one resistor situation. The two LEDs will interact BUT you will not get the 'current hogging' situation you see with a single series circuit with two LEDs in parallel. \$\endgroup\$
    – Russell McMahon
    Jul 26 '15 at 7:10
2
\$\begingroup\$

they are never in "parallel", since they have different anode connections. they do share their cathode connection though.

Yes it will work, with the following drawback:

When pin # 1 and pin # 2 are both High (~5V), the LED with the Lowest forward voltage will light up much more than the other one. Possibly so much more that it seems like only one LED is on.

There will always be a slightly difference in the forward voltage drop of the LEDs, even if they are from the same production batch.

The resistor will always ensure safe operation, but you might see only one LED light up because the LEDs share their cathode.

A 220 ohm resistor is cheap and small it would be best if you used it, but you won't damage anything by using this configuration.

\$\endgroup\$
1
  • \$\begingroup\$ Completely agree - parallel working will be once and not longer than 50ms. And if there is only one resistor and 2 AM - no chance to get another one. \$\endgroup\$
    – XuMuK
    Jul 25 '15 at 22:14
0
\$\begingroup\$

If the two LEDs are the same colour, using a single resistor will probably work, but the LEDs will be dimmer when both are on than when only one is on.

If the LEDs are different colours, only the one with the lower forward voltage will light when you expect both to light. For example, red LEDs typically have a forward voltage of about 1.8 volts, while green LEDs are 2.2 volts. If you have a red LED and a green LED in your application, only the red LED will light when you expect both to be on, if the LEDs share a single resistor.

\$\endgroup\$

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