LED array with LEDs that require different amounts of mA

Hello everyone.
I am building an LED array for the first time and directly with different LEDs that require different amounts of mA.

I have a total of 81 LEDs. Of these, 48 require 20mA, 27 50mA and 6 100mA:
In addition, I used the Arduino Atmega 2560 which only supplies 5V.
I suspect that I need to use an external voltage source. I was also advised to use an LED driver. How can I limit the current for the different LEDs so that all LEDs are supplied with the appropriate current?

Now I have all this information, but I don't know exactly how to link everything together to build a working LED array. Can anyone give me a tip on the best way to go about this?

You posted this LED-Array mit LEDs, die unterschiedlich viel mA benötigen

Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum. It will help you get the best out of the forum in the future.

Thank you.


Do you want to keep the post in German or the post here in English ?. You can’t have both.

The leds do not require 100mA
100mA is their max. current.
What do you want to schieve with this array?
100mA leds are blinding bright. So not a signal led or part of a screen, but like a light source.
You will hardly see the 20mA leds next to it.
Did you experiment with different resistors?
Do the leds all have the same color (around the same voltage)?

I would like to build an LED array that covers LEDs with wavelengths from 430 nm to 935 nm. The LEDs in the higher wavelength range are operated at 50 nm or 100 nm.

I thought I could take a large voltage source and then connect different sized resistors in front of the LEDs with different current requirements.

I want to keep the English post.

Yes that is the way to do it

ok but where exactly do the different resistors have to be positioned in the circuit if I use an LED driver?

A matrix driver or a constant current driver?
In case of matrix driver: in series with each and every led.
To reach the same current, red leds need higher resistor value than blue ones.
But it should not be about equal current, it should be about the eye's perception of equal brightness.

Yes, I mean a matrix driver. But isn't one resistor per row of LEDs enough? If I were to connect a resistor in front of each LED, I would need 81 resistors for my 81 LEDs.

You don't use an LED driver. Where the resisors go will depend on the position of the different LEDs in the matrix

What happens if more than one led per row is on?
Maybe 81 resistors is just about right...

OK I closed the post German.

do you want to be able to drive each individual led ?

Yes you can, but it is not about requirement, but about eye perception!

Yes, does this mean that I have to use 81 resistors?

Not necessarily, as i previously mentioned, it will depend on how the LED are arranged in the array

I’m not an electronics expert so I’ll let whoever is speak about that but my understanding is that it’s the safer option.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.