Learning Library

← Back to Library

DIY 3D‑Printed Raspberry Pi Cyberdeck

Key Points

  • The creator built a custom “Cyber Deck” portable computer using a Raspberry Pi, inspired by projects like Cyberdore 2064 and Ogre.
  • The design goals were a fully 3‑D‑printable, easy‑to‑assemble case with a retro‑futuristic aesthetic and compact, sci‑fi styling.
  • Weeks were spent refining 3‑D models, especially snap‑fit tolerances, requiring multiple test prints to achieve parts that click together securely yet can be disassembled by hand.
  • While the prints were queued, the electronics were developed with three custom PCB boards designed in KiCad to interface the Pi’s GPIO pins with buttons, sensors, displays, and other peripherals.
  • The end result is a small‑form‑factor, portable “Cyber Deck” that combines a Raspberry Pi, custom circuitry, and a 3‑D‑printed futuristic enclosure for specialized field or communication use.

Sections

Full Transcript

# DIY 3D‑Printed Raspberry Pi Cyberdeck **Source:** [https://www.youtube.com/watch?v=cigAxzQGeLg](https://www.youtube.com/watch?v=cigAxzQGeLg) **Duration:** 00:19:54 ## Summary - The creator built a custom “Cyber Deck” portable computer using a Raspberry Pi, inspired by projects like Cyberdore 2064 and Ogre. - The design goals were a fully 3‑D‑printable, easy‑to‑assemble case with a retro‑futuristic aesthetic and compact, sci‑fi styling. - Weeks were spent refining 3‑D models, especially snap‑fit tolerances, requiring multiple test prints to achieve parts that click together securely yet can be disassembled by hand. - While the prints were queued, the electronics were developed with three custom PCB boards designed in KiCad to interface the Pi’s GPIO pins with buttons, sensors, displays, and other peripherals. - The end result is a small‑form‑factor, portable “Cyber Deck” that combines a Raspberry Pi, custom circuitry, and a 3‑D‑printed futuristic enclosure for specialized field or communication use. ## Sections - [00:00:00](https://www.youtube.com/watch?v=cigAxzQGeLg&t=0s) **Designing a Retro‑Futuristic Cyber Deck** - The speaker outlines his process of creating a fully 3D‑printable, portable Raspberry Pi cyber‑deck, emphasizing modeling, snap‑fit challenges, and a retro‑futuristic aesthetic. - [00:03:42](https://www.youtube.com/watch?v=cigAxzQGeLg&t=222s) **CNC/3D Printed PCB Assembly** - The speaker details receiving PCBs, tackling fine soldering with short detection using GPIO extender boards, applying synthetic grease to bearing channels, and assembling the electronic and mechanical parts into the final device. - [00:08:35](https://www.youtube.com/watch?v=cigAxzQGeLg&t=515s) **Misplaced Resistors Cause Power Failure** - The creator discovers that swapping a 10 Ω and a 10 kΩ resistor prevents the MOSFET from receiving voltage, leaving the circuit dead and requiring the parts to be desoldered and corrected. - [00:12:05](https://www.youtube.com/watch?v=cigAxzQGeLg&t=725s) **Dual‑Screen Device Demo After Repair** - After fixing a shorted connector to power on the build, the presenter showcases the fully assembled dual‑screen system with rotating hinges, protective cable limits, and various input controls like sliders, buttons, and a rotary encoder. - [00:15:15](https://www.youtube.com/watch?v=cigAxzQGeLg&t=915s) **Modular Raspberry Pi Enclosure** - The speaker details a case that adds auxiliary USB, a quick I²C connector, an external GPIO header for standard Raspberry Pi shields, quick‑eject handles for easy removal of the Pi (or just the SD card), and a mechanical‑style keyboard with multiple LED modes. - [00:18:25](https://www.youtube.com/watch?v=cigAxzQGeLg&t=1105s) **Coffee-Powered Raspberry Pi Sensor Test** - The speaker demonstrates how adding hot coffee to a Raspberry Pi‑based sensor deck alters temperature, light, and pH readings, explains the learning process, and shares the project’s GitHub resources. ## Full Transcript
0:00This is a Raspberry Pi, which is 0:02basically a really small computer. And 0:05this is that same Raspberry Pi with a 0:07whole lot of accessories. After seeing a 0:09couple of these projects, like the 0:10Cyberdore 2064 and the Ogre project, I 0:14decided I wanted to make one too in my 0:16own style. These devices are called 0:17Cyber Decks, and they're basically 0:19customuilt portable computers, and each 0:21one of them is usually built for a 0:23specific purpose. That might be using 0:25them for like a field computer or for 0:27meshtastic radio communication. But some 0:30of the key things that usually are a 0:31trend among these devices is they're 0:33usually portable. They're usually pretty 0:35small form factor and a lot of times 0:37they have some pretty cool sci-fi or 0:39futuristic themes to them. So some of 0:41the key features that I wanted to 0:42include in mine were I wanted it to be 0:44fully 3D printable. I wanted it to be 0:47easy to assemble, have good usability, 0:50and I also wanted to include kind of a 0:52retro futuristic theme. So the first 0:54step in any engineering project like 0:55this is to get started on the 3D 0:57modeling. And that includes kind of 0:59laying out all the parts, seeing how 1:00they're going to fit together, and then 1:02designing all the 3D printed pieces that 1:04are going to make up this entire 1:05assembly. This step alone took weeks of 1:08fine-tuning and reiterating just to get 1:10to a point where everything not only 1:11looked good, but was also functional. 1:14One of the first challenges was to get 1:15the snap fit parts to fit together the 1:17way that I wanted. I designed everything 1:20with tolerances in mind, but the only 1:21way to really know how well it would 1:23actually work was to print out a bunch 1:25of test parts. These parts needed to be 1:27able to press together by hand while 1:29having enough holding strength to stay 1:30together. This is easier said than done 1:33because it needed to be strong enough to 1:34stay together, but loose enough to take 1:36apart by hand without damaging the 1:38pieces, which basically came down to 1:40tweaking subm dimensions until it 1:42worked. Once I got those parts to fit 1:45the way that I wanted, there were a 1:46whole lot more 3D printed parts that all 1:48had to get printed before I could 1:49assemble everything together. So, since 1:52I was going to take hours and hours, I 1:54figured I would get started on the 1:55electronics. To be able to connect the 1:57Raspberry Pi to a bunch of other stuff, 1:58I was going to need some custom circuit 2:00boards, which also meant that I needed a 2:02design software. It seemed like Kyad was 2:05the most common one out there that most 2:07makers in the community use. So, I 2:09figured that would be the best one to 2:10learn. So, there's three custom circuit 2:12boards in this design, and I figured I 2:15should probably explain what they're 2:16for. So, what separates a Raspberry Pi 2:19from other computers is that they have 2:21programmable pins called GPIO. What 2:23these GPIO pins allow you to do is 2:26interact with other electronics, whether 2:27that be inputs like buttons and sensors 2:30or outputs for controlling motors and 2:33displays and all kinds of things like 2:34that. To connect all these boards to the 2:37GPIO, I use the 40 pin FBC ribbon cable 2:40that you can see marked in orange. So, 2:42it starts at the board that's connected 2:44to the Raspberry Pi going to the center 2:46board which acts as power distribution 2:49and has all these different buttons that 2:51will connect to the GPIO and then it 2:53shares it to this external board which 2:55is connected to the outside. So, you'll 2:57be able to hook up anything you want to 2:59the GPIO. I also have a dedicated route 3:02for I2C which is a common communication 3:05protocol that's used for all kinds of 3:07different sensors. The next step is 3:09actually making these PCBs, which I 3:11obviously don't have the capability to 3:13do, which is why I have to thank PCB Way 3:15for sponsoring this project. PCB Way is 3:18a custom PCB manufacturer, and they also 3:21help with design services if you need 3:22it. They make it really easy for anybody 3:24in the maker community to have their own 3:26custom PCBs made. All you have to do is 3:29upload your Griber files from Kyad and 3:32then they'll very quickly get started 3:33making them, and then when it's done, 3:35they'll ship right to you. But their 3:37services go beyond PCB manufacturer. 3:39They also include things like custom CNC 3:42machining and even 3D printing. 3:45Once I got my PCBs back from PCB way, 3:48the next step was a whole lot of 3:50soldering. 4:09As you can see here with how small these 4:10solder pads are, some of the soldering 4:12was actually pretty difficult. 4:14The only way that I could check to make 4:16sure that I didn't have any shorts or 4:18bridges between the contacts was to use 4:20these GPIO extender boards with the FPC 4:23ribbon cables. The solder pads on the 4:25part that's supposed to be for headers 4:27actually allowed me to check between 4:29each contact to make sure that nothing 4:30was connected that shouldn't be. 4:33After assembly, these are all the parts 4:35that make up the internal electronics. 4:38After soldering all the electronics, I 4:40could finally start putting some of 4:41these pieces together and see it take 4:42shape. Starting with the upper portion, 4:44which includes the screens. 5:31I added some synthetic grease to these 5:33bearing channels to help with noise and 5:36reduce wear on the parts. 5:42[Music] 5:48[Music] 6:22[Music] 6:42[Music] 7:56[Music] 8:17[Music] 8:28Next up was assembling all the base 8:30parts, which is what all the electronic 8:31parts are going to go into. 8:49[Music] 9:00[Music] 10:02[Music] 10:10[Music] 10:20[Music] 10:44So after all of that, it was finally at 10:45a point where I could test it and 10:47actually turn it on. 10:51So theoretically, once I hit this 10:54switch, 10:56everything should turn on. 11:08Nothing turned on. Obviously, that was a 11:11little disappointing. After all that 11:13work, you expect it to at least do 11:15something. And instead, it did 11:17absolutely nothing at all. So, all you 11:19can do is get out the multimeter and try 11:21and figure out what went wrong. Okay, so 11:24I found a problem. So, what I did to try 11:26to figure this out was trace the 5 volts 11:28that's supposed to be turning on this 11:30MOSFET. And we're supposed to be getting 11:325 volts here, but we get almost nothing. 11:35And so if I trace it along its path, 11:37we're supposed to go across this 11:39resistor to this pin. But across this 11:42resistor, it drops almost the entire 5 11:44volts. And that is because this one, 11:47which is supposed to be 10 ohms, and 11:49this one, which is supposed to be 10K, 11:51are accidentally flipped. So when I was 11:53soldering this, I guess I wasn't paying 11:55close enough attention, and I got the 11:56two mixed up. So it should be relatively 11:58easy to just desolder and switch these, 12:01and then we should be back on track. 12:09Okay, let's see what happens this time. 12:18One screen, 12:21two screen. 12:29So, the issue that was causing me to not 12:30be able to pass the boot sequence and 12:32power on was because there was actually 12:34a short on this little quick connector. 12:36So, once I figured that out, I replaced 12:38it. And now we should be able to power 12:40on. 12:55So, after a couple of setbacks, 12:56everything was finally working and I 12:58could finish putting this thing 12:59together. 13:31[Music] 13:39[Music] 14:13So, with everything fully built and 14:15working, let me show you a little bit 14:16about what this thing is and what it can 14:18do. 14:19It's got rotating hinges that allow it 14:21to fold down to a more compact size. 14:24Inside these hinges is an internal pin 14:26that keeps it from over rotating. Both 14:29of these screens can rotate between 14:30portrait and landscape mode. These also 14:33have a mechanism that limits rotation to 14:35protect the cables from being pulled on. 14:41This can be really useful because I can 14:42have one screen in portrait mode to 14:44write code on while having the other 14:46screen as a reference for like a 14:47Raspberry Pi pin out. In this case, I'm 14:50writing a gooey, which you'll see later 14:52on. 14:54Or you could just use it to watch cool 14:56YouTube videos about Cyberpunk while you 14:58work on your program. It's got a bunch 15:00of inputs like this linear slider that 15:02you could use to control volume or 15:04screen brightness and four programmable 15:06buttons that you could use to program 15:07lots of other things. It's also got this 15:10rotary encode slider with a push button. 15:14On that same side, there's an auxiliary 15:15USB port that you can use to connect all 15:18sorts of different things like this 15:19Wi-Fi extender. In the back, there's a 15:22quick connector so you can attach things 15:24like Adafruit I2C sensors. 15:27There's also an external GPIO header so 15:29that you can connect any standard 15:31Raspberry Pi shield that you want to 15:32this device. 15:36Another thing that I wanted to be able 15:37to do was very easily remove the 15:39Raspberry Pi from inside this device. 15:42And the idea behind that was that you 15:44could program it with having the 15:45keyboard and a mouse and all the 15:47different sensors and stuff to program 15:49and test whatever you want to do. and 15:51you can program that within the device 15:53and then be able to easily remove it so 15:55that you can put it in whatever it's 15:56intended for. 15:58So, it has these quick eject handles 16:00that allow you to pull the display and 16:03USB cables out of the Raspberry Pi and 16:05then all you have to do is remove it 16:07from inside the case. 16:11Admittedly, I could have made that a 16:12little bit better. dimensions inside the 16:15case are are really tight, so it could 16:18be easier to get it out of the 16:20enclosure. 16:26But once you get it out, all you have to 16:28do is take the GPIO header off and then 16:31the Raspberry Pi is completely free to 16:33do whatever you want. 16:36And if you don't want to take the entire 16:38Raspberry Pi out, you can access the SD 16:40card so you can transfer images between 16:43Raspberry Pies. 16:46It's got the tactile feel of a 16:47mechanical keyboard with a whole bunch 16:49of interactive LED modes to make typing 16:51more fun. 16:58I put together a quick graphical user 17:00interface to show the readout of all the 17:02different inputs, including the rotary 17:04knob, the four push buttons, and the 17:05linear slider. 17:09[Music] 17:21There's also some readouts for sensors, 17:23which I'll be showing you shortly. 17:25So, with everything done and complete, I 17:27figured I'd put together a little demo 17:29to kind of show what you can do with 17:30this, uh, its use of sensors and the 17:33screens, and just to kind of demonstrate 17:35what you could do with a Cyber Deck like 17:37this. I wanted to use a combination of 17:40different I2C sensors to show the 17:42capability of chaining a bunch of 17:44sensors together to measure something. 17:46So, for this little demo experiment, I 17:48decided to use a lux or light sensor on 17:51the bottom of this glass beaker, a 17:53temperature sensor to measure the 17:55internal temperature, and then a pH to 17:57measure the pH value of whatever liquid 18:00is in the beaker. So, I started by 18:02adding some just room temperature water. 18:04And as you can see, the light sensor 18:06doesn't really change much because of 18:07the clearness of the liquid. And as I 18:11put in the temperature sensor, you'll 18:12see it starts to regulate at about room 18:14temperature. 18:18As for the pH, the pH level reads about 18:20seven. 18:22So to see the contrast of a liquid that 18:25would change all these values, I decided 18:27to use some hot coffee. 18:36The coffee immediately increases the 18:38water temperature and reduces the light 18:40intensity because it can't see through 18:42that murky liquid. And then as I measure 18:44with the pH, the pH level drops 18:46significantly because coffee naturally 18:48is more acidic than water. 18:52This is just one kind of experiment or 18:54different development type project that 18:55you could do with the Raspberry Pi deck 18:58like this where you have a whole bunch 18:59of different inputs that you can use. 19:03Like most of the things I do, this was a 19:05completely new experience for me and 19:06there were a lot of things that I had to 19:08learn along the way. But I think I ended 19:10up with something that's pretty unique 19:11and useful, too. And if you thought it 19:13was cool and you want to build one 19:14yourself, I've included all the 19:16documentation and part files on GitHub. 19:19You can find a link to that in the 19:20description below. And if you want to 19:22see more sci-fi projects like this, make 19:23sure to stick around for the next one. 19:35[Music] 19:51[Music]