Arduino 2m/144led WS2812B strip 5V Molex PC PSU

Hi there. My question is: Is it okay to power the 2m/144 led strip via Molex 5V wires

Arduino Leonardo connected to pc via usb micro b, using the FASTLED library and some code for piano led visualization(code and PianoVFX)

WS2812B addressable 5V 2m/144 led strip(might use 1.5m or less from it since the piano is not 2m long...)
For powering the leds I was thinking to use the Molex 5V +5v and ground wires from one of the molex cables from my pc's psu.(600W 24A 5V Rail) I intend to use the leds while my pc is on only.

So do I need any more components or just connecting leds to molex 5v wires and ground to ground pin on arduino and data pin from leds to data pin 5 is all I need?
I saw I need 330 Ohm on data line but I think disconnecting usb from arduino and 5v from leds should be enough to protect things? Or should I just power both leds and arduino(Vin pin) from the same molex and just use usb for data arduino should switch to Vin pin for power?)

Let me know leds are still not shipped but arduino should be here today...

It would be safest to power arduino from the same 5v molex pin as led strip to power them ON and OFF in the same time

I see. The only problem is that arduino needs to be connected via usb so it can communicate with the program to send data to leds

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