HOW TO USE WS2812B NEOPIXELS WITH FASTLED ON ARDUINO
Gadget Reboot
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/Web_Color.html
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
Patreon: https://www.patreon.com/gadgetreboot Pinterest: https://www.pinterest.ca/GadgetReboot Twitter: @GadgetReboot https://twitter.com/gadgetreboot ... https://www.youtube.com/watch?v=YgII4UYW5hU
135223046 Bytes