Virtual Racers Battle It Out On Portable WS2812 Track

Sure modern video games are impressive, but you certainly don’t need a 4K display or high speed Internet connection to have a good time. For a perfect example, take a look at this unique one-dimensional racing game put together by [mircemk]. This variation of [Gerardo Barbarov Rostan]’s Open LED Race project has been scaled down so it can be transported easily, though at least for now, you’ll still need to plug it into an external power supply.

The game is pretty straightforward. By rapidly pressing their respective buttons, players race their virtual vehicles on a linear “track” made of 60 WS2812 RGB LEDs. In the most basic of terms, the faster they press their button, the faster the red or green illuminated LED that represents their car moves.

But in practice, things are made a bit more interesting with the addition of simulated gravity for the “hills” the racers will encounter. The cars also have a bit of inertia, and will coast along even when you aren’t mashing the button. There are even optional engine sounds, though as with the visual representation of the cars, a certain degree of imagination is required for the desired effect.

The hardware requirements for this game are minimal, and can easily be adapted to what you have in the parts bin. Beyond the strip of WS2812 LEDs, all you really need is a microcontroller and two buttons. Here [mircemk] is using an Arduino Nano, but you could press pretty much any MCU into service. To make this version as portable as possible, the buttons are built right into the PVC sheet enclosure, but putting them in some wired remotes would make for a bit more comfortable gameplay.

We’ve covered several projects that have aimed to turn the humble string of RGB LEDs into an interactive electronic game over the years. As long as you’ve got an open mind, you can find a whole world hidden inside some blinking lights.

7 thoughts on “Virtual Racers Battle It Out On Portable WS2812 Track

  1. Dear Tom Nardi, my brain does not succeed in computing the sentence with: “that a look at this” I believe it would benefit from changing the first word to “take”.

    This game reminds me of an arcade game back in the eighties where it was required to push buttons very quickly to make the character run as fast as possible. It’s name was something with Olympic in it.

  2. I created the Open LED Race project for the Arduino Day 2019 in our makerspace of the sevilla Maker Society, then we have also presented it at the Maker Faire in Rome, now the code is much more evolved, in gitlab [https://gitlab.com/open-led-race/olr-arduino/-/tree/master ].

    We also have a version that links different tracks over the internet to make group relay races [ https://openrelayrace.org/developer-resources ].

    Before the pandemic, we set up several events to test the reliability of the new game modes.
    https://openledrace.net/olr-our-world/

Leave a Reply to Greg ACancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.