All paths

Build a light painting stick

A strip of LEDs as one column of pixels: pictures as columns, BMPs from microSD, timing for your walk and your name in light on a long exposure.

Arduino Uno R3Free6 lessons5 h2 chapters1,418 XPMaker · Intermediate+150 XP

0 of 6 done

What you will build

2 projects, built step by step

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

Chapter 1 project

SD bitmaps

Read a 24-bit BMP from microSD by its real rules: a 54-byte header, rows stored bottom first, blue-green-red pixels and rows padded to four bytes.

Open it in the simulator
Chapter 2 project

Project: write your name in light

Type your name, set the speed, count down and paint it in rainbow light, then take the stick out at night with a camera.

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

Columns of light

One column of pixels, pictures stored sideways, and bitmaps from a card.

  1. Open174 XP

    LED columns

    Treat a 16-LED strip as one column of pixels: a lamp test, then any column typed as a 16-bit number lit on the stick.

    0 of 4 steps

  2. Locked174 XP

    Images to columns

    Store a picture sideways as columns in flash, build text from a 5x7 font doubled to the stick's height, and play them out on START.

    0 of 4 steps

  3. ProjectLocked410 XP

    SD bitmaps

    Read a 24-bit BMP from microSD by its real rules: a 54-byte header, rows stored bottom first, blue-green-red pixels and rows padded to four bytes.

    0 of 5 steps

4 questions, graded as you go.
Chapter 2

In the dark

Timing for your walk, camera settings, and your name in light.

  1. Locked174 XP

    Timing

    Set the time per column with a knob and work out what it means at walking speed, so the picture comes out the right shape.

    0 of 4 steps

  2. Locked174 XP

    Long exposures

    Set up the camera for light painting, work out the exposure the picture needs, and sync it with a three-blink countdown on the stick.

    0 of 4 steps

  3. ProjectLocked312 XP

    Project: write your name in light

    Type your name, set the speed, count down and paint it in rainbow light, then take the stick out at night with a camera.

    0 of 4 steps

4 questions, graded as you go.
Syllabus

Every lesson in the course

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

Chapter 1

Columns of light

  1. LED columnsTreat a 16-LED strip as one column of pixels: a lamp test, then any column typed as a 16-bit number lit on the stick.
  2. Images to columnsStore a picture sideways as columns in flash, build text from a 5x7 font doubled to the stick's height, and play them out on START.
  3. SD bitmapsRead a 24-bit BMP from microSD by its real rules: a 54-byte header, rows stored bottom first, blue-green-red pixels and rows padded to four bytes.
Chapter 2

In the dark

  1. TimingSet the time per column with a knob and work out what it means at walking speed, so the picture comes out the right shape.
  2. Long exposuresSet up the camera for light painting, work out the exposure the picture needs, and sync it with a three-blink countdown on the stick.
  3. Project: write your name in lightType your name, set the speed, count down and paint it in rainbow light, then take the stick out at night with a camera.
Keep going

The next course on your track

Build a light painting stick is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a marble machine

A 28BYJ-48 lift stepped from its coil table, a servo gate that routes, a debounced marble counter, a WS2812 count bar and a jam alarm, for a machine that runs forever.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
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 Build a light painting stick

Is Build a light painting stick free?

Yes. All 6 lessons of Build a light painting stick 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 Build a light painting stick take?

About 5 hours: 6 lessons in 2 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: SD bitmaps and Project: write your name in light.

Where do I start?

With "LED columns", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.