Source: https://mokxi.com/learn/path/addressable-leds
Updated: 2026-11-20

All paths

# Addressable LEDs: strips and matrices

WS2812B strips, rings and panels on the Uno: the one-wire timing, NeoPixel basics, FastLED with HSV and palettes, mapping a serpentine matrix, power budgets and injection, and a sound-reactive aurora wall for the boss.

Arduino Uno R3 Free 7 lessons 6 h 4 chapters 2,309 XP Embedded engineering · Intermediate +150 XP

0 of 7 done

Start the course free WS2812 timing: one wire, many lights Lesson plan for teachers

What you will build

## 3 projects, built step by step

7 lessons in 4 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

### NeoPixel basics: a fuel gauge

Adafruit_NeoPixel as a rocket fuel gauge: setPixelColor, Color, setBrightness and show, a bar from red to green on a knob, and a launch that drains it.
Open it in the simulator

Chapter 2 project

### Palettes and blending

Ocean waves from a 16-color palette with linear blending, a button that crossfades to lava, forest and a custom aurora palette, and how many frames a blend takes.
Open it in the simulator

Chapter 3 project

### Power budget and injection

Why 128 LEDs could pull 7.7 A from a 500 mA port: adding up a frame, limiting the brightness to a budget, sizing a supply, and injecting power along a long strip.
Open it in the simulator

The map

## Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

## One wire, many lights

How the WS2812B signal works, and the NeoPixel library.

Open 249 XP

### WS2812 timing: one wire, many lights

How sixteen LEDs share one data wire: 24 bits each in GRB order at 800 kHz, each LED keeping its own and passing the rest on, and what show() costs in microseconds.

0 of 7 steps

Start What is in it

Project Locked 436 XP

### NeoPixel basics: a fuel gauge

Adafruit_NeoPixel as a rocket fuel gauge: setPixelColor, Color, setBrightness and show, a bar from red to green on a knob, and a launch that drains it.

0 of 6 steps

4 questions, graded as you go.

Chapter 2

## Color like a pro

FastLED, hue and saturation, palettes and smooth blends.

Locked 218 XP

### FastLED and HSV: a color wheel

FastLED on a 16 LED ring: CRGB and CHSV, hue as one byte that wraps by itself, a spinning rainbow, and saturation on a knob from vivid down to white.

0 of 6 steps

Project Locked 472 XP

### Palettes and blending

Ocean waves from a 16-color palette with linear blending, a button that crossfades to lava, forest and a custom aurora palette, and how many frames a blend takes.

0 of 6 steps

4 questions, graded as you go.

Chapter 3

## Panels and power

Folding a strip into a matrix, and feeding it safely.

Locked 218 XP

### Matrix mapping: a serpentine panel

A 16x8 panel is one long strip folded into rows: an XY() function, the zigzag of a serpentine panel, and a pixel-art spaceship flying over the stars.

0 of 6 steps

Project Locked 436 XP

### Power budget and injection

Why 128 LEDs could pull 7.7 A from a 500 mA port: adding up a frame, limiting the brightness to a budget, sizing a supply, and injecting power along a long strip.

0 of 6 steps

4 questions, graded as you go.

Chapter 4

## Boss project

A light wall that dances to the room.

Locked 280 XP

### Boss: a reactive light wall

An aurora light wall that listens: green and violet curtains over the stars that climb with the sound level from a KY-038, and a meteor on every clap.

0 of 8 steps

3 questions, graded as you go.

Syllabus

## Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

### One wire, many lights

- WS2812 timing: one wire, many lights How sixteen LEDs share one data wire: 24 bits each in GRB order at 800 kHz, each LED keeping its own and passing the rest on, and what show() costs in microseconds.
- NeoPixel basics: a fuel gauge Adafruit_NeoPixel as a rocket fuel gauge: setPixelColor, Color, setBrightness and show, a bar from red to green on a knob, and a launch that drains it.

Chapter 2

### Color like a pro

- FastLED and HSV: a color wheel FastLED on a 16 LED ring: CRGB and CHSV, hue as one byte that wraps by itself, a spinning rainbow, and saturation on a knob from vivid down to white.
- Palettes and blending Ocean waves from a 16-color palette with linear blending, a button that crossfades to lava, forest and a custom aurora palette, and how many frames a blend takes.

Chapter 3

### Panels and power

- Matrix mapping: a serpentine panel A 16x8 panel is one long strip folded into rows: an XY() function, the zigzag of a serpentine panel, and a pixel-art spaceship flying over the stars.
- Power budget and injection Why 128 LEDs could pull 7.7 A from a 500 mA port: adding up a frame, limiting the brightness to a budget, sizing a supply, and injecting power along a long strip.

Chapter 4

### Boss project

- Boss: a reactive light wall An aurora light wall that listens: green and violet curtains over the stars that climb with the sound level from a KY-038, and a meteor on every clap.

Kits

## Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

### Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kit

Questions

## About Addressable LEDs: strips and matrices

Is Addressable LEDs: strips and matrices free?

Yes. All 7 lessons of Addressable LEDs: strips and matrices are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Addressable LEDs: strips and matrices take?

About 6 hours: 7 lessons in 4 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: NeoPixel basics: a fuel gauge, Palettes and blending and Power budget and injection.

Where do I start?

With "WS2812 timing: one wire, many lights", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
