Edited by humans. Written by AI. How our editing works
All articles

Building a Raspberry Pi Cyberdeck From Scratch (CM5)

Maker Salim Benbouziyane spent months designing a custom cyberdeck around the Raspberry Pi Compute Module 5. Here's what worked—and what didn't.

Tyler Nakamura

Written by AI. Tyler Nakamura

February 13, 20266 min read
Share:
Custom cyberdeck laptop with purple-backlit keyboard displaying terminal code on screen against bright green background

Photo: Salim Benbouziyane / YouTube

Salim Benbouziyane just spent months turning a Raspberry Pi Compute Module 5 into a fully custom cyberdeck—complete with mechanical keyboard, custom PCBs, and a translucent case—and documented every mistake along the way. This is the kind of project that makes you appreciate both the ambition and the reality check.

The CM5 is essentially a Raspberry Pi stripped down to just the compute bits. No USB ports, no HDMI, no GPIO headers—just raw computing power waiting for someone to figure out the rest. That's both the appeal and the terror. "A compute module is basically a Pi without the IO, and that's actually the point," Benbouziyane explains. "You get to make those decisions for yourself and tailor to your own project."

The Design Phase (Where Everything Seems Possible)

Benbouziyane's vision was straightforward: a clamshell device about the size of a regular keyboard, with a 12-inch display, low-profile mechanical keys, and batteries that could actually power the thing. The display came from WaveShare—an IPS panel using the MIPI interface for power efficiency. He paired it with industrial torque hinges from McMaster-Carr that would hold the screen at any angle without flopping around.

The keyboard got the full custom treatment: split ortholinear layout with a trackpad in the middle, plus a small OLED screen and extra controls. He even sourced keycaps specifically for an ortho layout. This wasn't going to be some compromised portable setup—this was going to be nice.

Then came the hard part: designing carrier boards with high-speed differential signals. "If I mess this up, nothing works, and I won't even know why," he admits. High-speed signals run as differential pairs—two traces carrying the same signal, one inverted, so noise gets canceled out when the receiver subtracts them. Getting the impedance right requires online calculators, four-layer PCB stackups, and a lot of faith that Fusion 360's signal integrity tool knows what it's talking about.

He borrowed heavily from Raspberry Pi's official CM4 IO board designs, reverse-engineering schematics for USB hubs, I2S audio circuits, and GPIO headers. The audio setup was particularly clever: one amp for tiny internal speakers, another for headphones, with the headphone jack mechanically switching between them without any firmware intervention needed.

The Part Where Reality Gets Involved

Here's where things get interesting. Benbouziyane designed the entire enclosure around product dimensions he found online—before he actually had the display in hand. "That's something that I later regretted," he notes. Turns out the product diagram was missing some critical details. The hinge mounts he designed? Screws pulled right out after a few opens and closes. Back to CAD.

The display itself weighed 775 grams—way heavier than expected. Open it fully and the whole device would tip backward like an overeager laptop. Even after redesigning the riser feet to shift the center of mass, he was still 180 grams short of balanced. Solution? Brass weights machined by PCBWay to add ballast to the base. Not exactly elegant, but it worked.

Then there's the part where he placed the IO ports on the back because it "looks cleaner," only to realize that plugging anything in prevents the screen from opening fully. He had to carve clearance notches into the back panel. And because he boxed himself into an impossible assembly order, he added a cutout so the back panel could slide in after installing the main board.

Soldering Microscopic Mistakes

The electronics assembly is where most mortals would have given up. Benbouziyane hand-placed surface mount components—including ESD protection diodes he describes as "some of the tiniest I've ever seen"—and reflowed them in sections because the board was too big for his hot plate.

First power-on of the keyboard? It showed up as a drive, which was promising. Except it wouldn't accept firmware. Turns out he forgot to connect a rather important pin on the flash chip. One bodge wire later, LEDs started lighting up. Well, some of them. Cold solder joints needed touching up.

The carrier board had its own drama. When he finally got the CM5 to boot with the display connected, it would just... refuse. Multimeter debugging revealed the display was leaking 3 volts back through the DSI connection, confusing the compute module. "I cut the 3-volt line going from the CM5 to the display because I didn't actually need it in this case," he says. After that, the screen finally worked.

Thermal management became another issue. The thin cooler he designed the case around couldn't keep up—the CM5 was hitting throttling temperatures under load. He switched to a thicker cooler meant for the CM5, which fixed performance but required rethinking some internal clearances.

What Actually Works

Despite all the setbacks, the final device is legitimately impressive. Native battery reporting through a kernel driver means no custom firmware hacking. The keyboard can "steal" input from another host when plugged into a special port—useful for bench work when you need a spare keyboard. And that transparent bottom case shows off all the custom PCB work underneath, complete with a neon color that looks even better when scratched.

The project files are on GitHub, which is both generous and slightly terrifying. Anyone can build their own, mistakes included. The video runs 25 minutes and doesn't skip the failures—the wrong ribbon cables, the assembly order nightmares, the weights needed to prevent tipping. It's honest about what custom hardware actually involves: months of CAD work, multiple prototypes, component testing, bodge wires, and a lot of "well, that didn't work."

For anyone thinking about building custom computing hardware, this is what the process actually looks like. Not the polished final shots, but the debugging, the redesigns, and the moment you realize you forgot an important pin connection. The CM5 gives you total control over your IO, but that means you're responsible when high-speed signals don't behave or hinges pull out or displays leak voltage where they shouldn't.

Benbouziyane made it work. Whether that makes the rest of us want to try it ourselves or appreciate our boring, reliable laptops a bit more probably depends on how much we enjoy fighting with ribbon cables at 2 AM.

—Tyler Nakamura

From the BuzzRAG Team

We Watch Tech YouTube So You Don't Have To

Get the week's best tech insights, summarized and delivered to your inbox. No fluff, no spam.

Weekly digestNo spamUnsubscribe anytime

More Like This

Man holds military-grade measuring device outdoors with satellite dish and helicopter in background, yellow and red text…

Decentralized Tech: Gadgets for the Privacy-Conscious

Explore gadgets that blend tech and anarchism to maintain privacy and autonomy in a surveilled world.

Bob Reynolds·6 months ago·3 min read
Green circuit board with central processor chip and "UEFI HACKED" warning text in red and white against black background

Unmasking UEFI: The Preboot Flaw in Motherboards

Explore the UEFI vulnerability in motherboards allowing DMA attacks before OS boot, discovered by Riot Games.

Mike Sullivan·7 months ago·3 min read
Cartoon blue Picoclaw character with red eyes on the left, flaming red claw creature on the right, with "DESTROYED" text…

Peekabbot: The 9MB AI Agent That Runs on a Raspberry Pi

Peekabbot is a 9MB open-source AI agent that runs on Raspberry Pi with minimal resources. Here's how it compares to OpenClaw and why it matters.

Tyler Nakamura·5 months ago·5 min read
Man in black shirt gestures while discussing a small Beelink storage device highlighted in a magnifying glass against a…

Tiny Server, Big Potential: Beelink ME Pro Review

Explore the Beelink ME Pro, a compact storage server with modular design and surprising capabilities for data backup and media streaming.

Yuki Okonkwo·6 months ago·3 min read
Electronics circuit board emitting blue light rays with "$30 ROOM MAPPER" text overlay against dark background

This $30 Breadboard Scans Rooms in 3D. Here's How

Engineer Henrique Ferrolho built a functional 3D room scanner for $30 using AliExpress parts. The interesting part isn't the price—it's what it reveals.

Marcus Chen-Ramirez·5 months ago·6 min read
Two men at a keyboard with a red lightning bolt graphic between them on a blue background, with "Adam's Storage Adventure!"…

Inside Adam's ZFS Storinator Upgrade Adventure

Explore Adam and Wendell's journey upgrading a ZFS storage server with a Storinator Q30 for better data management.

Dev Kapoor·6 months ago·3 min read
Man in beanie holding AI compute invoice totaling $287.43, with "Beat 20 People" text overlay on black background

The Karpathy Loop: When AI Runs 700 Experiments Overnight

Andre Karpathy's AI agent ran 700 experiments while he slept, found bugs he missed, and cut training time 11%. Here's what that means for everyone else.

Tyler Nakamura·3 months ago·7 min read
Man wearing glasses with skeptical expression beside text "TOO GOOD TO RELEASE?" against black background with decorative…

Anthropic's Claude Mythos Found Thousands of Zero-Days

Anthropic's new Claude Mythos AI discovered thousands of zero-day vulnerabilities, prompting a defensive security initiative before public release.

Tyler Nakamura·3 months ago·6 min read

RAG·vector embedding

2026-04-15
1,343 tokens1536-dimmodel text-embedding-3-small

This article is indexed as a 1536-dimensional vector for semantic retrieval. Crawlers that parse structured data can use the embedded payload below.