Posts | Comments

Planet Arduino

Archive for the ‘capture the flag’ Category

Capture the flag can be fun, but Karel Bousson has put a new spin on the game that allows you to compete against neighbors over who can keep a single item — a modified tool case — in their possession the longest.

The box contains an Arduino Mega that interfaces with an RFID reader to enable the current owner to scan in, plus a GPS module for location data. Additionally, an LDR sensor can be incorporated to set the brightness of an LED matrix on the outside.

Data passed along to a Raspberry Pi for time of possession tracking via LoRa with The Things Network. This also runs a server that shows game info to others playing, meaning that you’ll have to be very careful to keep it around!

Code for the project is available on GitHub.

With events of all sizes on hold and live sports mostly up in the air, it’s a great time to think of new ways to entertain ourselves within our local circles. Bonus points if the activity involves running around outside, and/or secretly doubles as a team-building exercise, like [KarelBousson]’s modernized version of Capture the Flag.

Much like the original, the point of this game is to capture the case and keep it for as long as possible before the other team steals it away. Here, the approach is much more scientific: the box knows exactly who has it and for how long, and the teams get points based on the time the case spends in any player’s possession.

Each player carries an RFID tag to distinguish them from each other. Inside the case is an Arduino Mega with a LoRa shield and a GPS unit. Whenever the game is afoot, the case communicates its position to an external Raspi running the game server.

If you haven’t met LoRa yet, check out this seven-part introductory tutorial.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook