5Rainbow Light Strip

In this project you’ll create a rainbow light effect using an addressable RGB LED strip. You’ll use a pushbutton to start and stop the rainbow effect, and you’ll control the rainbow’s speed and brightness using two potentiometers.

image

PARTS REQUIRED

Raspberry Pi

Breadboard

WS2812B addressable RGB LED strip

Logic level conver ter module BSS 138

Two 10 kΩ potentiometers

MCP 3 008 chip

Pushbutton

Three header pins

Jumper wires

SOFTWARE REQUIRED

WS2 81X library

INTRODUCING THE WS2812B ADDRESSABLE RGB LED STRIP

For the rainbow light effect, you’ll use the WS2812B RGB LED strip, which is available in many different sizes. The strip ...

Get 20 Easy Raspberry Pi Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.