
Mintypcb
SophBG/pi-tin-mod
Personal build of jackw01's Pi Tin (3D-printed clamshell version, KiCad 10). It adds 10 RGB LEDs under the buttons, a centred speaker, a USB-drive mode for the ROMs, and ESD protection on USB, and runs on an Orange Pi…

Personal build of jackw01's Pi Tin (3D-printed clamshell version, KiCad 10). It adds 10 RGB LEDs under the buttons, a centred speaker, a USB-drive mode for the ROMs, and ESD protection on USB, and runs on an Orange Pi…
Displaypcb is an open-source printed circuit board by SophBG, from the SophBG/pi-tin-mod repository on GitHub. It is a 2-layer board of 39 × 46 mm with 34 parts on 47 nets, routed with 153 tracks and 29 vias.
It is built around the APX803-31SAG, CL21B106KPQNNNE and AFC07-S50ECA-00, with the CJ3134KW and FPC09-Q1.0-8AH2.0 among its other parts. Its parts include 5 resistors, 2 connectors, 1 capacitor, 1 IC and 1 transistor.
Personal build of jackw01's Pi Tin (3D-printed clamshell version, KiCad 10). It adds 10 RGB LEDs under the buttons, a centred speaker, a USB-drive mode for the ROMs, and ESD protection on USB, and runs on an Orange Pi Zero 2W. The upstream build guides still apply. License: CERN-OHL-W v2.
| Main | Display | |
|---|---|---|
| Size | 89.15 × 55.65 mm | 39.15 × 46.15 mm |
| Thickness | 1.0 mm | 0.6 mm |
| Layers, copper | 2, 1 oz | 2, 1 oz |
| Min. track / hole / via | 0.2 / 0.3 / 0.6 mm | 0.2 / 0.3 / 0.6 mm |
Gerbers for both boards are in fab/.
| Function | Parts | Notes |
|---|---|---|
| RGB LEDs | D1–D10 (WS2812B-2020) | Chain: D1 → D10. D1–D4 ABXY, D5 Start, D6 Select, D7–D10 D-pad. |
| LED driver | U106 74AHCT1G125, R130 330 Ω | Input: SPI MOSI. Enabled only by the second SPI chip select on header pin 21, so the display (first chip select) never reaches the LEDs. |
| R131 10 k, R132 100 k | R131: buffer off at boot. R132: data line low. | |
| USB detect | R133/R134 100 k | VBUS divider to header pin 8 |
| USB-drive mode | U107 USBLC6-2SC6, TP132 (D+), TP133 (D−) | Wire TP132/TP133 by hand to the Orange Pi's USB D+/D− (see Hardware notes). Optional. |
| Backlight PWM | Header pins 16 and 18 swapped | Backlight on pin 16, UP on pin 18 (upstream: the other way round). Pin 16 is a hardware PWM on the Orange Pi. |
Footprints for both suppliers:
Not fitted: C107, C110, C111, D103, FB103, FB104, R103, R109, R118, R125 (main board); J101 (display board).
LEDs from LCSC: XINGLIGHT XL-2020RGBC-WS2812B. Check its pin-1 mark before soldering.
2.8" ILI9341, 240 × 320, 50-pin 0.5 mm FPC, with 4-wire resistive touch. The touch is not used, but it gives the 4.0 mm thickness the case expects and protects the screen.
| Space | |
|---|---|
| Outline | 15 × 11 mm |
| Height | 3.4 mm, from the PCB to the faceplate ledge |
| Pads (LS101) | 2.5 × 1.7 mm, centres 9.85 mm apart across the width, about 1 mm from the short end away from the D-pad |
3d/faceplate/faceplate_v3_with_led_pockets.stl. It is v3.stl with the LED pockets and collars merged, plus:
faceplate_thickening.stl). That leaves 1.9 mm above the main board and 2.9 mm above the Orange Pi. The USB-C sits on the back, but its four shell legs come through: trim them flush on the front if they stick out more than 1.5 mm. Left as they were: the button rings, the LED pockets and light tunnels (with 0.5 mm around them), the Start/Select and side buttons, and the speaker.faceplate_pocket_fill.stl fills them, so each pocket is exactly the cutter's shape, like the D-pad ones.faceplate_led_cuts.scad with the five STLs in the same folder..scad), all with the Exact solver.3d/case/p101_lower_case_fixed.STL.software/orange_pi/ sets everything up on Armbian (Debian, "current" kernel). The sound and backlight drivers are Armbian kernel patches, so mainline kernels won't work. Do the Armbian first-boot setup over SSH, then:
cd software/orange_pi
sudo ./install.sh # ROM_SIZE=16G sudo ./install.sh for a bigger ROM drive
sudo reboot
sudo ./check.sh --test # status, then backlight, LEDs, sound and buttonsWhat it sets up:
pitin-opi-zero2w.dts:
mi0283qt driver on SPI1 CS0 at 50 MHz, rotation = <90> (use 270 if the picture is upside down);/sys/class/backlight/pitin-backlight;install.sh builds it from source.~/roms.img) mounted on ~/roms, with a folder per console. Plugged into a computer, it shows up there as a USB drive (pitin-usbd); a charger changes nothing.amixer sset Master 60%.pitin-daemon: screen brightness, volume, the LEDs and a settings page (pitin-web.html). Settings are kept across reboots.
http://<name>.local on most phones and computers (avahi-daemon), http://<name> on Windows (the daemon answers LLMNR) and on routers that know the names, or http://<ip>. Port 80, so no port in the address (8080 if 80 is taken; WEB_PORT= in /etc/default/pitin). The page shows the addresses that work from the device it is open on.sudo rm /var/lib/pitin/sessions.json over SSH.savestate_auto_save), and it is loaded again when the game starts.overlay/). While it is open, the buttons do the same without SPECIAL (volume, brightness, LEDs, save, slot…); SELECT closes it.overlay/make_card.py and run it, or edit the PNGs (320 × 240, transparent around the card) in any image editor; then run install.sh again.LANGUAGE= in /etc/default/pitin (en or fr; empty = the system's language), then run install.sh again for the card.Hotkeys (hold SPECIAL):
| SPECIAL + | Action |
|---|---|
| X | RetroArch menu |
| L1 (hold 1 s) / R1 | Load / save state |
| LEFT / RIGHT | Previous / next save slot |
| UP / DOWN | Volume up / down |
| B (hold 1 s) | Reset |
| START (hold 1 s) | Quit the game (it is saved) |
| L2 / R2 | Screen brightness down / up |
| Y | LEDs on / off (they come back with the same effect) |
| A | Next LED effect |
| SELECT | List of hotkeys on the screen |
Pins that change role:
| Pin | Pi Tin use | On the Orange Pi |
|---|---|---|
| 5 | SHUTDOWN_PS: power-off output | PI7: gpio-poweroff, active low |
| 8 / 10 | USB_PWR (USB detect) / RIGHT | PH0 / PH1: the UART0 debug console, disabled by the overlay. U-Boot still uses it, so don't hold RIGHT while booting. |
| 12 / 35 / 40 | I2S BCLK / LRCLK / DATA | PI1 / PI2 / PI3 (I2S0) |
| 16 | Backlight PWM (RS/BL on the display board) | PI14: PWM4 |
| 18 | UP | PH4: plain input |
| 21 | LED_CS: gates the LED buffer | PH8 as a GPIO chip select (cs-gpios) |
| 26 | SHUTDOWN_PI: power button | PH9, which is also SPI1 CS1: used as a plain input |
Not tested on hardware. Sound is the least certain part: it relies on the AHUB driver and on overlay settings reported working on this board on the DietPi forum. check.sh shows which part failed. install.sh stops if the overlay doesn't apply to the board's device tree.
Hardware notes:
| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | TestPoint_Small | Custom:TestPoint_Pad_D1.5mm | TP101, TP102, TP103, TP104, TP105, TP106, TP107, TP108, TP109, TP110, TP111, TP112, TP113, TP114 |
| 5 | SolderJumper_2_Bridged | Custom:R_0402_1005Metric_bridged | JP101, JP103, JP104, JP105, JP106 |
| 4 | 10 | Resistor_SMD:R_0603_1608Metric | R101, R102, R103, R105 |
| 2 | SolderJumper_2_Open | Resistor_SMD:R_0402_1005Metric | JP102, JP107 |
| 1 | 10k | Resistor_SMD:R_0603_1608Metric | R104 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric | C101 |
| 1 | AFC07-S50ECA-00 | Custom:Jushuo_AFC07-S50ECA-00 | J103 |
| 1 | APX803-31SAG | Package_TO_SOT_SMD:SOT-23 | U101 |
| 1 | CJ3134KW | Package_TO_SOT_SMD:SOT-323_SC-70 | Q101 |
| 1 | Display | Custom:TFT_2.8in_ILI9341 | N101 |
| 1 | FPC09-Q1.0-8AH2.0 | pitin_extra:FPC_1x08_P1.00mm_XYECONN_FPC09-Q1.0-8AH2.0_or_Molex_200528-0080 | J102 |
The 32 most common of 34 parts.

SophBG/pi-tin-mod
Personal build of jackw01's Pi Tin (3D-printed clamshell version, KiCad 10). It adds 10 RGB LEDs under the buttons, a centred speaker, a USB-drive mode for the ROMs, and ESD protection on USB, and runs on an Orange Pi…

jackw01/pi-tin
Open source raspberry pi handheld retro gaming console

roman-koshchei/5ghz_wifibroadcast_hat
5GHz WiFibroadcast HAT for FPV video transmission, long-range comms, WFB-NG, network analysis and Monitor Mode

MostlyBuilds/speaker-pod-pcb
This is a PCB design for an ESP32-based speaker controller

ashfaque-ur-rahman/TI_MSPM0-PCB-Design
Texas Instruments MSPM0 microcontroller PCB design — KiCad 2-layer board based on Phil's Lab tutorial


EthanGreenhouse/rng-pcb
NE555 + CD4017 random number generator. 41-component SMD board, no microcontroller.

jrseti/Dish
Simple controller with toggle switches to move the dish motors

jrseti/roboclaw-cm4-dc-dish-controller
Satellite dish controller using a ROBOCLAW-2X15A-OEM controlled by a Raspberry Pi CM4 module. Powered by DC battery.
It measures 39 × 46 mm and has 2 copper layers, 0.6 mm thick.
34 parts, built around the APX803-31SAG, CL21B106KPQNNNE, AFC07-S50ECA-00 and CJ3134KW. 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.
From the SophBG/pi-tin-mod repository on GitHub, at the commit this page was made from: the board is kicad/pcb_display_r2a/displaypcb.kicad_pcb and its schematic kicad/pcb_display_r2a/displaypcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask SophBG before reusing the design.