MicroController Pros Home Page My Account  Cart Contents  Checkout  

****Note: We no longer process and ship international orders. Only orders from USA and Canada are now accepted.****
You can place international orders for our products on E-Bay. Just copy the item's title description from our website and paste it into the search box on E-Bay and place your order there.

  Store » Parts & Components » LEDs » BOB-11820 My Account  |  Cart Contents  |  Checkout   
Quick Find
 
Enter keywords to find the product you are looking for in the Quick Find field above

or use
Advanced Search
Categories
Accessory Boards->
8051->
ADI Blackfin
Arduino->
ARM->
Atmel AVR->
Cypress PSoC
Freescale->
FTDI->
Locktronics
Microchip PIC->
MIPS
Parallax->
Renesas
Silicon Labs
ST Microelectronics->
Texas Instruments->
Tibbo->
Books->
Displays->
E-Blocks->
EEPROM/EPROM/FLASH
Embedded Ethernet->
Embedded Software->
I/O Modules->
Parts & Components->
  Batteries & Chargers
  Buzzers
  Cables/Adapters->
  Cameras
  Chips/ICs
  Connectors
  Crystals
  Diodes
  IC Sockets
  Joysticks/Keypads
  LEDs
  Memory Cards
  Motor Drivers
  Power Supplies/Adapters
  Relays
  Resistors
  RTCs
  Sensors->
  Solar Cells
  Switches
  Transistors
  Voltage Regulators
  Generic Pin Converters
Pick & Place Tools
Programmable Logic (PLD)
Prototype PCBs->
Robotics
ROM/Flash Emulators
Test & Measurement->
Tutorial Software
Universal Programmers->
Wireless->
Information
Intro to Embedded Tools
Embedded News Digest
Useful Resources
Shipping & Returns
Warranty & Liability
Privacy Notice
Conditions of Use
Contact Us
RGB LED Breakout Board, WS2812, Serial Controlled, Chainable US$4.95

BOB-11820
RGB LED Breakout Board, WS2812, Serial Controlled, Chainable


This board features a WS2812 integrated RGB LED and controller IC. The pins of the WS2812 are broken out to 0.1"-spaced headers for easy use.

The WS2812 operates on 4V to 7V DC and communicates via a unique one-wire interface. It's chainable, so the output of one LED can be connected to the input of another to create strips of hundreds of LEDs. You can chain together several of these boards to form a display or an addressable string. Each LED at full brightness can pull about 60mA, so bear in mind that means 10 LEDs can require up to 600mA.

The brightness of each color can be adjusted using pulse-width modulation to one of 256 different levels. That means there are 16,777,216 (256³) possible combinations of colors. You can produce any color from white to black (off), or salmon to sienna.

The board's pins are as follows:

  • 5V is the power input. Technically it can be between 4V and 7V DC. Typical use is with a regulated 5V supply.
  • GND is the common ground 0V reference.
  • DI is Data In from a microcontroller or another WS2812.
  • DO is Data Out to be connected to the DI pin of another WS2812, or left floating on the last board in a chain.
There are two 5V and GND pins on the board — one each on opposite sides — making it easy to chain multiple boards together from left to right. You can think of the right-side 5V and GND pins as output to be connected to the left-side pins on the next board in the chain.

The figure below shows an example connection of five of these boards to an Arduino Uno, controlled via the Arduino's I/O pin 4:

Data Transmission Interface

The communication interface between a microcontroller and the WS2812 is unusual. It's one wire, but it's not like a standard UART serial interface. This interface is very time-specific. Both a logic 0 and a logic 1 require a square pulse; it's the length of the pulse that defines which it is. See the timing diagram below:

The data are sent in a sequence containing 24 of those bits — 8 bits for each color — followed by a low Reset pulse of at least 50µs. The channels are in the order Green, Red, Blue.

The larger the value of a specific color is, the brighter it will be. If every color is set to 0, the LED will be off. If every color is set to max (255) the LED will be brightest white.

Because the interface is so time-specific, you will need a real-time processor like an Arduino or Propeller to run the LEDs. Microprocessors like those on the Raspberry Pi or pcDuino can't give you a reliably-timed pulse; even if one bit is less than a microsecond off, that could mean the difference between purple and maroon.

WS2812 RGB LED Breakout Board Resources


Optional Recommended Products for this Item
Rectangular Pin Header, Male, 1x40 Single Row, 2.54mm Spacing+ US$0.75
40-pin Single Row Right-Angle Headers, 0.1+ US$6.00

This product was added to our catalog on Wednesday 02 October, 2013.

Reviews

Customers who bought this product also purchased
Bezel for uLCD-43PT/DT, Armadillo-43T and 4DLCD-FT843, WhiteBezel for uLCD-43PT/DT, Armadillo-43T and 4DLCD-FT843, WhiteUS$3.50

40-pin Single Row Right-Angle Headers, 0.1" Pitch, 10 pieces40-pin Single Row Right-Angle Headers, 0.1" Pitch, 10 piecesUS$6.00

USB to Serial TTL Cable, 3.3V, 5-pin Female Header, 1.8mUSB to Serial TTL Cable, 3.3V, 5-pin Female Header, 1.8mUS$19.00

Quad Seven Segment Display ModuleQuad Seven Segment Display ModuleUS$6.95

Digital/Analog I/O Interface Board, Buttons, Sensors, Pots, LEDsDigital/Analog I/O Interface Board, Buttons, Sensors, Pots, LEDsUS$7.00

EEPROM mikroBUS Module, 24C08WP, 8 Kbits, 3.3V/5V (EEPROM click)EEPROM mikroBUS Module, 24C08WP, 8 Kbits, 3.3V/5V (EEPROM click)US$3.75

Shopping Cart more
0 items
What's New? more
Arduino Motor Driver Shield, 2x VNH2SP30 Full-Bridge Drivers
Arduino Motor Driver Shield, 2x VNH2SP30 Full-Bridge Drivers
US$5.00
Tell A Friend
 

Tell someone you know about this product.
Notifications more
NotificationsNotify me of updates to RGB LED Breakout Board, WS2812, Serial Controlled, Chainable
Reviews more
Write ReviewWrite a review on this product!
  Friday 01 November, 2024   List of all our Products

Copyright © 2003-2017 MicroController Pros LLC
Powered by osCommerce