WS2812B RGB LED Strip

Similar documents
1/Build a Mintronics: MintDuino

L298N Dual H-Bridge Motor Driver

WS2812 Breakout Hookup Guide

TLC5947 and TLC59711 PWM LED Driver Breakouts

AlphaBot2 robot building kit for Arduino

Adafruit HMC5883L Breakout - Triple-Axis Magnetometer Compass Sensor

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

4x4 Matrix Membrane Keypad

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Adafruit DS3231 Precision RTC Breakout

Adafruit MAX31865 RTD PT100 or PT1000 Amplifier

AT42QT101X Capacitive Touch Breakout Hookup Guide

A brief user guide Universal Learning Remote Controller

Background. Procedure

SPI LED Controller LED Strip Studio SPI SD-Card Digital LED Strip Controller

RedBoard Hookup Guide

Adafruit HTU21D-F Temperature & Humidity Sensor

Adafruit Mini TFT " 160x80

How-To #8: Work with Smart LEDs

Adafruit 1-Wire GPIO Breakout - DS2413

Thursday, September 15, electronic components

keyestudio Keyestudio MEGA 2560 R3 Board

RB-Pol V, 300mA Step-Down Voltage Regulator D24V3F3

Adafruit SHT31-D Temperature & Humidity Sensor Breakout

Device: FDRV-04S. This document version: v1. Matches module version: v2 [2 Oct 2015] Document revision date: 9 November 2015

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

Pololu 12V Step-Up/Step-Down Voltage Regulator S10V2F12

ME 3210: Mechatronics Signal Conditioning Circuit for IR Sensors March 27, 2003

12v Power Controller Project Board

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Installation/assembly manual for DCC/Power shield

36mm LED Pixels. Created by Phillip Burgess. Last updated on :45:20 PM EDT

1.5" & 2.1" Monochrome 128x64 OLED Display Module

Description: BME250 Multi Sensor + Indoor Air Quality (Humidity / Temperature / Pressure Sensor, VOCs, C02)

PICado Alpha Development Board V1.0

Physics 120/220 Lab Equipment, Hints & Tips

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

BuffaloLabs WiFi Lantern Assembly guide version 1

Adafruit INA219 Current Sensor Breakout

PARTS LIST 1 x PC Board 36 x 5mm Red LED 36 x 12mm LED Standoff 36 x NPN Transistor 36 x 10kΩ Resistor OTHER PARTS YOU MAY NEED

ESPino - Specifications

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Bargraph Breakout Kit

USER MANUAL ARDUINO I/O EXPANSION SHIELD

Building the RGBW LED Controller

Lab 2.2 Ohm s Law and Introduction to Arduinos

CHAPTER 5. Voltage Regulator

MP6500 Stepper Motor Driver, Digital Current Control

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Adafruit INA219 Current Sensor Breakout

ARDUINO MICRO WITHOUT HEADERS Code: A000093

2.3" Monochrome 128x32 OLED Display Module

Page 1 / 14. Dear Makerspace User,

Propeller Board of Education (#32900)

How-To: Make an RGB combination door lock (Part 1)

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

Physical Computing Self-Quiz

ARDUINO MINI 05 Code: A000087

A4988 Stepper Motor Driver Carrier, Black Edition

K191 3 Channel RGB LED Controller

Adafruit INA219 Current Sensor Breakout

Hardware Overview and Features

Propeller Project Board USB (#32810)

solutions for teaching and learning

Qwiic Shield for Arduino & Photon Hookup Guide

2.3" Monochrome 128x32 OLED Display Module

LilyPad ProtoSnap Plus Hookup Guide

1.5" & 2.1" Monochrome 128x64 OLED Display Module

E3B USER'S GUIDE. for QT310 / QT320 QProx IC evaluation and development Overview. Fast Start

MP3 audio amplifier. Build Instructions. Issue 2.0

Adafruit PowerBoost Charger

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

LCMM024: DRV8825 Stepper Motor Driver Carrier,

LED Knight Rider. Yanbu College of Applied Technology. Project Description

AT42QT1010 Capacitive Touch Breakout Hookup Guide

ARDUINO PRIMO. Code: A000135

Arduino Dock 2. The Hardware

Halloween Pumpkinusing. Wednesday, October 17, 12

IOX-16 User s Manual. Version 1.00 April Overview

Layad Circuits Arduino Basic Kit B. Content Summary

Tone Bender Mk III. Grandaddy of super-cool vintage fuzz tone

TA0013 ARDUINO RFID UNO STARTER KIT

VKey Voltage Keypad Hookup Guide

MMA8452Q Accelerometer Breakout Hookup Guide

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

Filthy Fack! Famous germanium 5-knobbed fuzz clone

HUB-ee BMD-S Arduino Proto Shield V1.1

Adafruit 3.5" 320x480 Color TFT Touchscreen Breakout

Adafruit BME680. Created by lady ada. Last updated on :10:23 AM UTC

Adafruit BMP280 Barometric Pressure + Temperature Sensor Breakout

A4988 Stepper Motor Driver Carrier

Cherub Chorus. Wobbly fun based on Rick Holt s Little Angel

Thank you for purchasing the RGB Multi-MCU base and driver board from SuperTech-IT and TheLEDCube.com

Sierra Radio Systems. Digital Compass. Reference Manual. Version 1.0

Arduino ADK Rev.3 Board A000069

DIAMEX LED CONTROLLER-L (Rev. 2) Effect controller and TPM2 player for LED stripes with remote control

USB RS232 Level Conversion copyright 2/25/07 Joe Pardue

DIAMEX DIGI-DOT BOOSTER Drivers for WS2812 and SK6812 LEDs with SPI interface

Transcription:

Handson Technology User Guide WS2812B RGB LED Strip These LED strips are just about the best way to get tons of colorful LED light with a minimum of wiring and fuss! Each strip is 50cm in length and contains 15 light elements. Each element contains a red, green, and blue LED, as well as a tiny WS2812 controller chip. This means that each element is individually addressable and can accept brightness values of 0-255 for each of its LEDs, giving you 24 bits of color precision overall. Each LED is activated by using a special serial data protocol. This protocol allows many LEDs to be daisy chained together so that one microcontroller can control the whole lot with a single data signal. Any number of these LEDs can be chained together by connecting one module s data-out (DO) pin to another s data-in (DI) pin. SKU: DSP-1159 Brief Data: Strip of 15 pieces/50cm of 5050 Red, Green, Blue (RGB) LEDs. Each LED element is individually addressable with 24-bit color (8 bits each for R, G & B), 16 million colors. 3-Wires easy connection, 2-power supply lines and 1 data line. 50cm in length. Interface: Serial (Shift Register). Data Speed: 800Kbps. Power Supply: 5V. 1 www.handsontec.com

Application Introducing to WS2812B LED Strip with Arduino: This is the coolest type of LED strips in the market today. You can control the brightness and the color of each LED individually, which allows you to produce amazing and complex effects in a simple way. This LED strip is made by WS2812B LEDs wired in series. These LEDs have a IC built right into the LED. This allows a communication via a one-wire interface. This means that you can control lots of LEDs using just one digital pin of your Arduino. In the following figure you can see the chip inside the LED. The LED is an RGB LED and works like so. This kind of strips are very flexible and can be cut to any length you want. As you can see, the strip is divided into segments, and each segment contains one RGB LED. You can adjust its size by cutting the strip with a scissors in the right place (the proper places to cut the strip are marked). These strips come with connector pad at each end. I ve decided to cut the connectors pad, and solder header pins. It s more handy if you want to connect the strip to an Arduino or to a breadboard. 2 www.handsontec.com

Powering the WS2812B LED Strip The LED strip should be powered using a 5V power source. At 5V, each LED draws about 50mA, when set to its full brightness. This means that for every 30 LEDs, the strip may draw as much as 1.5 A. Make sure you select a power source that matches the strip s needs. If you end up using an external supply, don t forget to connect the power supply ground to the Arduino ground. Schematics In this example, the WS2812B LED strip will be powered using the 5V Arduino pin. In this case, we are controlling 15-LEDs/50cm strip. Bear in mind that if you want to control many LEDs, you ll need to use an external power supply. Code To control the WS2812B LED strip, you ll need to download the FastLED library. Installing the FastLED library 1. Click here to download the FastLED library. You should have a.zip folder in your Downloads folder 2. Unzip the.zip folder and you should get FastLED-master folder 3. Rename your folder from FastLED-master to FastLED 4. Move the FastLED folder to your Arduino IDE installation libraries folder 3 www.handsontec.com

5. Finally, re-open your Arduino IDE After installing the needed library, upload the following code to your Arduino board (this is an example sketch provided in the library examples folder). Go to File > Examples > FastLED > ColorPalette. Demonstration In the end, this is what you ll have. Amazing effects like this one: Or this one And so on Youtube Video Demo 4 www.handsontec.com

Suggest Connection Using External Power Supply: For Arduino boards with a separate +5V DC power supply for the WS2812B RGB Strip: connect the +5V input on the strip to the + (positive) terminal on the power supply (don t connect to the Arduino), DIN to digital pin 6 ( or any digital of your choice) on the Arduino, and (minus or GND) on the strip must connect to both the minus ( ) terminal on the DC supply and a GND pin on the Arduino (there are usually several any will do). When using a DC power supply, or an especially large battery, we recommend adding a large capacitor (1000 µf, 6.3V or higher) across the + and terminals. This prevents the initial onrush of current from damaging the LEDs. Adding a ~470Ω resistor between the microcontroller's data pin and the data input on the RGB LED can help prevent spikes on the data line that can damage the first LED. Please add one between the micro and RGB LED! Note: Suggest to use this external power supply connection if powering more that 60-LEDs as +5V onboard Arduino may not enough to power this. 5 www.handsontec.com