Arduboy: write your first game for a credit-card console
A credit-card-sized game console you program like an Arduino — because it is one: ATmega32U4, 2.5KB of RAM, a 128×64 black-and-white screen, and hundreds of free community games with source code to learn from.

What it is
A credit-card-sized game console you program like an Arduino — because it is one: ATmega32U4, 2.5KB of RAM, a 128×64 black-and-white screen, and hundreds of free community games with source code to learn from.
What you need
- Arduboy FX-C (the buy path) the maker's current console — current price in the Parts list; no soldering
- Arduino Nano + 0.96in I2C OLED (the build path) the Hackster clone — soldering required; the guide rates it Advanced
- Or nothing at all Arduboy Cloud writes, compiles and runs your game in the browser before you own hardware
How hard
Beginner on the buy path — an Arduino sketch flashed over USB. The DIY Nano clone is an advanced soldering build (Hackster's own rating).
Key Facts
- Open-source handheld console the size of a credit card — published production schematics; every game in the community catalog is free with source
- ATmega32U4 @ 16MHz — the same chip as the Arduino Leonardo and Micro; 32KB flash, 2.5KB RAM, 1KB EEPROM
- 128×64 monochrome 1-bit OLED — every pixel on or off; six buttons (D-pad + A + B); piezo speaker
- Arduboy FX-C: USB-C, 16MB external flash with over 300 games pre-installed, 180mAh thin-film LiPo — the maker's estimate is "over 8 hours" of play
- Arduboy FX-C $79.00–$89.00 at the maker's store (checked 2026-11-27); the earlier FX and Mini are discontinued there — second-hand only
- The original core library is deprecated — start with Arduboy2 (BSD-licensed, current release 6.0.0)
- DIY clone path: Arduino Nano + I2C 128×64 OLED per the Hackster guide — soldering required, rated "Advanced" by the guide
About This Project
The Arduboy is an open-source handheld game console the size of a credit card, designed by Kevin Bates and crowdfunded on Kickstarter in 2015. Under the polycarbonate front it is an Arduino: an ATmega32U4 running at 16MHz — the same chip as the Arduino Leonardo and Micro — with 32KB of flash, 2.5KB of RAM and a 128×64 monochrome OLED. Six buttons, a piezo speaker, and a 5mm-thin slab of stamped aluminum on the back.
Everything about it is designed to be taken apart, in every sense: the schematics are published, the core library is open source, and every game in the community's catalog is free and shipped with its source code. For a first microcontroller project it is hard to beat the motivation loop — you write a game in the same Arduino C++ you'd use to blink an LED, flash it over USB, and play it on a real console in your pocket.
There are two ways in. Buy the official Arduboy FX-C with over 300 games pre-installed (the current price is in the Parts list below), or build the pocket-money clone: an Arduino Nano and a common I2C OLED, wired per Mirko Pavleski's Hackster guide, running many of the same community games. MCU Atlas is not affiliated with Arduboy or the Arduboy community.
What we verified, and what we didn't
We verified every spec and claim on this page against live sources on 2026-11-27, re-checked at publication: the maker's FX-C product page, both library repositories (reading the licence files and READMEs, not badges), the community site and its tutorial series, the Hackster clone guide, and the Recalbox wiki. What we did not do: build the console, build the clone, or run a single game on either. Every performance figure — battery life above all — is the maker's or the guide's own claim, attributed as such and never our measurement.
The gentlest way to write your own game for a microcontroller
Most "learn embedded" projects ask you to get excited about a sensor log. The Arduboy asks you to ship a game.
The pitch for a beginner is simple: an Arduboy game is an Arduino sketch. If you can write arduboy.drawPixel(x, y, WHITE) and if (arduboy.pressed(UP_BUTTON)), you can write a paddle game — and the community's four-part "Make Your Own Game" tutorial starts from installing the Arduino IDE and ends with reading button input, assuming nothing. You don't even need hardware to start: Arduboy Cloud compiles and runs your game in a browser with a live emulator, and the Ardens simulator exists for profiling and debugging once you get serious.
And when your game works, the console it runs on is real — pocketable, 5mm thin, with buttons that click. That's the whole trick: the feedback loop of a microcontroller (write, flash, see it happen) wrapped in the reward of a game you can hand to a friend.
What's actually inside
The constraint is the feature: 2.5KB of RAM is less than a single icon on a modern phone. A full 128×64 framebuffer costs 1KB of it. You cannot write an Arduboy game by allocating your way out of trouble — you learn what a framebuffer costs, what progmem is for, and why the best Arduboy games draw only what changed. That is real embedded thinking, earned making something fun.
Two specs keep their attributions: the FX-C listing specifies a 4-channel piezo speaker while the classic console is documented as a 2-channel piezo buzzer, and the maker's "over 8 hours" of play is their estimate, not our test. The published production schematics and the open-source core library are the reason clones exist at all.
Two build paths: buy the FX-C, or build the clone
Path 1 — buy the official console. The current official hardware is the Arduboy FX-C: USB-C, over 300 community games pre-installed on 16MB of external flash, and an included USB-C link cable for two-player games over I2C. It's programmable over the same USB-C cable you charge it with. Note for shoppers: the earlier Arduboy FX and Arduboy Mini are no longer listed in the maker's shop (both product pages are gone, re-checked 2026-11-27), so the FX-C is the one to buy new; second-hand FX units remain a fine option if you find one.
Path 2 — build the pocket-money clone. Mirko Pavleski's Hackster guide builds a working Arduboy clone from an Arduino Nano and the common I2C version of the 128×64 OLED — chosen because the I2C display is cheaper and easier to find than the original's SPI panel. Per the guide, it runs many original Arduboy games using a community fork of the Arduboy2 library adapted for I2C displays, powers from a single 3.7V lithium-ion cell, and if you have a 3D printer the guide links printable STLs for a case. Fair warning, honestly labelled: Hackster rates this build "Advanced" — there's soldering, and it's a breadboard-and-wire console, not a 5mm slab. The reward is a console you built yourself, for roughly the price of a pizza, that plays the same free games. (No dollar figure on the clone: parts prices move and the guide lists none — check current prices in the Parts list when you order.)
Why this fits MCU Atlas
It's a microcontroller project with a pulse: the ATmega32U4, the Arduino toolchain, the flash/RAM budgeting — all the muscles a good first MCU project should exercise — but the output is a game, which is why beginners finish this one. The constraint teaches: 2.5KB of RAM and a 1-bit screen make every byte and every pixel a decision, and the games prove how much fits anyway. The library is the lesson: every game in the community catalog is free and published with source, and reading a real game's code is the fastest way to level up — the community's education section holds the tutorials that get you there. And clones keep it honest: open schematics plus a documented Nano-and-OLED build mean nobody is locked out by price.
Getting started: Arduino IDE + Arduboy2
Install the Arduino IDE and add Arduboy board support per the community's Quick Start guide, then install the Arduboy2 library from Library Manager. One honesty note baked into the sources: the original Arduboy core library is no longer maintained — its own README tells new development to use Arduboy2, the community-maintained alternative (BSD-licensed, current release 6.0.0). Start with Arduboy2; the deprecation is not a red flag, it's the ecosystem working.
No hardware yet? Write your first game in Arduboy Cloud (browser editor, compiler and live emulator, flash to real hardware over Web Serial) or run community games in an emulator — Recalbox supports the Arduboy via the Libretro Arduous core, loading the same .hex files a real console runs. Work through "Make Your Own Game" parts 1–4 on the community site: setup, printing text, storing data and loops, then button input. Modify an existing game — the ArduBreakout example that ships with Arduboy2 is 755 lines as we counted it (2026-11-27), small enough to read in an evening.
Then ship it: flash over USB, play it on the console, and post it to the community or r/Arduboy, where the console's creator has shown up to answer questions. The full walkthrough is in the tutorial below.
Source & Attribution

Illustration
How to Build It
Parts Needed
- An Arduboy FX-C from the maker's store ($79.00–$89.00, checked 2026-11-27) — or nothing at all to start: Arduboy Cloud runs in the browser
- For the clone path: a classic Arduino Nano (ATmega328P) and a 0.96in 128×64 I2C OLED (SSD1306)
- A USB data cable — the FX-C's USB-C port charges and uploads over the same cable
- For the clone: a 3.7V lithium-ion cell with a proper charging board, breadboard and jumper wires, and a soldering kit (the guide rates this build Advanced)
Steps
- 1
Know what you're holding
The whole computer is one chip: an ATmega32U4 running at 16MHz — the same microcontroller as the Arduino Leonardo and Micro — with 32KB of flash, 2.5KB of RAM and a 128×64 one-bit OLED where every pixel is purely on or purely off. Six buttons (a four-switch D-pad plus two round action buttons), a piezo speaker, a single LED, and a 5mm-thin, credit-card-footprint sandwich of polycarbonate, PCB and stamped aluminum. The diagram shows the classic console's micro-USB port, which did both jobs: charge the battery and upload the game you just compiled. The current FX-C does the same two jobs over one USB-C port instead.

The Arduboy mapped: one ATmega32U4, a one-bit screen, six buttons, one piezo — everything a game needs. Diagram by MCU Atlas. - 2
Set up the Arduino IDE with Arduboy2
Install the Arduino IDE, add Arduboy board support through the Boards Manager, then install the Arduboy2 library from the Library Manager — the community's Quick Start guide walks both steps. One deprecation to know up front: the original Arduboy core library is no longer maintained, and its own README points new development to Arduboy2, the community-maintained alternative (BSD 3-clause licensed, current release 6.0.0). Start with Arduboy2 — that is the ecosystem working, not a red flag.
- 3
Write your first game — hardware optional
No console yet? Arduboy Cloud gives you a browser editor, compiler and live emulator, and flashes your finished game to real hardware over Web Serial. Work through the community's four-part Make Your Own Game tutorial: setting up your computer, printing text, storing data and loops, then button input. A good next move is modifying an existing game — ArduBreakout, the example that ships with Arduboy2, is 755 lines as we counted it (2026-11-27), an evening's read. Recalbox also runs Arduboy games via the Libretro Arduous core, loading the same .hex files a real console runs.
- 4
Flash it, play it, ship it — or build the clone
Compile and upload over USB, then play your game on a real pocket console. When it works, post it to the Arduboy community or r/Arduboy — the console's creator has shown up there to answer questions. Prefer the pocket-money route? Mirko Pavleski's Hackster guide builds a working clone from a classic Arduino Nano and the common I2C version of the 128×64 OLED, running many original games on a community fork of Arduboy2 adapted for I2C displays; it powers from a single 3.7V lithium-ion cell, and the guide links printable case files if you have a 3D printer. Fair warning, honestly labelled: the guide rates that build Advanced — there is soldering, and it is a breadboard-and-wire console, not a 5mm slab.
Bill of Materials
Parts list
4 parts · 2 linked
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
1× Arduboy FX-C
The maker's current console — $79.00–$89.00 at arduboy.com (checked 2026-11-27). USB-C, 300+ games pre-installed, link cable included.
1× Arduino Nano (classic, ATmega328P)
1× 3.7V lithium-ion cell + charging board
Not included: The 300+ community games — free, and pre-installed on the FX-C, Breadboard and jumper wires for the clone (the guide covers the wiring), A 3D printer and filament if you want the guide's printed case
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
- Source: Arduboy/Arduboy (core library, BSD)The original library repo — its README's deprecation notice points to Arduboy2.Docs
- Arduboy2 — the maintained libraryCommunity-maintained and BSD-licensed; current release 6.0.0. Start here.Docs
- Arduboy community: games + guidesThe game catalog ("Every Game by Community Members for Free"), tutorials and production schematics.Docs
- Make Your Own Game, parts 1–4From setting up your computer to button input — the community's beginner tutorial series.Docs
- Quick Start guideBoard support and library install in the Arduino IDE.Docs
- Clone build: Nano + I2C OLED (Hackster)Mirko Pavleski's Advanced-rated pocket-money clone.Docs
- Recalbox wiki: ArduboyConsole history and spec table; runs Arduboy games via the Libretro Arduous core.Docs
- r/ArduboyActive subreddit — the console's creator has shown up there to answer questions.Docs
Related Projects




