PewPew: the handheld you reprogram like a text file
A family of open-hardware CircuitPython handhelds: 8×8 display, six buttons, games you edit as text files on the USB drive — your first game is twenty lines.

What it is
An open-hardware game handheld you program in CircuitPython: it shows up as a USB drive, and editing code.py changes the game the moment you save. Tiny 8×8 display, six buttons, Python in your pocket.
What you need
- A PewPew 10.2 Standalone the classic SAMD21 + 8×8 red matrix — current price and stock state in the Parts list
- Two AAA cells the 10.2 requires them — it can't run from USB power alone
- Or nothing at all pewmulator runs the same 'pew' library as desktop Python — code along before you buy
How hard
Beginner — the whole point. No toolchain, no flashing ritual: the device runs code.py from its USB drive on every save.
Key Facts
- Family of open-hardware handhelds running since 2017 — every current device uses the same 'pew' library (init, brightness, show, keys, tick, Pix); the desktop pewmulator runs it as regular Python, no hardware needed
- PewPew 10.2 Standalone: SAMD21, 8×8 red LED matrix, six buttons, no sound, 2×AAA required (can't run from USB) — $9.99 at Tindie (in stock at our 2026-11-28 check); R168.00 at Micro Robotics, South Africa (in stock both branches)
- PewPew M4: SAMD51 Cortex-M4, 160×128 color TFT, seven buttons, piezo buzzer, AAA optional — $25.00 at Makerfabs, out of stock at our 2026-11-28 check
- PewPew Lite FeatherWing: no MCU of its own — hosts on any Adafruit Feather, 8×8 four-color matrix via Holtek HT16K33, optional 3.7 V 100 mAh LiPo; the maker's Tindie store is 'On A Break'
- PewPew LCD v2.0: SAMD21, monochrome surplus display — OSHWA-certified (CH000013, 2022); Hackaday put those displays 'for as little as $1.30 a piece' (2022)
- No RP2040 variant exists — standalone PewPews run SAMD21 or SAMD51 (the Pico-based 'PicoPew' is third-party)
- Every repo LICENSE file says CC BY-SA 4.0 (hardware, software, docs); the OSHWA certificate lists the software as 'Apache' — the LICENSE files are what applies
About This Project
Plug it into USB and it shows up as a drive. Open code.py, change one number, save — and the game in your hands changes before the file dialog closes. That's PewPew's entire idea: started by Radomir Dopieralski ("deshipu") in 2017, built to make your first steps in Python feel like play. Where an ESPboy or an Arduboy gives you a platform to grow into, PewPew starts simpler on purpose: tiny screen, six buttons, Python on a USB drive.
What it is
The maker's docs describe it plainly: "a family of handheld devices that make learning to write simple games with Python easy, and also let you tinker with electronics. They all have a small 8×8 display and six buttons, and they all use the same 'pew' library for accessing them". No installer, no flashing ritual: edit the Python files on the USB drive, and the device runs code.py on startup and every reset. The whole library is six things — init, brightness, show, keys, tick, and the Pix drawing surface — small enough to hold in your head on day one.
One spec to set straight, because listings garble it: standalone PewPews run Atmel SAMD21 or SAMD51 microcontrollers — there is no RP2040 variant (a Pico-based "PicoPew" is a third-party build mentioned in a maker log). And the cheapest family member, the PewPew Lite, is a FeatherWing with no MCU of its own — it borrows the brain of whatever Adafruit Feather hosts it.
The PewPew family
Four devices, one library, all open hardware. PewPew 10.2 (Standalone) is the classic: a SAMD21, an 8×8 red LED matrix, six buttons and no sound, running from two AAA cells — which are required, because it can't run from USB power alone. PewPew M4 steps up to a SAMD51 Cortex-M4, a 160×128 color TFT, seven buttons and a piezo buzzer, with the AAA cells optional. PewPew Lite FeatherWing is the cheapest and the odd one: a FeatherWing with no microcontroller of its own — it borrows the brain of whatever Adafruit Feather hosts it and drives an 8×8 four-color matrix through a Holtek HT16K33 chip, with an optional 3.7 V 100 mAh LiPo. And PewPew LCD v2.0 — the OSHWA-certified generation — puts a SAMD21 behind a monochrome surplus Nokia-class display; it has no retail channel and lives in workshops and self-builds. What each one costs today, and whether it is in stock, is in the facts and the Parts list below.
Why it's on the Library
Our four gates, honestly. MCU-centered — SAMD21 and SAMD51 are the on-board brains, and everything you write runs on them in Python — the toolchain is a text editor. Buildable — CC BY-SA 4.0 schematics, gerbers and BOMs are in the repos, and the family sells assembled (see the Parts list) — build, buy, or both. Documented — Read the Docs covers every current device, and the LCD generation adds 27 hackaday.io build logs and a Hackaday feature. Delightful — The 8×8-first design is the point: your first game is twenty lines, and "I could make that" is true on day one.
Your first game in five minutes
Connect over USB, open the drive, create code.py, and paste the maker's first program — a bouncing pixel, straight from the Bouncing Ball tutorial. The full snippet is in the walkthrough below, downloadable as a plain file, byte-identical to the maker's tutorial.
Save and the pixel bounces. Change dx to 2, save again, watch — that edit-save-see loop is the whole curriculum. Rename the file when done and the device falls back to main.py, its game menu; firmware comes as UF2s from circuitpython.org's board pages. The tutorial then adds buttons, backgrounds and a bigger ball in the same file.
The classroom angle
This is where PewPew wins. The same pew library runs on a desktop as pewmulator, a regular Python emulator, so students without hardware can code along. Hackaday, covering the LCD generation, called it "a strong platform for workshops and individual learning" and noted the surplus Nokia-class displays that keep the LCD generation cheap. The docs also carry recipes for LEDs, potentiometers, sensors, strips, piezos and accelerometers on the 10.2's expansion connector.
Where to start
Start at the docs: pewpew.readthedocs.io covers every current device, the tutorials, and the library reference, in English and German. The source and the hardware files live in the pypewpew GitHub organization, which also holds the ready-made games — snake, tetris, sokoban, breakout, pong and more. Firmware comes as UF2 files from circuitpython.org's board pages. On the press side, Hackaday's 2022 feature on the LCD generation and the hackaday.io project log are the trail, and the OSHWA certificate (CH000013, 2022) covers the LCD hardware. Every link is below.
Honesty split: prices, stock states and the tutorial snippet are our own checks (live fetches of the maker's pages and tutorial source, 2026-11-28; the snippet is byte-identical and parses as Python 3.14). All other figures and quotes are the maker's or the press's own, cited. Maintenance is quiet, not dead: the main repo's last push was November 2024, but the org shipped a new game in October 2025 and pushed other repos into 2026. And on licensing: every repo LICENSE file we checked says CC BY-SA 4.0 for hardware, software and docs; the OSHWA certificate lists the software as "Apache" — the LICENSE files are what applies.
MCU Atlas is not affiliated with PewPew or Radomir Dopieralski; this is independent maker coverage.
Source & Attribution

Illustration
How to Build It
Parts Needed
- A PewPew — the 10.2 Standalone, the M4, or any family member (current prices and stock states in the Parts list)
- Two AAA cells for the 10.2 — required, it can't run from USB power alone
- A USB data cable
- A text editor — anything that saves plain text
- Or nothing at all: pewmulator runs the same 'pew' library as desktop Python
Steps
- 1
Connect over USB
Plug the PewPew in. It shows up as a small USB drive with all the source files on it — no installer, no flashing ritual for code. If the drive is empty or you need to re-load firmware, UF2 files come from circuitpython.org's board pages (the pewpew10 page covers the 10.x family).
- 2
Create code.py
Open the USB drive and create a file named code.py. The device runs this file on startup and on every reset — it is the program. Rename it when you want the device back on main.py, its game menu.
- 3
Paste the maker's first program
Copy the Bouncing Ball snippet from https://mcuatlas.com/firmware/pewpew-circuitpython-game-handheld/bouncing-ball.py and paste it into code.py. It is twenty lines — import pew, a Pix screen, and a loop that moves one pixel — and it is byte-identical to the maker's own tutorial, which parses as regular Python.
- 4
Save, then change one number
Save the file and the pixel starts bouncing — the device restarts and runs the new code on every save. Change dx to 2 and save again to watch it speed sideways; that edit-save-see loop is the whole curriculum. The maker's tutorial then adds buttons, backgrounds and a bigger ball in the same file, and the pypewpew org has finished games — snake, tetris, sokoban, breakout, pong — to read and modify.
Bill of Materials
Parts list
5 parts · 2 linked
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
1× PewPew 10.2 Standalone (Makerfabs-built)
$9.99 at Tindie (Makerfabs, authorized by the designer — in stock at our 2026-11-28 check); R168.00 at Micro Robotics, South Africa (in stock at both branches, 2026-11-28; ZAR, never converted).
1× PewPew M4 (Makerfabs)
$25.00 at Makerfabs — OUT OF STOCK at our 2026-11-28 check (also out at the 2026-11-14 check); watch for a restock.
2× 2×AAA cells
1× 3.7 V 100 mAh LiPo (optional)
1× Adafruit Feather (host, PewPew Lite only)
Not included: Ready-made games — snake, tetris, sokoban, breakout, pong and more in the pypewpew GitHub org, free, A desktop computer — pewmulator runs the same 'pew' library with no hardware at all, Firmware — UF2 files come from circuitpython.org's board pages
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
- Docs: pewpew.readthedocs.ioDevices, tutorials and library reference — English and German.Docs
- Devices overviewThe three documented family members (Lite, 10.2, M4).Docs
- Bouncing Ball tutorialThe maker's first-game walkthrough — the snippet on this page is its first program, verbatim.Docs
- pewmulatorThe same 'pew' library as regular desktop Python — code along with no hardware.Docs
- Electronics recipesLEDs, potentiometers, sensors, strips, piezos, accelerometers on the 10.2's 12-pin connector.Docs
- Source & hardware: github.com/pypewpew/pewpewLibrary, docs, games and hardware design files (CC BY-SA 4.0).Docs
- Ready-made games (pypewpew org)Snake, tetris, othello, sokoban, breakout, pong and more.Docs
- Firmware: circuitpython.org board pagesUF2 firmware downloads for the PewPew family.Docs
- Hackaday: PewPew LCD Plays With PythonArya Voronova's 2022 feature on the LCD generation.Docs
- hackaday.io project log27 build logs and 6 instructions; gerbers and BOM for self-builds.Docs
- OSHWA certification CH000013PewPew LCD v2.0, certified 2022-05-06.Docs
Related Projects


