🎁📬❄️📦Adafruit Holiday Shipping Deadlines 2019: Please place all UPS 2 Day orders by 11am Monday, December 16 📦❄️📬🎁
0

NeoPixel LED strip does not light up
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

NeoPixel LED strip does not light up

by stapelberg on Sat Nov 09, 2019 2:00 pm

Hello,

I bought https://www.adafruit.com/product/2562 (product 2562) and connected it to an https://store.arduino.cc/arduino-nano-33-ble (Arduino Nano 33 BLE) like in the attached wiring picture (Din on D6, red power on 3.3V, black power on GND). The starter pack contains a 1m strip with 30 LEDs.

I’m using a 5V 8A USB power supply from Anker to power the Arduino Nano 33 BLE.

As you can see in the picture, I measure 3.3V on the output end of the strip, so power is connected correctly and flowing.

I have verified that D6 is toggled high/low when toggling pin 6 in the arduino IDE.

I have verified that the input/output side is correct by testing it on either side, and it works in neither config. Also, the label clearly says Din, and the arrow is pointing toward the LED, so I’m fairly certain I got it connected right.

This is the test program I’m using:
Code: Select all | TOGGLE FULL SIZE
// Simple NeoPixel test.  Lights just a few pixels at a time so a
// 1m strip can safely be powered from Arduino 5V pin.  Arduino
// may nonetheless hiccup when LEDs are first connected and not
// accept code.  So upload code first, unplug USB, connect pixels
// to GND FIRST, then +5V and digital pin 6, then re-plug USB.
// A working strip will show a few pixels moving down the line,
// cycling between red, green and blue.  If you get no response,
// might be connected to wrong end of strip (the end wires, if
// any, are no indication -- look instead for the data direction
// arrows printed on the strip).
 
#include <Adafruit_NeoPixel.h>
 
#define PIN      6
#define N_LEDS 30
 
Adafruit_NeoPixel strip = Adafruit_NeoPixel(N_LEDS, PIN, NEO_GRB + NEO_KHZ800);
 
void setup() {
  strip.begin();
  strip.show();            // Turn OFF all pixels ASAP
  strip.setBrightness(50); // Set BRIGHTNESS to about 1/5 (max = 255)
}
 
void loop() {
  chase(strip.Color(255, 0, 0)); // Red
  chase(strip.Color(0, 255, 0)); // Green
  chase(strip.Color(0, 0, 255)); // Blue
}
 
static void chase(uint32_t c) {
  for(uint16_t i=0; i<strip.numPixels()+4; i++) {
      strip.setPixelColor(i  , c); // Draw new pixel
      strip.setPixelColor(i-4, 0); // Erase pixel a few steps back
      strip.show();
      delay(25);
  }
}


At this point, I’m wondering if the strip might be defective?

I have tried connecting the strip to the 5V power supply that was included in the starter kit, but it doesn’t light up either.
Attachments
wiring.jpg
wiring.jpg (538.64 KiB) Viewed 210 times

stapelberg
 
Posts: 3
Joined: Sat Nov 09, 2019 1:48 pm

Re: NeoPixel LED strip does not light up

by kcl1s on Sat Nov 09, 2019 7:28 pm

Can you post a photo of where the signal wire enters the strip showing the strip pcb markings? The signal should be on the DIN end not the Dout end of the strip.

Fellow hobbyist
Keith

kcl1s
 
Posts: 1365
Joined: Tue Aug 30, 2016 12:06 pm

Re: NeoPixel LED strip does not light up

by adafruit_support_carter on Mon Nov 11, 2019 3:40 pm

Does your strip have wires on both ends? Another photo verifying the input direction would help.

adafruit_support_carter
 
Posts: 13681
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel LED strip does not light up

by stapelberg on Mon Nov 11, 2019 6:41 pm

adafruit_support_carter wrote:Does your strip have wires on both ends?


Yes.

adafruit_support_carter wrote:Another photo verifying the input direction would help.


Here you go:

https://photos.app.goo.gl/iNR1FqFjqJMTft3R7

As I mentioned in the original post, I have tried both ends, and neither works.

stapelberg
 
Posts: 3
Joined: Sat Nov 09, 2019 1:48 pm

Re: NeoPixel LED strip does not light up

by adafruit_support_carter on Tue Nov 12, 2019 12:41 pm

This is the correct end to use. The key is to look for the arrow which indicates the direction of data flow along the strip:
neo_strip.jpg
neo_strip.jpg (29.67 KiB) Viewed 144 times


Din on D6, red power on 3.3V, black power on GND

It may be power related. That 3.3V is probably the output of the on board voltage regulator. So it's not going to pass all of the current from your 5V supply.

Do you have any other Arduino boards?

adafruit_support_carter
 
Posts: 13681
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel LED strip does not light up

by stapelberg on Tue Nov 12, 2019 3:47 pm

Turns out my girlfriend had an Arduino Uno lying around, which uses 5V, and with which the NeoPixel works indeed.

So it seems like I can’t use it with an Arduino Nano 33 BLE as-is; that’s too bad :-/

Thanks for walking me through this.

stapelberg
 
Posts: 3
Joined: Sat Nov 09, 2019 1:48 pm

Re: NeoPixel LED strip does not light up

by adafruit_support_carter on Tue Nov 12, 2019 6:30 pm

Keep trying. NeoPixels are essentially 5V devices, but can be used with 3.3V boards. Lots of info here in the uberguide:
https://learn.adafruit.com/adafruit-neopixel-uberguide

adafruit_support_carter
 
Posts: 13681
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel LED strip does not light up

by oesterle on Thu Nov 21, 2019 2:49 pm

Hi, BigMike81!

Welcome to the Forums!

Please start a new topic with your issue. We encourage this since projects and their troubleshooting steps vary.

Cheers,

Eric

oesterle
 
Posts: 725
Joined: Tue Sep 17, 2013 11:32 pm

Please be positive and constructive with your questions and comments.