Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

Screen shot 2013-01-14 at 8.08.15 AM

It’s the project the Arduino Esplora seemingly was designed to create: a handheld video game. Mike Barela added a 1.8″ display from Adafruit, and adapted the code created by another maker named R0D0T.

I was looking for a game that was more than the basics to show off the Esplora + Display combo. I found R0D0T’s code and with accelerometer, music, and display, it was a great match. As I use the Arduino IDE, I merged the code, changed the display library to Adafruit’s, and recreated a couple library routines that R0D0T had used but had no Adafruit equivalent. Then I had to map the buttons (which required Esplora library calls), and the accelerometer (which I originally used hardware but changed over to library calls). I mapped the SPI interface to the display and it worked! Some small tweeks to color and alignment but it is basically still R0D0T’s original (a tribute to his ninja-coding).

John Baichtal

My interests include writing, electronics, RPGs, scifi, hackers & hackerspaces, 3D printing, building sets & toys. @johnbaichtal nerdage.net


Related

Comments

  1. Remote control for robots would be my other suggested use for this.

    1. Mike says:

      Andy, that was my last Esplora project – I used an Esplora connected to an XBee and battery as a wireless controller to an Arduino Uno connected to a receiver XBee and a motorshield to control a robotic head. See http://21stdigitalhome.blogspot.com/2013/01/wireless-arduino-esplora-controls.html for the details.

  2. Mike says:

    John, thanks for the article. I have been working on Esplora projects since Radio Shack started selling them after Christmas. First it was engineering the undocumented display header. I added an XBee via that, then figured out the pinout was compatible with the Adafruit display without mods. Then I used the wireless Esplora to control a robotic head. Then I looked for a compatible game and this is where R0d0t’s previous work with such a cool game made it a great candidate to port. The series of articles is on the same blog http://21stdigitalhome.blogspot.com/.

  3. [...] the article Arduino Esplora Video Game, John Gugliotti [...]