New to LED with Arduino and need help

Hi, I've been looking into using an Arduino to program a WS2812B 5m 5V LED strip.(https://www.amazon.com/BTF-LIGHTING-Flexible-Individually-Addressable-Non-waterproof/dp/B01CDTEJBG?ref_=ast_sto_dp&th=1)
The strip is 90 Watts in total (18 Watts per meter). I'd like to use an external power supply to power the LED and the Arduino at the same time. I'm not entirely sure what power supply I should use, I was looking at a 120V to 5V 20A power supply (https://www.amazon.com/BTF-LIGHTING-Aluminum-WS2812B-LED8806-Modules/dp/B01D8FLWGE/ref=sr_1_1_sspa?crid=2C08RKUBUG0LS&keywords=power+supply+5v+20+amp&qid=1660456817&s=hi&sprefix=power+supply+5v+20+amp%2Ctools%2C76&sr=1-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyR0ZTNU03Tk9XRzJJJmVuY3J5cHRlZElkPUExMDQwMjg3MUY0SEdUMDNZSVBaQyZlbmNyeXB0ZWRBZElkPUEwMDQ1NjUzQ1QxUFdCSVpKWkozJndpZGdldE5hbWU9c3BfYXRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ==).
If this is the correct power supply I should use, I'm also wondering how I should go about wiring the Arduino and the LED to the power supply so I don't end up frying the Arduino.

My background is more in software development so working with electricity is new to me. A lot of the tutorials and forums I've been reading have me a bit confused so any help is greatly appreciated!

Did you read his bit:

The max use should be no more than 80% of the full loads,otherwise, It‘s cause the power supply to overheat,the service life of the power supply will be greatly shortened.We recommend you to use this 5V20A 100W power supply to power devices less than 80W.

At 90W, you would be exceeding the manufacturers recommendation so don't be surprised if it runs rather hot and fails prematurely!

1 Like

You can prevent this by setting a maximum brightness for the driver library. See the driver documentation for how to do this.

For wiring it up read these series of pages

1 Like

No, I missed that, thanks for letting me know!

Is there any power supply you could recommend?

Great, thank you very much!

You would power the Arduino through its 5V pin, not the Vin pin or barrel socket. Take separate 5V & GND lines from the PSU to power the Arduino. These lines don't need to be heavy gauge because the Arduino won't draw much current (assuming it's only controlling the strip). The 5V and GND lines from the PSU to the strip should be good quality and heavy gauge because they will carry a lot of current. You will also need to feed power into the strip at both ends and ideally at least 1 or 2 places along the strip also, again with heavy gauge wire. This is because the conductors on the strip are thin and so have a relatively high resistance, which will cause some voltage drop. The voltage drop may cause gradual changes in colour along the strip, as well as unwanted heat, which could reduce the life of the strip. This is why the heavy gauge wires are important, they provide a lower resistance path for all that current. Don't forget to put a large capacitor (e.g. 1000uF) across the 5V/GND lines at the start of the strip and ideally also at the other points where power is fed into the strip.

1 Like

Thank you this was super helpful! What size gauge should the wire be that goes directly into the strip?

The wire gauge should be chosen based on the PSU you use. You can find tables online which show what gauge is required to carry a certain current. Choose one that can cary all the current your PSU can provide, plus maybe 20% margin for safety. Google for "wire gauge current" or similar. These tables will tell you what American Wire Gauge (AWG) or mm² the cable should be.

1 Like

Thank you very much for your help

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