Skip to content
MCU Atlas

Raspberry Pico Pocket Gamer: handheld console with touch LCD

A pocket game console on the Raspberry Pi Pico with a 3.2in ILI9341 touchscreen and 14 built-in games.

Difficulty:IntermediateCost:Source available

Photos

Raspberry Pico Pocket Gamer: handheld console with touch LCD photo 1

Photos: GrgoMariani/Raspberry-Pico-Pocket-Gamer

Key Facts

  • Chip: RP2040
  • Display: 3.2in ILI9341 + XPT2046 touch
  • Input: 5 mechanical switches + touch
  • Games: 14 included

About This Project

This MagPi-featured project builds a handheld console around a Pico and a 3.2in ILI9341 display with resistive touch, plus five mechanical buttons. Fourteen games ship with it (Snake, Pong, 2048, Tetramino, Breakout and more). Optional Gerbers let you make a custom PCB. A neat showpiece of what a bare RP2040 can do for kids and beginners.

Source & Attribution

Source: GitHub
License: GPL-3.0
Last verified: 10/16/2026
Raspberry Pico Pocket Gamer: handheld console with touch LCD
How to Build It
A handheld game console built on a Raspberry Pi Pico with a 3.2in ILI9341 touchscreen and five mechanical keyswitches. It comes with 14 simple games, including Pong, Connect4, Tic-tac-toe and Lights Out, plus a calculator. Gerbers for a carrier PCB are included.

Parts Needed

  • Raspberry Pi Pico (RP2040)
  • 3.2in ILI9341 SPI LCD with XPT2046 touch
  • 5 mechanical keyboard switches (+ keycaps)
  • PCB from the repo's gerbers (optional) or perfboard and wires

Steps

  1. 1

    Wire the display

    Connect the LCD to the Pico pins listed in the README: CS 16, RESET 17, DC 18, SDI 7, SCK 6, SDO 4, LED 26 (or 3V3). Touch uses T_CLK 10, T_CS 21, T_DIN 11, T_DO 8 and T_IRQ 20.

  2. 2

    Wire the keys

    Connect the switches to pins 0 (Menu), 15 (Up), 27 (Down), 28 (Left) and 14 (Right), with the other side of each switch to GND. Or order the PCB from the gerbers in the extras folder.

  3. 3

    Build

    Set up the Pico SDK, then run mkdir build, cd build, cmake .., and make.

  4. 4

    Flash

    Hold BOOTSEL, plug in the Pico, and copy build/PocketGamer.uf2 onto it.

  5. 5

    Try it on PC (optional)

    The extras folder includes a PixelGameEngine version. Run make run there to play without the hardware.

Parts List (BOM)
Partial parts list
partial
PartQtyRoleEst. PriceBuy
1main board$4–$6View
1display$8–$15View
5buttons$3–$10View
Estimated Total$27–$71 USD

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

OpenMower: RTK GPS smart upgrade for cheap robot lawn mowers
Illustration
RASPBERRY PIPI-4Draft
Open-source upgrade that turns off-the-shelf robotic mowers into RTK GPS-accurate, map-based lawn robots.
Expert·$250+·Code
4 parts listed
PicoDVI: bit-banged DVI/HDMI video from a Raspberry Pi Pico
Illustration
RASPBERRY PI PICORP2040Draft
Generates DVI (HDMI) video signals from a bare RP2040 Pico using the PIO state machines – no video chip needed.
Advanced·Cost varies·Code
2 parts listed
Raspberry Pi Debug Probe: CMSIS-DAP for Pico and ARM
Illustration
RASPBERRY PI PICORP2040Draft
Official RP2040 firmware that turns a Pico (or the Debug Probe product) into a CMSIS-DAP SWD debugger.
Beginner·Under $15·Code
2 parts listed