Build a cornhole scoreboard lesson plan
Big digits, team buttons, real cancellation scoring to 21, a radio remote on a second Uno and a fanfare for the winners.
Objectives and materials
By the end, students can
- Light eight digits from three wires and score from four buttons.
- Real cornhole scoring in code, and a remote over the radio.
- Win effects and a scoreboard ready for the backyard.
Materials for the whole unit
- 2.4 GHz radio, nRF24L01+ x 2
- Arduino Uno R3 x 2
- Buzzer
- Eight-digit display, MAX7219
- Pushbutton x 10
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.
Digits and buttons
Light eight digits from three wires and score from four buttons.
| Lesson | Time | What students do |
|---|---|---|
| Big digitsDrive eight seven-segment digits from three wires with a MAX7219: wake it, run a lamp test of all 64 segments, and count a team up to 21. | 45 min |
|
| Buttons for teamsAdd points from four buttons, 1 for the board and 3 for the hole, debounce every press, and give the scorekeeper an UNDO. | 55 min |
|
Materials
- 2.4 GHz radio, nRF24L01+ x 2
- Arduino Uno R3 x 2
- Buzzer
- Eight-digit display, MAX7219
- Pushbutton x 10
Check for understanding
Each student finishes "Buttons for teams" 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: "Undo".
Rules and the remote
Real cornhole scoring in code, and a remote over the radio.
| Lesson | Time | What students do |
|---|---|---|
| Rules in codeTeach the scoreboard real cornhole: four bags an inning, 3 in the hole and 1 on the board, cancellation scoring, and first to 21. | 65 min |
|
| A remoteScore from the far board: a second Uno sends each button over an nRF24L01, the radio confirms every packet, and both sets of buttons share one command. | 55 min |
|
Materials
- 2.4 GHz radio, nRF24L01+ x 2
- Arduino Uno R3 x 2
- Buzzer
- Eight-digit display, MAX7219
- Pushbutton x 10
Check for understanding
Each student finishes "A remote" 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: "Mix and match".
Game day
Win effects and a scoreboard ready for the backyard.
| Lesson | Time | What students do |
|---|---|---|
| Win effectsCelebrate properly: a fanfare on the buzzer and a flashing final score, both timed with millis() so the board never stops listening. | 45 min |
|
| Project: a backyard boardPlay real innings on the finished scoreboard and remote, then build it for your own boards: a box, a battery and a remote on a lanyard. | 45 min |
|
Materials
- 2.4 GHz radio, nRF24L01+ x 2
- Arduino Uno R3 x 2
- Buzzer
- Eight-digit display, MAX7219
- Pushbutton x 10
Check for understanding
Each student finishes "Project: a backyard board" 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: "Build it for your yard".
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.