Source: https://mokxi.com/teachers/plans/build-laser-tag
Updated: 2026-11-19

Lesson plan

# 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.

3 chapters, 6 lessons, about 6 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

## 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.

Chapter 1. About 2 h 10 min

## Shots and teams

Fire a coded infrared packet and put a team inside it.

Lesson | Time | What students do

IR shots Fire 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

- Two blasters
- Flashing at 38 kHz
- Fire a packet
- The lens sees it
- A hit
- Fire back

Team codes Pack 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

- Team RED
- Team BLUE
- A RED shot
- A BLUE shot
- Friendly fire

### 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".

Chapter 2. About 2 h

## Health and ammo

A health bar, tag-outs, respawns and a clip that runs dry.

Lesson | Time | What students do

Hits and health Show 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

- Full health
- Take a hit
- Read the bar
- Tagged out
- Respawn

Reloads Give 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

- Six shots
- Count down
- Click
- Reload
- Caught reloading

### 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".

Chapter 3. About 2 h

## Game on

Sounds for every event and a whole two-team game.

Lesson | Time | What students do

Sound Give 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

- Pew
- Ouch
- Click click
- Locked and loaded
- Out

Project: a two-team game Play a whole game: tag-outs reported back to the shooter, respawns, reloads, and the first team to three tag-outs wins. | 60 min

- Game on
- Confirmed
- Back in
- Win the game
- Build your arena

### 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".

Your class

## 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.

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Build your own fight stick 5 lessons, about 4 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Every unit All the courses as ready-made units, on the teachers page.
