Add the D-pad and buttons
Six buttons to ground, read with the chip's own pull-ups: see every press on the screen and in the serial monitor.
Open it in the simulatorWire a color screen, buttons and sound to an ESP32-C3, one working step at a time, and finish with three games you can play.
0 of 7 done
7 lessons in 3 chapters, about 6 hours on a simulated ESP32-C3-DevKitM-1. Free, in your browser, every step checked by the simulator.
Six buttons to ground, read with the chip's own pull-ups: see every press on the screen and in the serial monitor.
Open it in the simulatorRead, update, draw, wait: a catch game at a steady forty frames a second, and how a loop keeps its own beat.
Open it in the simulatorThree real games, music, a pause button and a battery gauge: everything from the path in one handheld you can play.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Wire the panel and the pad, and see every press on the glass.
Wire a 2.4 inch color TFT to an ESP32-C3 on four wires, wake it up, and paint your first title and color bars.
0 of 4 steps
Six buttons to ground, read with the chip's own pull-ups: see every press on the screen and in the serial monitor.
0 of 4 steps
Draw a sprite, move it, and run a steady game loop.
Turn a little text picture into pixel art, then walk it around the screen by erasing only the strip it leaves behind.
0 of 4 steps
Read, update, draw, wait: a catch game at a steady forty frames a second, and how a loop keeps its own beat.
0 of 4 steps
Add music, a menu and a battery gauge, then play three games.
A piezo on one pin plays a looping tune from tone(), and a jump sound on A cuts in without ever stopping the loop.
0 of 4 steps
Add Start and Select, then a menu that opens a game and always finds its way back: the screens every console is made of.
0 of 4 steps
Three real games, music, a pause button and a battery gauge: everything from the path in one handheld you can play.
0 of 4 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Build a handheld game console is part of the maker track, a ladder of courses from zero to expert.
Make a role playing game for a handheld you wire yourself: a tile map, a hero, dialogue, turn based battles, saves, music and a quest.
Open the next courseFollow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.
See every course on the trackEvery lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
An ESP32-C3, a color screen, a D-pad, a piezo, two menu buttons and a battery.
Open the kitPick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 7 lessons of Build a handheld game console are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated ESP32-C3-DevKitM-1 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 6 hours: 7 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Add the D-pad and buttons, Write a game loop and The finished console.
With "Light up the screen", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.