All paths

Build a split-flap display

The clacking departure board: 40 flaps on a 28BYJ-48, 51.2 steps a flap kept exact, hall sensor homing, a character map, and four modules on shift registers.

Arduino Uno R3Free6 lessons6 h3 chapters2,326 XPRobotics · Advanced+250 XP

0 of 6 done

What you will build

3 projects, built step by step

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

Chapter 1 project

The 28BYJ-48

The cheapest stepper there is: a 64:1 gearbox, 2048 full steps a turn, two coils on for torque, a turn in about four seconds, and a speed ceiling it will not go past from a standstill.

Open it in the simulator
Chapter 2 project

Character maps

Letters to flaps: a 40-character map, upper-casing what the drum cannot show, a question mark for the rest, and the long way around a forward-only drum makes.

Open it in the simulator
Chapter 3 project

Project: a departure board

Four modules as a departure board: home, cycle through destinations with every module turning together, show times and gate numbers, survive characters the drum lacks, and put your own destinations on it.

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 module

How the flaps fall, and the stepper that turns them.

  1. Open250 XP

    How flaps work

    A drum of 40 flaps that only turns forward: 9 degrees a flap, 51.2 steps a flap on a 28BYJ-48, and the rounded target that keeps a fraction of a step from ever adding up.

    0 of 5 steps

  2. ProjectLocked500 XP

    The 28BYJ-48

    The cheapest stepper there is: a 64:1 gearbox, 2048 full steps a turn, two coils on for torque, a turn in about four seconds, and a speed ceiling it will not go past from a standstill.

    0 of 5 steps

4 questions, graded as you go.
Chapter 2

Knowing where it is

A hall sensor for home, error that adds up, and letters to flaps.

  1. Locked288 XP

    Hall homing

    An A3144 hall sensor and a magnet on the drum: find flap 0 at power-up, add a calibration offset, see what adding up 51 steps a flap does over a few turns, and why real modules look for the magnet every turn.

    0 of 6 steps

  2. ProjectLocked500 XP

    Character maps

    Letters to flaps: a 40-character map, upper-casing what the drum cannot show, a question mark for the rest, and the long way around a forward-only drum makes.

    0 of 5 steps

5 questions, graded as you go.
Chapter 3

A whole board

Four modules on two shift registers, then the departure board.

  1. Locked288 XP

    Many modules

    Four modules from three pins: two daisy-chained 74HC595s carry sixteen coil signals, each module homes on its own sensor with its own offset, and a message turns them all at once.

    0 of 6 steps

  2. ProjectLocked500 XP

    Project: a departure board

    Four modules as a departure board: home, cycle through destinations with every module turning together, show times and gate numbers, survive characters the drum lacks, and put your own destinations on it.

    0 of 5 steps

3 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

One module

  1. How flaps workA drum of 40 flaps that only turns forward: 9 degrees a flap, 51.2 steps a flap on a 28BYJ-48, and the rounded target that keeps a fraction of a step from ever adding up.
  2. The 28BYJ-48The cheapest stepper there is: a 64:1 gearbox, 2048 full steps a turn, two coils on for torque, a turn in about four seconds, and a speed ceiling it will not go past from a standstill.
Chapter 2

Knowing where it is

  1. Hall homingAn A3144 hall sensor and a magnet on the drum: find flap 0 at power-up, add a calibration offset, see what adding up 51 steps a flap does over a few turns, and why real modules look for the magnet every turn.
  2. Character mapsLetters to flaps: a 40-character map, upper-casing what the drum cannot show, a question mark for the rest, and the long way around a forward-only drum makes.
Chapter 3

A whole board

  1. Many modulesFour modules from three pins: two daisy-chained 74HC595s carry sixteen coil signals, each module homes on its own sensor with its own offset, and a message turns them all at once.
  2. Project: a departure boardFour modules as a departure board: home, cycle through destinations with every module turning together, show times and gate numbers, survive characters the drum lacks, and put your own destinations on it.
Keep going

The next course on your track

Build a split-flap display is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a sumo robot

A mini-sumo robot from the rules up: a legal start, edge sensors that always win, an ultrasonic eye, a state machine with real strategies, and the physics of grip and torque, ending in a tournament.

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 split-flap display

Is Build a split-flap display free?

Yes. All 6 lessons of Build a split-flap display 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 split-flap display take?

About 6 hours: 6 lessons in 3 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: The 28BYJ-48, Character maps and Project: a departure board.

Where do I start?

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