WS2811 LED Light Strips not working

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rick1fx
 
Posts: 11
Joined: Wed Aug 11, 2021 6:20 pm

WS2811 LED Light Strips not working

Post by rick1fx »

Hello everyone,

I recently bought WS2811 LED Light strips, but I am unable to get them to work properly.

Pic1.jpeg
Pic1.jpeg (75.85 KiB) Viewed 263 times
As you can see from the photo above, the LED strip is red at one tip without any interaction from the Arduino Nano. I'm not sure if I just got a bad strip or if my code is not written right.

Here is my code:

Code: Select all

#include <Arduino.h>
#include "FastLED.h"

#define DATA_PIN 2
#define NUM_LEDS 60

CRGB leds[NUM_LEDS];


void setup()
{
    Serial.begin(115200);

    FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
    FastLED.setBrightness(255);
    FastLED.clear();

    leds[0] = CRGB::Red;
    leds[1] = CRGB::Blue;
    leds[2] = CRGB::Green;
}

void loop()
{
    
}
Hardware:
Arduino Nano
12v 5a Power Supply
WS2811 LED Strips


Thanks for your time.

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: WS2811 LED Light Strips not working

Post by Franklin97355 »

Which strip did you get (product number)

User avatar
rick1fx
 
Posts: 11
Joined: Wed Aug 11, 2021 6:20 pm

Re: WS2811 LED Light Strips not working

Post by rick1fx »

@franklin97355,

I bought the LED strips off of Ebay, here is a link to the seller: https://www.ebay.com/itm/224091820980?var=522883262154

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: WS2811 LED Light Strips not working

Post by adafruit_support_bill »

Best to contact the seller for assistance. This is a forum for support of Adafruit products.

User avatar
rick1fx
 
Posts: 11
Joined: Wed Aug 11, 2021 6:20 pm

Re: WS2811 LED Light Strips not working

Post by rick1fx »

@adafruit_support_bill,

OK. I have created another forum at the Arduino website. If anyone is interested in this topic, please follow this link https://forum.arduino.cc/t/ws2811-led-l ... =jeremyone

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”