0

WS2811 LED Light Strips not working
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

WS2811 LED Light Strips not working

by rick1fx on Mon Sep 13, 2021 7:31 pm

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 43 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 | TOGGLE FULL SIZE
#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.

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

Re: WS2811 LED Light Strips not working

by franklin97355 on Mon Sep 13, 2021 8:14 pm

Which strip did you get (product number)

franklin97355
 
Posts: 22155
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: WS2811 LED Light Strips not working

by rick1fx on Mon Sep 13, 2021 9:03 pm

@franklin97355,

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

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

Re: WS2811 LED Light Strips not working

by adafruit_support_bill on Tue Sep 14, 2021 5:26 am

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

adafruit_support_bill
 
Posts: 81913
Joined: Sat Feb 07, 2009 10:11 am

Re: WS2811 LED Light Strips not working

by rick1fx on Tue Sep 14, 2021 9:51 pm

@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-light-strips-not-working/905606?u=jeremyone

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

Please be positive and constructive with your questions and comments.