Build carnival games lesson plan
Touch targets, light gates and an eight-digit display: whack-a-target, ring toss, skee-ball, high scores and a booth that pays out tickets.
Objectives and materials
By the end, students can
- Touch targets and light gates: whack-a-target and a fair ring toss.
- Skee-ball lanes, a scoreboard and a high score that survives the night.
- Tickets, a jackpot, a game clock and attract mode: a booth that runs itself.
Materials for the whole unit
- Arduino Uno R3
- Buzzer
- Eight-digit display, MAX7219
- Photo interrupter, slot x 3
- Touch sensor, TTP223 x 3
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.
Targets and sensors
Touch targets and light gates: whack-a-target and a fair ring toss.
| Lesson | Time | What students do |
|---|---|---|
| Whack targetsRead three touch targets, learn how a touch sensor feels a finger, and build a whack-a-target round with hits, misses and a time limit. | 60 min |
|
| Ring toss sensorsPut a light gate at the foot of each peg, count a ring only when the beam stays cut, catch the ones that bounce off, and score a turn. | 50 min |
|
Materials
- Arduino Uno R3
- Buzzer
- Eight-digit display, MAX7219
- Photo interrupter, slot x 3
- Touch sensor, TTP223 x 3
Check for understanding
Each student finishes "Ring toss sensors" 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: "A turn".
Lanes and scores
Skee-ball lanes, a scoreboard and a high score that survives the night.
| Lesson | Time | What students do |
|---|---|---|
| Skee-ball lanesA light gate under each hole worth 10, 30 and 50: catch every fast ball on its edge, show balls and score on a MAX7219, nine balls a game. | 50 min |
|
| ScoresKeep a high score that survives the power going off: EEPROM read at power-up, written only when beaten, and shown as H1 on the display. | 40 min |
|
Materials
- Arduino Uno R3
- Buzzer
- Eight-digit display, MAX7219
- Photo interrupter, slot x 3
- Touch sensor, TTP223 x 3
Check for understanding
Each student finishes "Scores" 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: "Try to beat it".
Run the booth
Tickets, a jackpot, a game clock and attract mode: a booth that runs itself.
| Lesson | Time | What students do |
|---|---|---|
| TicketsTurn a score into tickets with a table and a jackpot, then count them out one chirp at a time like a real ticket machine. | 50 min |
|
| Project: a game boothRun the whole booth: attract mode, a 30 second clock, tickets and a high score in EEPROM, then make it your own and build it for real. | 50 min |
|
Materials
- Arduino Uno R3
- Buzzer
- Eight-digit display, MAX7219
- Photo interrupter, slot x 3
- Touch sensor, TTP223 x 3
Check for understanding
Each student finishes "Project: a game booth" 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: "Build your booth".
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.