Build a scrolling LED sign lesson plan
Four chained LED matrices driven bit by bit, your own 5x7 font, smooth scrolling, typed messages, auto brightness and an on-air sign.
Objectives and materials
By the end, students can
- Drive a chain of four MAX7219s by hand and draw with a font made of bytes.
- A strip of columns, a moving window and messages from the serial port.
- Brightness that follows the room, and a sign for the studio door.
Materials for the whole unit
- Arcade button
- Arduino Uno R3
- LED matrix, 8x8
- Photoresistor sensor module
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
Matrices and fonts
Drive a chain of four MAX7219s by hand and draw with a font made of bytes.
| Lesson | Time | What students do |
|---|---|---|
| Chained matricesDrive four MAX7219 chips in a daisy chain by hand: wake them, run a display test of all 256 LEDs, and light one module at a time with No-Op packets. | 45 min |
|
| FontsStore a 5x7 font as bytes in flash, draw a word with it, and see every character as hex and as a picture of its pixels. | 45 min |
|
Materials
- Arcade button
- Arduino Uno R3
- LED matrix, 8x8
- Photoresistor sensor module
Check for understanding
Each student finishes "Fonts" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Count the pixels".
Scrolling and messages
A strip of columns, a moving window and messages from the serial port.
| Lesson | Time | What students do |
|---|---|---|
| ScrollingTurn a message into one long strip of columns, slide a 32-column window along it on a timer, and change the speed while it runs. | 45 min |
|
| MessagesTake new messages typed over serial, swap them in at the end of a pass, tidy the input, and see how the same code takes them over WiFi on an ESP32. | 60 min |
|
Materials
- Arcade button
- Arduino Uno R3
- LED matrix, 8x8
- Photoresistor sensor module
Check for understanding
Each student finishes "Messages" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Too long".
On air
Brightness that follows the room, and a sign for the studio door.
| Lesson | Time | What students do |
|---|---|---|
| BrightnessSet the sign's brightness from a light sensor: average eight readings, map them to the chip's sixteen steps, dim at night and bright in the sun. | 45 min |
|
| Project: an on-air signPut it all together: scrolling messages and automatic brightness, and a red button that puts a steady ON AIR on the sign at full brightness. | 60 min |
|
Materials
- Arcade button
- Arduino Uno R3
- LED matrix, 8x8
- Photoresistor sensor module
Check for understanding
Each student finishes "Project: an on-air sign" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Hang it on the door".
Teach this unit as a class
Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.