Blog Posts with tag "Lightstrip"

Raspberry Pi WS2812B Lightstrip Unit Testing Strategies with .NET

Raspberry Pi WS2812B Lightstrip Unit Testing Strategies with .NET

Testing hardware-driven projects pays off quickly. Compared to driving a single LEGO motor, controlling a WS2812B lightstrip involves timing constraints, color math, frame buffers, and update sequencing–lots of places where regressions can hide. A focused unit-testing approach helps keep this code reliable and fast to iterate on. For more background on the general pattern, see the Build HAT article: Raspberry Build HAT: Unit Testing Strategies with .NET .

Read Blog Post
Raspberry Pi WS2812B Lightstrip Control with .NET

Raspberry Pi WS2812B Lightstrip Control with .NET

In this beginner-friendly guide, you’ll learn how to control a WS2812B (aka “NeoPixel”) LED light strip with a Raspberry Pi using .NET. We’ll enable SPI on the Pi, wire the strip correctly (including best practices like a level shifter and a series resistor), and write a small .NET 9 app using the Iot.Device.Bindings library to animate colors. We’ll also publish the app as a self-contained linux-arm64 binary so no .NET runtime is needed on the Pi.

Read Blog Post