Build a word clock lesson plan
A letter grid on WS2812 LEDs that spells the time: words as numbers, a snake-wired panel, a DS3231, brightness by light and animations.
Objectives and materials
By the end, students can
- Design a face of letters and turn any time into words.
- A real-time clock and a face that follows the room.
- Animations, setting the time and a clock of your own design.
Materials for the whole unit
- Addressable RGB LEDs
- Arduino Uno R3
- Light sensor, BH1750
- Real-time clock, DS3231
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.
Letters and words
Design a face of letters and turn any time into words.
| Lesson | Time | What students do |
|---|---|---|
| A letter gridDesign an 11 x 10 face that holds every word a clock needs, put an LED behind each letter, and find any word on it. | 60 min |
|
| Mapping words to LEDsKeep each word as a row, a column and a length, pick words for any time rounded to five minutes, and find the LED behind each letter on a snake-wired panel. | 60 min |
|
Materials
- Addressable RGB LEDs
- Arduino Uno R3
- Light sensor, BH1750
- Real-time clock, DS3231
Check for understanding
Each student finishes "Mapping words to LEDs" 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: "On the hour".
Time and light
A real-time clock and a face that follows the room.
| Lesson | Time | What students do |
|---|---|---|
| RTC timeRead the time from a DS3231 every second, relight the face when the minute changes, and show the minutes between fives as dots. | 45 min |
|
| Brightness by lightRead lux from a BH1750 and dim the face at night and brighten it by day, from 8 to 255, without flicker. | 45 min |
|
Materials
- Addressable RGB LEDs
- Arduino Uno R3
- Light sensor, BH1750
- Real-time clock, DS3231
Check for understanding
Each student finishes "Brightness by light" 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: "Still telling the time".
A desk clock
Animations, setting the time and a clock of your own design.
| Lesson | Time | What students do |
|---|---|---|
| AnimationsMark every new five minutes with a sparkle of random letters and a wipe that sweeps the new words in, and play them on request. | 45 min |
|
| Project: a desk word clockPut it all together: real time, brightness by light and animations, set the clock from the serial monitor, then design and build your own face. | 45 min |
|
Materials
- Addressable RGB LEDs
- Arduino Uno R3
- Light sensor, BH1750
- Real-time clock, DS3231
Check for understanding
Each student finishes "Project: a desk word clock" 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: "Make your own".
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.