RGB Strip <WS2812B> Breadboard help

In picture:

Green wire represents the data pin on LED strip, connected by a 330 resistor to pin 7 on my Arduino UNO (represented by orange wire).
White wires are ground.
Red wires are the 5V.

My code with this setup:

// ************ libraries ***********************
#include <FastLED.h>
// ************ Variables ***********************
#define NUM_LEDS    50
#define LED_TYPE    WS2812B //led strip type var
#define COLOR_ORDER GRB //color order var
#define NUM_LEDS    50 //number of leds var
#define BRIGHTNESS  100 //brightness var

const int DATA_PIN = 7;

// **********************************************************
void setup() {
  FastLED.addLeds<LED_TYPE,DATA_PIN,COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip); //initalizes LED strip
  FastLED.setBrightness(BRIGHTNESS); //global brightness of LEDS
void loop() 
  for (int i = 0; i < NUM_LEDS; i++) { //sets first 50 LEDS ON
    leds[i] = CHSV (155, 255, 200);


1 You need to have FastLED.show(); To light up LEDs

  1. 50 LEDs is to much for powering them by Arduino board. Use an external 5V power supply for strip

The two red wires are not connected, they are in separate rows.

50 pixels are too much load for the UNO.

Add a 470uF between 5V and GND.

Thanks a lot! I’m sorta just learning this stuff. :slight_smile: