Bare pcb only for DIY assembly no components.
Motherboard & Front panel
Pi Zero + Zero extra chips. Fully transparent, fully yours.
Assembled device you can order in my TINDIE STORE https://www.tindie.com/products/bobricius/zepir-raspberry-pi-zero-mini-computer-handheld/
ZEPIR is a minimal HAT that turns a Raspberry Pi Zero (or Zero 2 W) into a complete pocket Linux computer, with a real keyboard, display and speaker. No proprietary chips, no black boxes. The Pi talks to everything directly, and standard Linux kernel drivers do the rest. A good open foundation for handhelds, cyberdecks and pocket terminals.
⚠️ This is not plug & play. You need basic Linux experience. The good news: the setup is a ready-made pack of config files that you copy to the SD card once. If you enjoy tinkering, you'll love it. When in doubt, just ask!
gpio-matrix-keypad driver handles debounce and key repeat, and the keyboard appears as a normal Linux keyboard. It works in the console, X, Wayland and any evdev program. Idle CPU use is about 0.4 %.panel-mipi-dbi driver. You get a real DRM/KMS device (/dev/dri/card0, 320×240), so LVGL, SDL2 kmsdrm and Wayland work. Setup is a few lines in config.txt plus a small init file.setkeycodes or a udev hwdb entry, without rebuilding anything.Assembled version - Main PCB with soldered 40-pin female header - All buttons and the 2.8" SPI display pre-soldered - Front panel PCB cover, Black or White - Fully assembled and tested
Bare PCB version - Bare PCB, front panel and main board, no components
> Raspberry Pi is NOT included (optional add-on at checkout)
| Feature | Detail |
|---|---|
| Display | 2.8" IPS 320×240, ST7789, SPI (flex cable version, or a generic 8-pin module) |
| Keyboard | 7×10 GPIO matrix, 70 keys, no diodes, scanned by the kernel |
| Audio | 1-bit PWM mono amplifier + 4020 speaker |
| USB-A | Optional. Needs 2 wires soldered to the D+/D− test points |
| Power | Separate power module with a power button, designed for power bank use |
| Battery | Optional 18650 holder (Pi 4 and 5 need a GPIO extension) |
| Serial port | Not available. TXD and RXD are used for display backlight and reset. Use SSH |
Compatible boards
Jumpers are two bare pads that you bridge with a blob of solder. They have no numbers on the PCB, only a short text note beside each.
| Component | Qty | Notes |
|---|---|---|
| ZEPIR main PCB (this product) | 1 | Display, buttons and header pre-soldered on the assembled version |
| Raspberry Pi Zero 2 W | 1 | Recommended. Optional add-on at checkout |
| MicroSD card (8 GB+) | 1 | For Raspberry Pi OS |
| 18650 Li-ion cell | 1 | Optional, for battery operation |
| DTS63K tactile switch | 71 | 7 mm height, 1 N. Or any comparable 1 N switch |
| MH-CD42 charge/boost module + USB-C | 1 | Optional (AliExpress) |
| 2A charge/boost module with USB-C (no USB-A soldering) | 1 | Optional (AliExpress) |
| 2.8" IPS SPI ST7789 18-pin display (HP28010-D) | 1 | (AliExpress) |
| USB-A connector (GCT USB3130-30-A) | 1 | Optional, solder to the D+/D− test points |
| BSS123 | 1 | Transistor, display backlight control |
| 10R 0603 or 0805 | 1 | Resistor, display backlight circuit |
| 4.7kΩ | 1 | Resistor, display backlight bias |
| 10kΩ | 1 | Resistor, display reset circuit |
| APX803L20-28SA-7 | 1 | Supervisor, 2.8 V, 220 ms reset generator |
| BSS123 | 1 | Transistor, speaker amplifier |
| BSS84 | 1 | Transistor, speaker amplifier |
| ZL262-40DG | 1 | 2×20 pin female socket |
| 4020 speaker | 1 | 1 W 8 Ω, 40×20 mm (AliExpress) |
The bare PCB version needs the 40-pin header and a few passives soldered. Component values are printed on the PCB.
The datasheet ZIP contains the setup pack (config.txt, cmdline.txt, user-data, network-config, the overlays folder and the display init file) plus an illustrated infographic that explains the display, keyboard, pinout and setup.
> ⚠️ Copy the setup files BEFORE the first power-on. First-boot configuration (cloud-init) runs only once. If the Pi boots even once without the files, it is not applied. You then need to reflash the card or follow the manual route below.
Write Raspberry Pi OS (64-bit) to the card with Raspberry Pi Imager. Tested with: [add tested OS release]. Do not eject the card yet.
Open the small boot drive (bootfs) and copy in, overwriting the originals:
config.txt, cmdline.txt, user-data, network-config.dtbo files into the overlays folderzepir folder containing zepir-st7789.bin (the display init sequence)In network-config enter your Wi-Fi name and password. In user-data change the default password.
Enable exactly one overlay in config.txt:
dtoverlay=zepir-keyboard-classic
#dtoverlay=zepir-keyboard-flip
Insert the card and power on. The Pi configures itself and reboots once. It sets the hostname (zepir), user, SSH and Wi-Fi, console autologin, the headphone-jack audio output (the PWM speaker), the Terminus 6x12 console font, and installs the display init file. Afterwards the console appears on the display.
The key display lines in config.txt:
dtoverlay=mipi-dbi-spi,spi0-0,speed=96000000,cpol,cpha,write-only
dtparam=compatible=zepir-st7789\0panel-mipi-dbi-spi
dtparam=width=320,height=240,width-mm=57,height-mm=43
dtparam=dc-gpio=25
dtoverlay=pwm
And in cmdline.txt: fbcon=map:10 snd_bcm2835.enable_headphones=1
ls /dev/dri # shows card0
evtest # lists zepir_keyboard, press some keys
aplay -l # lists a headphones device
espeak-ng "Hello from ZEPIR"
Connect via SSH, then run sudo raspi-config and: expand the filesystem, enable console autologin (boot to terminal), set audio output to the headphone jack, then finish. Set the console font with:
sudo dpkg-reconfigure console-setup
Choose UTF-8 → Guess optimal → Terminus → 6×12. Then apply the config.txt, cmdline.txt and overlay files from the pack by hand.
dtoverlay=zepir-keyboard-classic,debounce=20 (default is 10 ms).,norepeat to the overlay line.dtoverlay=audremap. It takes GPIO12 and 13, which are keyboard lines.sudo apt update
sudo apt install mc w3m w3m-img mpg123 espeak-ng fbi fim mikmod ranger nnn btop ncdu cmus cmatrix sl cowsay fortune
ZEPIR runs full Raspberry Pi OS. It is a real Linux computer, not a toy terminal.
w3m (with image support)mpg123), MOD tracker (mikmod)fbi / fimqwen3:1.7b
DOWNLOAD