Tuesday, May 28, 2019

Playing Arduboy Games on Arcada

The Arduboy is an adorable & super thin gaming board that features an Arduino-compatible ATmega32u4, 128x64 monochrome OLED screen, buzzer, and 6 buttons.  It's an amazing platform for writing small games, within the limits of the 8-bit microcontroller it uses!

Since Arcada boards, like the PyGamer and PyBadge's are also Arduino compatible, its easy to compile any Arduboy games for these boards. The PyGamer/PyBadge have much faster processors with more memory and a larger screen, but we will not be 'emulating' the Arduboy games - we really will just re-compile them.

Since it has a higher resolution screen, we'll mimic the OLED by having the 128x64 display in the center of the TFT with white LEDs on black. The buttons work the same, and the buzzer will be replicated by the built-in buzzer or speaker/headphones. For the EEPROM emulation, we create a 1KB file on the Flash storage built into Arcada boards. And that's it!

The chip on the Arduboy (ATmega32u4) and Arcada boards are totally incompatible so we cannot use the 'bootloader' distribution system for Arduboy. Each game must be compiled a-new. However, once it is compiled, you can share the UF2 for your particular board

We use the Arcada Arduino library to interface with the hardware, and can run on:

No comments:

Post a Comment