Electronics > Beginners

Parallel LEDs with common ground/resistor, different source?

(1/2) > >>

I'm wiring 4 LEDs to a Raspberry Pi that turn on individually when there's activity on a assigned cpu core. I want to keep the module as small as possible so I wanted to wire the LEDs in a parallel fashion with a common resistor and ground, even though each LED is an individually powered circuit. Is this mixed series/parallel circuit even possible? How would I calculate what size resistor I would need to use if it is possible?

Unless only one led is lit at a given time, you can't, current will be shared between leds, so they get dimmer as you Enable more leds.
You can't overcome this by lowering the resistor, then enabling only one led would burn it.

Possible, yes, advisable no, as David just commented.

You'd have to choose the resistor to suit the case when only one LED is on so that the lesser of the max currents for a Pi  I/O pin and for the LED is not exceeded.  Then when more LEDs turn on the available current would roughly share between them, all becoming dimmer.  However the one with the lowest Vf will hog more of the current, and as Vf is temperature dependent, even if you carefully select LEDs from a larger batch for closely matched Vf, the one that's been on the most will be warmer, so will draw more current and stay warmer and brighter.  TLDR: Its a mess!

However, as you can get an array of four SMD resistors in a package as small as 1.4mm x 0.6mm (Panasonic EXB resistor array series), bite the bullet and give each LED its own series resistor.

There are LEDs that have internal resistors like:


Or, you could have only one LED turned on at a time, and multiplex if multiple LEDs must *appear* to be on at the same time.


[0] Message Index

[#] Next page

There was an error while thanking
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod