All paths

Build a laser tag system

Infrared blasters on two Unos: coded 38 kHz shots, team codes, health bars, reloads, sound and a two-team game.

Arduino Uno R3Free6 lessons6 h3 chapters1,840 XPMaker · Intermediate+150 XP

0 of 6 done

What you will build

3 projects, built step by step

6 lessons in 3 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

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.

Open it in the simulator
Chapter 2 project

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.

Open it in the simulator
Chapter 3 project

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.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Shots and teams

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

  1. Open236 XP

    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.

    0 of 6 steps

  2. ProjectLocked410 XP

    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.

    0 of 5 steps

4 questions, graded as you go.
Chapter 2

Health and ammo

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

  1. Locked205 XP

    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.

    0 of 5 steps

  2. ProjectLocked410 XP

    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.

    0 of 5 steps

3 questions, graded as you go.
Chapter 3

Game on

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

  1. Locked205 XP

    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.

    0 of 5 steps

  2. ProjectLocked374 XP

    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.

    0 of 5 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Shots and teams

  1. 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.
  2. 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.
Chapter 2

Health and ammo

  1. 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.
  2. 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.
Chapter 3

Game on

  1. 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.
  2. 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.
Keep going

The next course on your track

Build a laser tag system is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a light painting stick

A strip of LEDs as one column of pixels: pictures as columns, BMPs from microSD, timing for your walk and your name in light on a long exposure.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a laser tag system

Is Build a laser tag system free?

Yes. All 6 lessons of Build a laser tag system are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a laser tag system take?

About 6 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Team codes, Reloads and Project: a two-team game.

Where do I start?

With "IR shots", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.