WS2812 led boards
The WS2812 is an RG LED with a WS2811 control IC built right into the LED. WS2812 is an intelligent control LED light source that the control circuit and RGB chips are integrated into a package of 5050 components. It internally includes an intelligent digital port data latch and signals to reshape the amplification drive circuit.
This really blew our minds to see the control IC of an individually addressable RGB LED 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.
ws2812 led board 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 available here
Example Sketch & Diagram
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); } }