Close

Basic Sensor (non-Bluetooth version)

A project log for Laser Tag

A laser tag gaming system with customizable weapons.

melissa-matosMelissa Matos 09/08/2022 at 19:470 Comments

I am so excited I finally got this working exactly how I want. Well, at least for the basic version. I had a few requirements for this sensor for the basic functioning.

I chose to use the BlueFruit versions of the Circuit Playground rather than the Express version, even though the express version comes with an IR emitter and receiver. I want to have Bluetooth technology for the Plus version, and it's much easier to solder on an IR LED or sensor then attaching a Bluetooth module. But for this basic version it doesn't matter.

The code for this version is in the files section. SENSOR PLAYGROUND.txt

Once turned on the playground will react to being 'shot' by the IR remote using the three hits variation, where the neopixels turn red after three shots. Pressing the A button changes to a different mode, zombie, which changes the color of the neopixels. The idea is that there would be one or two zombies, and everyone else starts green. If a zombie shoots you, you turn into one, and have to go after the others. Zombies have to be 'double-tapped' to go red. The final version only takes one shot to go red, I thought it would be useful for capture the flag type situations, where one can return to a base to be returned to full health.

Here's a video of it working! Any button counts as a shot.but the power button heals.

Discussions