u/TKranger

Image 1 — Issues with getting 5V strip to respond to code from Arduino Nano (NeoPixel)
Image 2 — Issues with getting 5V strip to respond to code from Arduino Nano (NeoPixel)
Image 3 — Issues with getting 5V strip to respond to code from Arduino Nano (NeoPixel)
Image 4 — Issues with getting 5V strip to respond to code from Arduino Nano (NeoPixel)
Image 5 — Issues with getting 5V strip to respond to code from Arduino Nano (NeoPixel)
▲ 1 r/led

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?

u/TKranger — 4 days ago