Steampunk portable Rasp Pi lunchbox
Moveable Feast
A lunchbox-style portable Raspberry Pi computer provides external control for a steampunk robotic skull.
As "Dr. Torq," I play a moderately eccentric 1880s-era inventor who develops physical computing projects with modern off-the-shelf parts; then I share lessons learned through how-to articles and conference tech talks. The steampunk aesthetic inevitably generates a lot of curiosity, so it naturally figures prominently in many of my designs. One of my designs, a robotic skull, needed additional controls, so I decided to create a steampunk lunchbox-style portable computer.
Why a Steampunk Lunchbox Computer?
Hedley, my steampunk robotic skull (Figure 1), originally had an onboard Raspberry Pi brain. The Rasp Pi sent speech data from a processing program to an Arduino, actuating the jaw. It also had a JeVois smart machine vision sensor, and I used a webcam program like luvcview
[1] to monitor whatever the sensor recognized. I built a little outboard monitor to watch the vision sensor feed, effectively turning Hedley into a stealth desktop computer. Hedley even appeared with me at a couple of conferences and ran my LibreOffice session slides. Although Hedley worked, it always felt kind of clunky.
This led to the idea of using a separate portable Linux computer to direct Hedley's actions while also supporting conference tech talk activities. A lunchbox layout style would allow ample freedom for over-the-top design elements and give a cool "open frame" steampunk look. Here, I look at the lunchbox machine in its present form, the software, and how it all came into "sitting on the table" reality. In fact, this article was written with the lunchbox notebook (Figure 2).
Of Course It Runs Linux
Linux powers most of the small-footprint single-board computers (SBCs) these days, and I think Linux is the reason they have become so popular in nanocomputer projects. With the considerable computing power of a Raspberry Pi, you can automate many jobs. The latest model 4 has 4GB of RAM, a quad-core chip, high-resolution dual-monitor outputs, USB 3, and onboard WiFi. (See Table 1 for the hardware components.) It can do just about anything a current budget notebook can do, except maybe super-heavy video or graphics editing. I paid $55 for the 4GB model. Of course, the first step in building a notebook from scratch is to get the Rasp Pi module up and running with a fresh Linux build.
Table 1
Parts List
Part | Source |
---|---|
Sourced Online |
|
JeVois smart vision camera: |
|
Raspberry Pi 4 (4GB model) |
|
Logitech K400r wireless keyboard/mousepad |
|
Samsung EVO+ 32GB micro-SD card |
|
10.1-inch color LCD screen with HDMI driver board and controls |
|
10W per channel audio amplifier board |
|
15,000mAh super polymer lithium ion battery |
|
5MP Raspberry Pi camera with 12-inch flat cable |
|
HDMI to micro-HDMI adapter |
|
Micro-HDMI to HDMI adapter |
|
12V to xV regulator (x2) |
|
Locally Sourced |
|
Short audio aux cable |
|
12V, 1A wall wart |
|
Miniature 8-ohm speaker (x2) |
|
Latch spring (x2) |
|
Various brass and steel #8 machine screws, nuts, and washers |
|
1/4-inch threaded rod, 5 inches long (x2) |
|
1/2-inch copper tubing |
|
1/2-inch copper elbows |
|
3/16-inch brass tubing |
|
1/4x1/8-inch flat brass |
Unlike the old days, Linux system installation on a Pi is very straightforward. Basically, I performed a stock Raspberry Pi OS build. First, I downloaded the latest Raspberry Pi OS [2] (formerly Raspbian Linux). At the time of the project, this was 2020-05-27-raspio-buster-armhf.zip
. Next, I unzipped the package on my ASUS Linux notebook daily driver and used the dd
command to make short work of writing the ISO image to a Samsung EVO+ 32GB microSD card, which I then popped into the Rasp Pi before powering up the board. Lastly, I ran through the resize the main partition menu and set up wireless access with my local router SSID. I enabled SSH and changed the memory split to 256MB for optimal video performance. SSH is useful for copying code and working files from my ASUS notebook to the lunchbox Pi.
The Tube Frame
With the Rasp Pi operating system squared away, I will look at the physical hardware side next, but before I get into the details of the tube frame, let me explain why I chose a lunchbox layout.
I like a full-sized keyboard and wanted to use the very common Logitech K400r wireless keyboard/mousepad. The dimensions are 14x5.5x1 inches (WxHxD). The keyboard size pretty much drove the frame design because I also wanted to use it as a front cover for the 10.1-inch color LCD screen during transport (Figure 3) or when the machine was not in use.
The tube frame provides a rugged, yet fairly light foundation for mounting the rest of the hardware. It consists of 1/2-inch straight copper tubing sourced from a big-box home improvement store. The tubing comes in 8-foot lengths, so I cut it with a standard plumber's tubing cutter. Corners are 1/2-inch copper elbows. The front and rear rectangular frames are separated by 1/4-inch threaded rods. Copper is pretty easy to solder and machine. I used a regular propane torch and rosin-core solder to fix the tubing to the elbows (Figure 4). A drill press aided in placing accurate holes for the various mounting points in the tubing and elbows. The case ended up measuring 14.5x8x5 inches (WxHxD).
The Rasp Pi configuration of video output and power ports at the bottom and the USB ports at the back established the depth of the lunchbox. To make the lunchbox thinner, I could have turned the Pi so the USB ports were facing the left-hand side of the case. I might try that on the next major iteration.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs