Build a laser tag system lesson plan
Infrared blasters on two Unos: coded 38 kHz shots, team codes, health bars, reloads, sound and a two-team game.
Objectives and materials
By the end, students can
- Fire a coded infrared packet and put a team inside it.
- A health bar, tag-outs, respawns and a clip that runs dry.
- Sounds for every event and a whole two-team game.
Materials for the whole unit
- Addressable RGB LEDs x 2
- Arduino Uno R3 x 2
- Buzzer x 2
- Infrared LED, 940 nm x 2
- Infrared receiver, VS1838B x 2
- Pushbutton x 4
- Resistor x 2
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.
Shots and teams
Fire a coded infrared packet and put a team inside it.
| Lesson | Time | What students do |
|---|---|---|
| IR shotsFire a coded infrared packet: a 38 kHz carrier, an NEC frame with an address and a command, and a receiver on the other blaster that decodes it as a hit. | 70 min |
|
| Team codesPack a team into the command byte, pick the team from a jumper, light the bar in the team color, and ignore friendly fire. | 60 min |
|
Materials
- Addressable RGB LEDs x 2
- Arduino Uno R3 x 2
- Buzzer x 2
- Infrared LED, 940 nm x 2
- Infrared receiver, VS1838B x 2
- Pushbutton x 4
- Resistor x 2
Check for understanding
Each student finishes "Team codes" 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: "Friendly fire".
Health and ammo
A health bar, tag-outs, respawns and a clip that runs dry.
| Lesson | Time | What students do |
|---|---|---|
| Hits and healthShow five health on a WS2812 bar, take one per enemy hit with a half-second safe window, and tag out at zero with a respawn. | 60 min |
|
| ReloadsGive each blaster a six-shot clip, an empty click, and a reload that takes a second and a half and leaves you open while it runs. | 60 min |
|
Materials
- Addressable RGB LEDs x 2
- Arduino Uno R3 x 2
- Buzzer x 2
- Infrared LED, 940 nm x 2
- Infrared receiver, VS1838B x 2
- Pushbutton x 4
- Resistor x 2
Check for understanding
Each student finishes "Reloads" 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: "Caught reloading".
Game on
Sounds for every event and a whole two-team game.
| Lesson | Time | What students do |
|---|---|---|
| SoundGive every event its own sound from a one-note buzzer: a fire chirp, a hit buzz, an empty click, reload beeps and a long tone when you are out. | 60 min |
|
| Project: a two-team gamePlay a whole game: tag-outs reported back to the shooter, respawns, reloads, and the first team to three tag-outs wins. | 60 min |
|
Materials
- Addressable RGB LEDs x 2
- Arduino Uno R3 x 2
- Buzzer x 2
- Infrared LED, 940 nm x 2
- Infrared receiver, VS1838B x 2
- Pushbutton x 4
- Resistor x 2
Check for understanding
Each student finishes "Project: a two-team game" 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 arena".
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.