5V RGB Programmable COB LED Strip(50cm) Arduino Wiki - DFRobot

Introduction

Compared to the regular LED strip lights, this kind of COB Programmable LED strip comes with advantages of high brightness and density, no light spot, and evenly-distributed light. The flexible LED strip of 50cm is composed of 166 LEDs. The lights emitted by the LED beads can be turned to extremely uniform light of different colors after going through refraction, reflection and interaction with the phosphor in the encapsulation colloid. It supports 5V power supply, single wire control, and cascade connection. You can easily use it with Arduino to DIY your favorite lighting effect. Moreover, this LED strip is extremely flexible and can be bent freely. With adhesive on the back, you can easily fix the LED strip at any place, even in very narrow corners. It can be applied in indoor decoration, advertising, DIY light show, and stylish architectural lighting.

Features

Specification

Board Overview

Board Overview

Name Description
DI Signal Input
DO Signal Output
5V 5V Power Input
VCC 5V External Power +
GND -

Tutorial

Requirements

Connection Diagram

Connection

Note: For brighter lighting or cascading multiple LED strips, please power them externally since UNO board may not provide enough current.

Sample Code - RGB Waterfall

#include <FastLED.h>
#define LED_PIN     10
#define NUM_LEDS    166
CRGB leds[NUM_LEDS];
void setup() {
  FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);
}
void loop() {
  for (int i = 0; i <= 166; i++) {         //Red goes one round
    leds[i] = CRGB ( 255, 0, 0);
    FastLED.show();
    delay(5);
  }
  for (int i = 0; i <= 166; i++) {         //Green goes one round 
    leds[i] = CRGB ( 0, 255, 0);
    FastLED.show();
    delay(5);
  }
  for (int i = 0; i <= 166; i++) {         //Blue goes one round 
    leds[i] = CRGB ( 0, 0, 255);
    FastLED.show();
    delay(5);
  }
}

Three colors of RGB will repeatedly show up to form waterfall lighting effect.

Expected Results

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum.

More Documents