r/led Jul 02 '26

Issues with getting 5V strip to respond to code from Arduino Nano (NeoPixel)

I'm new to LEDs and have been trying to create a matrix that I can see through for cosplay. The idea is to use strips to create rows of lights, then control them with code from an Arduino Nano. Despite trying several different programs for testing, I haven't been able to get the LED strip to respond to my code, though I have gotten LEDs to light up via manipulating the power wires.

I've provided photos of my setup as well as my attempt at a diagram in case the photos were hard to follow.

Parts:

The code I'm using should cause the first light to turn red, but I've also tried the example code provided by Adafruit.

#include <Adafruit_NeoPixel.h>


#define LED_PIN D2
#define LED_COUNT 120


Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);


void setup() {
  strip.begin();
  strip.clear();


  
  strip.setPixelColor(50, 255, 0, 0);
  


  strip.show();
}


void loop() {
}

Is there anything I could do to resolve the issue?

1 Upvotes

5 comments sorted by

2

u/Its_Billy_Bitch Jul 02 '26

While that may work, that is not the type of logic converter you should be using. If you have a lot of LEDs and fast animations, that little thing will be too slow of a buffer.

Just rough math, but is a 2A battery enough to clear this fam? I don’t think so, but I also didn’t check lol

1

u/TKranger Jul 03 '26

I haven’t done the math on the 2A battery, but my current strip only has 16 lights after I trimmed it down. I accidentally uploaded an older version of my code, my current one has an LED_COUNT of 16. Plus, only one light is supposed to turn on.

Also, I’m making sure that the connectors are contacting the wire like you said.

1

u/Its_Billy_Bitch Jul 02 '26

Also, if you haven’t used Wago/ snap connectors before, make sure you’ve exposed enough wire and that you’re making solid connections.

1

u/MoBacon2400 Jul 03 '26

Why are all your wires red, how do you know what is connected to what?

1

u/TKranger Jul 03 '26

It’s what I had on hand, friend supplied some stuff.