Power supply and LED panel 2812b/MEGA

Hi
Im a newbie :wink:

Ive got an LED panel 2812b 16x16, and a MEGA arduino board.
I have created som code that make my 8x8 panel act as i want.
Now i want to change to 16x16.

How do i connect my 5v 10a power supply so that I can supply the 2812b panel and the board? I know they have to have the same GND.
On my panel there is two cables to power, and 2 x power, data and GND cable set.

I have different people who give different solutions; please help!
I dont want to burn either my board or my panel.

Your power supply is not strong enough. 256 LEDs * 60 mA = 15.4A for full white.

Are you using strips? Or individual LEDs?

I power 7 strips of 60 LEDs with 2 5V/10A power supplies (I could have used a single 20A).
An boost converter is used to generate 9V from the 5V and that 9V powers the Mega. That way there is no risk when connecting both the power supply and USB at the same time.

Mega should be ideally powered by VIN pin or USB connector. But if you only have one 5V supply, connect it to Led panel thicker wires and then connect thinner wires to mega 5v, gnd, data.

Limit the brightness on your code to not draw more than your supply can provide.
I have 300 led strip powered from 2A supply working flawlessly for years with limited brightness.

OK - then I'm downgraded from newbie to dummie :slight_smile:
The LED panel I need is one like you can see on picture.
I assume that red/black of course goes to the power supply plus 5 and GND. And DIN goes to my data port on the board. But should 5V and GND on the panel be connected to 5v and GND on the board or directly to the power supply like the other two power cables?

My starting point was actually that I supplied the board with a 5V jack from the power supply, and from the external solders mounted the power cables to the LED panel.

F... I feel stupid about such a small thing :grimacing:

Power supply is already connected, so doesn't make any sense to connect it there. It's just a question how you want to power your Arduino. If you don't have other power supplies for arduino, you connect it to the panel 5V/gnd/din.

You can't power Arduino at 5V on jack or VIN pin, you need >6.5V for that.

Im lost, but thank you.
I just need a schematic draw to give me a solution to power up my mega and my 2812b panel, and where and and which cables to use from the panel (data cable (pin 42))

With one power supply 5v 10 a.
Or if necessary, Jack with 9v battery.

ons. d. 15. okt. 2025 21.41 skrev kmin via Arduino Forum <notifications@arduino.discoursemail.com>:

I don't know how to explain it better..
First option (preferred) arduino powered by USB.
Second option, no USB or other power supplies.

I don't know the size of that JST connector, but from my experience of these you can fit jumper wires there. Obviously proper connector or soldered wires are better.

1 Like

You have been helpfull - thank you.

  • I will feed the Arduino board with 9v., from 9v. battery at the jack barrel.
  • I will feed the led-panel with 5v. from the power supply (10a +)
  • And I will feed the led-panel with data cable and GND from Arduino board.

Or as conducted in chat gpt with use of one psu in a built-in construction:

  • 5v./Gnd to 5v pin and GND on board.
  • 5v./Gnd to 5v and GND on led-panel, with a 1000√F condensator between +-
  • GND and data from board to led-panel.

Have a nice day

ons. d. 15. okt. 2025 23.24 skrev kmin via Arduino Forum <notifications@arduino.discoursemail.com>:

As long as you don't want to connect USB as well. At the moment that you connect with that setup you run the risk of damaging your computer.

1 Like

As long as you don't combine any of your power sources.

Be careful...

1 Like

The most recent WS2812b's that i have used (in 5050 package) require 36mA (12mA per color) per pixel (not the quoted 60mA) My 32x80 Matrix board consisting of 2560 leds is powered with 90A (60 + 30 A PSU's, calculation would actually require 92A, but these PSU seem to have some margin in their rated supply) without issue and lights up perfectly White at full brightness.
When working with WS2812C (2020 package) i was surprised that the datasheet specified 12mA per pixel, so i did some further research and found a source that stated the 36mA per pixel. Sorry i can not find any reference anymore, but in practice i think 36mA per pixel does suffice.

2 Likes