user70420: Hi everyone I have an issue with getting these LEDs to cooperate.
I'm using a 470ohm resistor on the data port and a capacitor for the power. I complied and uploaded the "strandtest"(I changed the variables NUM_LED & LED_PIN) and this occurs [10s Video: https://drive.google.com/file/d/1xabkHW1xgFo9kh3YnGwIsaS5tSfFCsrb/view?usp=sharing]
This happens to all code in a loop. If I send no signals (aka put an empty pin and run) then the lights that were last on stay lit. If I try to clear the LED nothing happens. If I try to set a specific LED to a specific color/brightness nothing happens.
I'm at my wit's end; help a brother out!
LEDs Used:https://www.amazon.com/gp/product/B00ZHB9M6A/ref=ppx_yo_dt_b_asin_title_o02_s01?ie=UTF8&th=1
AC to DC 5V 5A: https://www.amazon.com/ALITOVE-Converter-5-5x2-1mm-100V-240V-Security/dp/B078RT3ZPS/ref=pd_bxgy_img_2/143-9706163-2199558?_encoding=UTF8&pd_rd_i=B078RT3ZPS&pd_rd_r=4133e781-45a6-4112-a571-c311f45e0720&pd_rd_w=t0bs4&pd_rd_wg=TIEcS&pf_rd_p=f325d01c-4658-4593-be83-3e12ca663f0e&pf_rd_r=PPCEVPJVY8N6XFTY1AD4&psc=1&refRID=PPCEVPJVY8N6XFTY1AD4
#include <FastLED.h>

// How many leds in your strip?
#define NUM_LEDS 150

// For led chips like WS2812, which have a data line, ground, and power, you just
// need to define DATA_PIN.  For led chipsets that are SPI based (four wires - data, clock,
// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
// Clock pin only needed for SPI based chipsets when not using hardware SPI
#define DATA_PIN 3
#define CLOCK_PIN 13

// Define the array of leds
CRGB leds[NUM_LEDS];

void setup() { 
    // Uncomment/edit one of the following lines for your leds arrangement.
    // ## Clockless types ##
    //FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);  // GRB ordering is assumed
    // FastLED.addLeds<SM16703, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<TM1829, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<TM1812, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<UCS1904, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<UCS2903, DATA_PIN, RGB>(leds, NUM_LEDS);
     //FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds<WS2852, DATA_PIN, RGB>(leds, NUM_LEDS);  // GRB ordering is typical

  FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);  // GRB ordering is typical

    // FastLED.addLeds<GS1903, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<SK6812, DATA_PIN, RGB>(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds<SK6822, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<APA106, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<PL9823, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<SK6822, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<WS2813, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<APA104, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<WS2811_400, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<GE8822, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<LPD1886, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<LPD1886_8BIT, DATA_PIN, RGB>(leds, NUM_LEDS);
    // ## Clocked (SPI) types ##
    // FastLED.addLeds<LPD6803, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<WS2803, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<P9813, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);  // BGR ordering is typical
    // FastLED.addLeds<DOTSTAR, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);  // BGR ordering is typical
    // FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);  // BGR ordering is typical
    // FastLED.addLeds<SK9822, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);  // BGR ordering is typical
}

void loop() { 
  // Turn the LED on, then pause
  leds[0] = CRGB::Red;
  FastLED.show();
  delay(500);
  // Now turn the LED off, then pause
  leds[0] = CRGB::Black;
  FastLED.show();
  delay(500);
}


user70433: Don't use the Neopixel library. for LEDs that have WS2812B the FastLED is the best option. I also had issues with the LEDs flashing on and off randomly but using this library and then changing the driver to W2812B made it work. Your power supply is plenty strong.

70420: <p><a href="https://i.stack.imgur.com/ceF3z.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ceF3z.jpg" alt="enter image description here" /></a><a href="https://i.stack.imgur.com/7kvPr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7kvPr.png" alt="enter image description here" /></a>Hi everyone I have an issue with getting these LEDs to cooperate.</p>
<p>I'm using a 470ohm resistor on the data port and a capacitor for the power. I complied and uploaded the &quot;strandtest&quot;(I changed the variables NUM_LED &amp; LED_PIN) and this occurs [10s Video: https://drive.google.com/file/d/1xabkHW1xgFo9kh3YnGwIsaS5tSfFCsrb/view?usp=sharing]
This happens to all code in a loop. If I send no signals (aka put an empty pin and run) then the lights that were last on stay lit. If I try to clear the LED nothing happens. If I try to set a specific LED to a specific color/brightness nothing happens.</p>
<p>I'm at my wit's end; help a brother out!</p>
<p>LEDs Used:<a href="https://rads.stackoverflow.com/amzn/click/com/B00ZHB9M6A" rel="nofollow noreferrer" rel="nofollow noreferrer">https://www.amazon.com/gp/product/B00ZHB9M6A/ref=ppx_yo_dt_b_asin_title_o02_s01?ie=UTF8&amp;th=1</a>
AC to DC 5V 5A: <a href="https://rads.stackoverflow.com/amzn/click/com/B078RT3ZPS" rel="nofollow noreferrer" rel="nofollow noreferrer">https://www.amazon.com/ALITOVE-Converter-5-5x2-1mm-100V-240V-Security/dp/B078RT3ZPS/ref=pd_bxgy_img_2/143-9706163-2199558?_encoding=UTF8&amp;pd_rd_i=B078RT3ZPS&amp;pd_rd_r=4133e781-45a6-4112-a571-c311f45e0720&amp;pd_rd_w=t0bs4&amp;pd_rd_wg=TIEcS&amp;pf_rd_p=f325d01c-4658-4593-be83-3e12ca663f0e&amp;pf_rd_r=PPCEVPJVY8N6XFTY1AD4&amp;psc=1&amp;refRID=PPCEVPJVY8N6XFTY1AD4</a></p>
<pre><code>#include &lt;FastLED.h&gt;

// How many leds in your strip?
#define NUM_LEDS 150

// For led chips like WS2812, which have a data line, ground, and power, you just
// need to define DATA_PIN.  For led chipsets that are SPI based (four wires - data, clock,
// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
// Clock pin only needed for SPI based chipsets when not using hardware SPI
#define DATA_PIN 3
#define CLOCK_PIN 13

// Define the array of leds
CRGB leds[NUM_LEDS];

void setup() { 
    // Uncomment/edit one of the following lines for your leds arrangement.
    // ## Clockless types ##
    //FastLED.addLeds&lt;NEOPIXEL, DATA_PIN&gt;(leds, NUM_LEDS);  // GRB ordering is assumed
    // FastLED.addLeds&lt;SM16703, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;TM1829, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;TM1812, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;TM1809, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;TM1804, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;TM1803, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;UCS1903, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;UCS1903B, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;UCS1904, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;UCS2903, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
     //FastLED.addLeds&lt;WS2812, DATA_PIN, RGB&gt;(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds&lt;WS2852, DATA_PIN, RGB&gt;(leds, NUM_LEDS);  // GRB ordering is typical

  FastLED.addLeds&lt;WS2812B, DATA_PIN, RGB&gt;(leds, NUM_LEDS);  // GRB ordering is typical

    // FastLED.addLeds&lt;GS1903, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;SK6812, DATA_PIN, RGB&gt;(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds&lt;SK6822, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;APA106, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;PL9823, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;SK6822, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;WS2811, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;WS2813, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;APA104, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;WS2811_400, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;GE8822, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;GW6205, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;GW6205_400, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;LPD1886, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;LPD1886_8BIT, DATA_PIN, RGB&gt;(leds, NUM_LEDS);
    // ## Clocked (SPI) types ##
    // FastLED.addLeds&lt;LPD6803, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds&lt;LPD8806, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);  // GRB ordering is typical
    // FastLED.addLeds&lt;WS2801, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;WS2803, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;SM16716, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);
    // FastLED.addLeds&lt;P9813, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);  // BGR ordering is typical
    // FastLED.addLeds&lt;DOTSTAR, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);  // BGR ordering is typical
    // FastLED.addLeds&lt;APA102, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);  // BGR ordering is typical
    // FastLED.addLeds&lt;SK9822, DATA_PIN, CLOCK_PIN, RGB&gt;(leds, NUM_LEDS);  // BGR ordering is typical
}

void loop() { 
  // Turn the LED on, then pause
  leds[0] = CRGB::Red;
  FastLED.show();
  delay(500);
  // Now turn the LED off, then pause
  leds[0] = CRGB::Black;
  FastLED.show();
  delay(500);
}
</code></pre>
 70433: <p>Don't use the Neopixel library. for LEDs that have WS2812B the FastLED is the best option. I also had issues with the LEDs flashing on and off randomly but using this library and then changing the driver to W2812B made it work. Your power supply is plenty strong.</p>
