Powering both neopixels and arduino from same power supply

Hi,
under normal circumstances (separate power supply for leds and arduino) with neopixels (apa106 to be precise, similar to ws2812) the gnd of all the leds should be connected to the arduino and gnd on the power supply, but does the same apply if both the arduino and the led are powered by the same power supply? Can't it break something?

Welcome to the forum

As long as there is a common GND connection it should not matter either way

That means, if they have any shared gnd it should work?


The red wire from this external 5v supply can be connected to the 5v pin on the Arduino.

When you do, do not use the USB cable connected to the PC as it might back feed to the PC.

You need a GND return for the Arduino to work with the LED strip as shown.

So, I will connect both + and - to Arduinos power connector, but i cant connect usb directly from computer, do I understood it correctly?

First program the Arduino.

Remove the USB cable.

Connect the external 5v supply +/- terminals to the Arduino 5v/GND pins.

Note

With a board like the Nano you may not need to remove the USB cable.

Okay, thanks.

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