MENU

Fun & Interesting

HOW TO USE WS2812B NEOPIXELS WITH FASTLED ON ARDUINO

Gadget Reboot 187,812 6 years ago
Video Not Working? Fix It Now

Here I show how to get started using WS2812B Neopixels on Arduino with the FastLED library. Included is a discussion and some testing for how to set up the hardware, including the need to use a termination resistor on the data pin. RGB strip like the one I’m using (affiliate link): Amazon.ca: https://amzn.to/2XmN78M Amazon.com: https://amzn.to/2MQaOlT Sketch and Schematic: https://github.com/GadgetReboot/Arduino/tree/master/Uno/NeoPixel A simple sketch shows how to control the RGB values on individual pixels, how to animate a few LEDs, and how to control some LEDs using a potentiometer. LED color is set using separate RGB values, Hue Saturation Value/Brightness values, and web/html color names. Any other LED animations are from the Fast LED demo reel sketch that comes with the fast LED library. https://github.com/FastLED/FastLED/tree/master/examples FastLED Library and Documentation: https://github.com/FastLED/FastLED https://github.com/FastLED/FastLED/wiki/Pixel-reference Web Color Codes: https://www.rapidtables.com/web/color/RGB_Color.html#color-picker WS2812 Current Requirements: https://www.pjrc.com/how-much-current-do-ws2812-neopixel-leds-really-use/ Transmission Line Series Termination Info: http://www.ti.com/lit/an/scaa045a/scaa045a.pdf https://www.pcbcart.com/article/content/signal-reflection-in-high-speed-PCB.html https://www.ultracad.com/mentor/transmission%20line%20terminations.pdf http://www.ti.com/lit/an/snla043/snla043.pdf https://www.scte.org/TechnicalColumns/05-12-01%20impedance%20mismatches%20and%20reflections.pdf If you'd like to support the channel, you can: Support me on Patreon: https://www.patreon.com/gadgetreboot Shop through my affiliate links! Banggood https://www.banggood.com/custlink/3vKYLANH8N Aliexpress https://s.click.aliexpress.com/e/_AFeHwB Amazon.com https://www.amazon.com/?&_encoding=UTF8&tag=gadgetreboo05-20&linkCode=ur2&linkId=952875a3564e2204d1786f94b9e1a8d3&camp=1789&creative=9325 Amazon.ca https://www.amazon.ca/?&_encoding=UTF8&tag=gadgetreboot-20&linkCode=ur2&linkId=70fa82315ac48f03342938bd4fb93535&camp=15121&creative=330641 Videos are mirrored at LBRY/Odysee: https://odysee.com/@GadgetReboot:4 #ElectronicsCreators

Comment