Neopixel strip not working when connected to power supply

I have an LED strip that works when I connect the 5v and gnd to the arduino, but it doesn't work when I wire it to a power supply using the wires that come out of the LED strip. It just constantly flashes rainbow colors except for the first led that just flashes white. I do have a capacitor on the + and - terminals on the adapter, but that did not seem to fix the problem. It only seems to happen when the data pin is connected, but otherwise, only the first few LEDs turn white and then a random LED turns a random color.

You need to have the ground of the power supply connected to
the Aduino ground.

And how do I do that?

With a jumper wire of course. Connect the negative or '-' terminal
of your power supply to Arduino ground.

The power supply is 8 amps.

Thanks @LarryD : **Quick Question About Connecting Two Power Sources** - #5 by LarryD

So what is the problem with that?

If I am not on full power, will the jumper wire not work?

So I have 3 cables in the negative end of my adapter?

You could do a visual check or use a multimeter to find out which
wire goes to the negative on the strip. Maybe all three of them do?

Sorry you misunderstood, I mean that in the little dc jack connector, I have three connections in the ground end. The LEDs ground, the Arduino ground, and the capacitor.

Is that what you mean by this?

look at above post

From what you are describing is that the LEDs ground, the Arduino ground, and the capacitor are separate. If this is the
case then they should be connected together just make sure
that the negative side of the capacitor is connected in this group. Without seeing a picture of your setup this is the only
advice I can give you. Take a look at the link in post #5 it is a clear
i picture of what is needed.

I have already done this, just wanted to confirm before I blow up anything. But it works now, so thank you!

You're welcome, glad to hear that you got it going. Enjoy your project.

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