Skip to the content
2 layers153.7 × 94.2 mmHandheld Gaming Device, the printed circuit board in 3D

Custom built PIC24-based, handheld, programmable, game console with a 128x128 OLED, dual analog joysticks, and four built-in games (Pong, Ackanoid, 2.5D Maze raycaster, Dinosaur Runner). Firmware in C, hardware in KiCad.

Size
153.7 × 94.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
40
Pads
104
Tracks, vias
214, 18
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
29 May 2026
Updated
29 May 2026

Overview

Handheld Gaming Device is an open-source printed circuit board by DonovanBrenny, from the DonovanBrenny/Handheld_Gaming_Device repository on GitHub, published under the MIT licence. It is a 2-layer board of 153.7 × 94.2 mm with 25 parts on 40 nets, routed with 214 tracks and 18 vias.

It is built around the PIC24FJ64GA002-I/SP. Its parts include 8 capacitors, 6 connectors, 5 resistors, 2 switches and 1 IC. It belongs with the keyboards and input and retro computing and games boards and the PIC boards of this library.

Main components

1

README

README.md

Handheld Gaming Device

A PIC24FJ64GA002 handheld game console with a 128x128 OLED, dual analog joysticks, and four built-in games. Firmware in C, hardware in KiCad.

Games

  • Pong - two-player, first to 5
  • Ackanoid - brick breaker, 3 levels, 3 lives
  • Maze - 2.5D raycaster on a randomly generated maze
  • Dinosaur Runner - endless side-scroller, jump with the blue button

Controls

  • Joysticks - menu navigation and in-game movement
  • Blue button - select / jump
  • Red button - back
  • Joystick click + Red (held) - exit a game to the main menu

Build

MPLAB X IDE + XC16 compiler. Open the .X folder as a project, build, and flash with a PICkit (or equivalent) via the ICSP header.

Hardware

KiCad schematic and PCB live in hardware/. Built around a PIC24FJ64GA002 (28-pin DIP), an SH1107-class 128x128 OLED on SPI1, two analog joysticks, two pushbuttons, and an NPN-driven piezo speaker. Pin assignments are in Setup.c.

Parts

25
QtyValueFootprintReferences
3100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC2, C3, C7
310uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C6, C8
210Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R3
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4, R5
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
110kPotentiometer_THT:Potentiometer_Bourns_3386P_VerticalRV1
110nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC4
11uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC5
12N2219Package_TO_SOT_THT:TO-39-3Q1
1Blue ButtonButton_Switch_THT:SW_PUSH_6mmSW2
1Left JoystickConnector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ3
1OLEDConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ4
1PIC24FJ64GA002-I/SPPackage_DIP:DIP-28_W7.62mmU1
1Red ButtonButton_Switch_THT:SW_PUSH_6mmSW1
1Right JoystickConnector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ2
1SNAP ProgrammerConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ1
1SpeakerConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalLS1
1USB inputConnector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ5
1Voltage RegulatorPackage_TO_SOT_THT:TO-220-3_VerticalJ6

Similar boards

  • 2 layers64.8 × 74.9 mmGPS MINPOINT, the printed circuit board in 3D

    GPS MINPOINT

    cecilsmith/GPS-MINPOINT

    This is the project folder for a Spring 2024 EE2361 Final Project.

    20 parts
  • 2 layers159.5 × 30 mmType f, the printed circuit board in 3D

    Type f

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    25 parts3kApache-2.0
  • 2 layers113.5 × 95.1 mmSweep high, the printed circuit board in 3D

    Sweep high

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    25 parts2.1k
  • 2 layers58.4 × 114.3 mmPicoPedal, the printed circuit board in 3D

    PicoPedal

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    25 parts915
  • 2 layers54 × 15 mmXyp gpib, the printed circuit board in 3D

    Xyp gpib

    xyphro/UsbGpib

    Versatile, cheap and portable USB to GPIB converter (USBTMC class based)

    25 parts690MIT
  • 2 layers50 × 76 mmVoron 0, the printed circuit board in 3D

    Voron 0

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    25 parts397Apache-2.0
  • 2 layers237.5 × 102.9 mmStorage, the printed circuit board in 3D

    Storage

    jes/scamp-cpu

    A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.

    25 parts301Unlicense

Questions

How big is the Handheld Gaming Device PCB?

It measures 153.7 × 94.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Handheld Gaming Device use?

25 parts, built around the PIC24FJ64GA002-I/SP. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Handheld Gaming Device KiCad files?

From the DonovanBrenny/Handheld_Gaming_Device repository on GitHub, at the commit this page was made from: the board is hardware/Handheld-Gaming-Device.kicad_pcb and its schematic hardware/Handheld-Gaming-Device.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Handheld Gaming Device design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).