Steampunk portable Rasp Pi lunchbox
Moveable Feast
![© Lead Image © ateliersommerland, 123RF.com © Lead Image © ateliersommerland, 123RF.com](/var/linux_magazin/storage/images/issues/2020/238/lunchbox-portable-pi/123rf_13896411_steampunk-clock_ateliersommerland_resized.png/772442-1-eng-US/123RF_13896411_Steampunk-clock_ateliersommerland_resized.png_medium.png)
© Lead Image © ateliersommerland, 123RF.com
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.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.