ws2812 led boards | Botshop

ws2812 led boards

R13.00

WS2812 is an RGB LED with a WS2811 control IC. Price is per 1 LED

126 in stock

Purchase this product now and earn 13 Bot Points!
SKU: leds0000 Categories: , , ,

Description

The WS2812 is an RGB LED with a WS2811 control IC built right into the LED. This really blew our minds to see the control IC of an individually addressable RGB LED was moved into the actual LED, so we wanted to offer this amazing product to you! They’re great when you need a lot of color from not a lot of board space, now more so than ever.

Features:

  • Viewing angle: 120 degrees
  • Red: (620-630nm) @ 550-700mcd
  • Green: (515-530nm) @ 1100-1400mcd
  • Blue: (465-475nm) @ 200-400mcd

Forward Voltage:

  • Red: 1.8-2.2V
  • Green: 3.0-3.2V
  • Blue: 3.2-3.4V

WS2812 Datasheet availible here

Example Sketch & Diagram

Libraries:

Adafruit_NeoPixel.zip

Code:

#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
 #include <avr/power.h>
#endif

#define PIN 6

#define NUMPIXELS 1

Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

int delayval = 500;

void setup() {
#if defined (__AVR_ATtiny85__)
 if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
#endif
 pixels.begin();
}

void loop() {
for(int i=0;i<NUMPIXELS;i++){
 pixels.setPixelColor(i, pixels.Color(0,150,0));
 pixels.show();
 delay(delayval); 
 }
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

You may also like…