Skip to main content

Addressable RGB

Does the WS2812 have integrated gamma correction?
·1453 words·7 mins
Taking a closer look at the PWM behavior of the WS2812: Why does it have 11 bit PWM resolution when only 8 bits are used for color data?
Controlling RGB LEDs with only the powerlines – anatomy of a Christmas light string
·2310 words·11 mins
Reverse-engineers a whole-wire LED Christmas string that encodes data on the supply rails, mapping its protocol.
The TransistorPixel
·1775 words·9 mins
What would it take to build an addressable LED like the WS2812 (aka Neopixel) using only discrete transistors? Time for a small “1960 style logic meets modern application” technology fusion project.
Power analysis: Probing WS2812 RGB LEDs
·1952 words·10 mins
Whenever a logic gate in an integrated circuit switches, it will cause a tiny current spike that can be measured in the supply current. By inspecting the temporal variation it is often possible to deduce information about the construction of the IC. Let’s take a closer look at the WS2812 RGB LED.
Intelligent 7-Segment Display
·1454 words·7 mins
Builds an addressable seven-segment display module using Padauk MCUs, covering protocol details and firmware.
SK9822 - a clone of the APA102
·1124 words·6 mins
Analyzing the SK9822 addressable RGB-LED, a clone of the SPI based APA102.
The SK6812 - another intelligent RGB LED
·669 words·4 mins
Analyzing a new addressable RGB LED: The SK6812.
Understanding the APA102 Superled
·989 words·5 mins
Dissects APA102 timing details to explain start frames, data forwarding, and reliable end-frame clocking.
Measuring the length of a WS2812 string
·724 words·4 mins
How to estimate WS2812 string length by measuring supply-voltage sag from the LEDs’ current draw.
APA102 aka "Superled"
·772 words·4 mins
Investigating the SPI based the APA102/APA102C LED, outlining its SPI protocol, global brightness control, and fast PWM behavior.
u-Wire – USB on an ATtiny 10
·942 words·5 mins
Implementing a stripped down version of V-USB including a WS2812 controller on a minimal ATtiny10 MCUs with only 1kb of flash.
Light_WS2812 library V2.0 - Part II: The Code
·623 words·3 mins
Implementation of the optimized light_ws2812 driver with hand crafted assembly inner loop that bit-bangs LEDs even at 4 MHz without timing violations on an AVR.
Light_WS2812 library V2.0 - Part I: Understanding the WS2812
·1419 words·7 mins
Analyzing and understanding the WS2812 timing, protocol tolerances, and hardware behavior to enable a reliable driver implementation.