Finished my ESP32-S3 cyberdeck for offline law reading

Nov 23, 2026 Last reply: 5 hours ago 3 Replies
Jump to replies (3)

Law student here in Brazil with ADHD, and I just got my cyberdeck fully working after a bunch of iterations. I wanted a 100% offline way to read Brazilian legislation without phone distractions or hauling around enormous codebooks, plus I love the cyberpunk look, so it got physical controls and a retro-style interface. It's built around an ESP32-S3, dual-core at 240 MHz with 8 MB PSRAM and 16 MB flash. For the hardware I went with a small ILI9341 screen at 3.2 inches, a pocket Bluetooth keyboard, microSD storage, and a battery pulled from a PS5 controller with a charging board. The case is my own design, 3D printed on an Ender 3 V3 KE. Wrote the firmware from scratch in C/C++ on Arduino, with SPI driving the screen and SD card. I only know basic programming so Claude Code and Codex carried me a lot. Documents are read from the card through an index instead of living in RAM, and a seperate system pulls legislation from official government sources for updates. While reading you get four extras: related legislation, jurisprudence, an explain mode that simplifies dense legal language, and references to books, films, series and games. Biggest pain was hardware integration and memory limits, swapping the original display, redoing wiring and soldering, and getting large chunks of Portuguese text to look right on a 320x240 panel. It's a personal non-commercial project and it runs completly offline now.


I've built a couple of small handhelds around ESP32 boards myself, and reading how you wrestled the Portuguese text into shape on that panel hit home. Character sizing and accents on a small screen is the part that always eats the most evenings for me too.

Can you drop a parts list, especially for the display? I've cycled through a few SPI panels over the years and they are not all equal, so knowing the exact module you settled on after the swap would save others the same rewiring and soldering redo you described.

Also begging for more shots of the enclosure, inside and out. I want to see how the PCB sits in the base and where the display actually connects, since fitting everything behind an angled screen plus knobs and a keypad sounds tight. One real question: is navigation menu-only, or can you type a keyword to search? For something as long as a civil code, jumping straight to an article number on that pocket keyboard would make a big difference in daily use.

I come at these projects from the software side, so your build reads backwards to me in a good way. I can happily sit with a text editor for hours but the idea of redoing wiring and soldering a new panel mid-build is exactly the kind of thing my own procrastination feeds on, and you pushed through it. The ADHD angle lands for me too. My phone is the reason I never finish long documents, and what you describe, a single-purpose device with physical controls that runs completely offline, sounds like the sort of discipline I keep failing to impose on myself with apps and blockers.

What I'd love to hear more about is the explain mode. Simplifying dense legal language with no internet connection sounds like the hardest part of the whole thing. Is that stored on the card alongside the laws, or does the code rework the text on the fly? And how was working with Claude and Codex on a project this size, did you mostly describe what you wanted and then clean up after them, or did you end up understanding the code well enough to fix things yourself? Also, I have never touched a 3D printer, but the way you talk about the case iterations is tempting me. How many shells did you print before the layout with the knobs and the keypad felt right in the hand?

The battery bit is what I keep thinking about, because I've got a couple of dead controllers in a drawer and never once considered thier packs as parts donors. Did you have to do anything special with the charging board to make it behave, or did it just slot in and work? My own builds always end up as breadboard spaghetti in a laser-cut box, so seeing you design and print a proper case on your Ender with the knobs and keypad in it makes me want to finally model one myself instead of lazering flat panels.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required