Building a Pi-based ARM laptop

Lead Image © Iveta Aleksandrova Angelova, 123RF.com

Pi Laptop

Building a Raspberry Pi-based laptop isn't difficult, but you'll need to gather some parts and follow the assembly instructions carefully. We show you how.

Becky Stern of Adafruit industries set me on the path of building my very own Raspberry Pi laptop late last year when her blog post describing such a device brought sudden popularity to the idea [1]. Although this was hardly the first mention of such a device, Stern's YouTube video detailing the creation of the necessary "frankencable" virally spread the idea. Many alternative designs followed in what is now a 31-page thread on the Pi Foundation's forum [2], but the core idea remains the same: building an ARM-powered laptop backed by a Raspberry Pi.

Inception

After seeing the blog post on Adafruit's [3] site, I immediately rushed to eBay to secure the key component of the build: an Atrix 4G lapdock (Figure 1). It would be no exaggeration to say I purchased this component before I even watched the video or read the instructions, because I expected that sudden demand would deplete the supply – or at least affect prices. My eagerness paid off, and I secured a brand new unit for the paltry sum of US$  35, shipping included (see Figure  2).

Figure 1: The lapdock designed for Atrix 4G smartphones is the build's key component.
Figure 2: New lapdock unit in its unopened box.

Your luck may vary, but my recommendation is that you take your time procuring this one part if you are budget conscious, because it can easily double the total cost of this project (see the parts list in Table 1 for details).

Table 1

Parts List

Part

Source

Price (US$)

1 Motorola Atrix lapdock

Discontinued (eBay)

$35-60

1 Raspberry Pi model B

Various

$35-40

1 Stealth black case

http://modmypi.com/shop

$8.19

1 HDMI plug to micro-HDMI socket adapter; micro-HDMI terminal is a socket (female) connector (e.g., http://goo.gl/3l0lQy)

eBay

$1-5

1 Micro-USB Y splitter cable; micro-USB socket to two micro-USB plugs (e.g., http://goo.gl/jsRsTR)

eBay

$1-5

1 Micro-USB right angle; orientation is important – best to purchase pairs (e.g., http://goo.gl/91TQgf)

eBay

$1-5

1 Micro-USB socket to USB-A plug adapter (e.g., http://goo.gl/1K3rai)

eBay

$1-5

1 Raspberry Pi sticker (optional)

Adafruit Industries #1132

$1

1 Miniature WiFi module

Adafruit Industries #814

$11.95

The Atrix Lapdock is an accessory for a Motorola smartphone that could double as a laptop when connected to this docking station. Because the matching Atrix 4G smartphone has been discontinued, many of these stations have hit the market at deeply discounted prices (eBay still lists more than 200 units as of this writing).

This lapdock is quite a nicely built object, with an original price tag of several hundred dollars. It is effectively a high-resolution 11.6" LCD screen with a resolution of 1366x768 (60Hz refresh rate) incorporating a QWERTY keyboard and a touchpad in a form factor resembling that of today's ultrabooks. Also, the lapdock includes stereo speakers and 36 watt-hour's worth of battery power  – enough for several hours worth of operation  – all in just under 2.4 pounds of weight.

This power is accessible through the lapdock's USB ports and a micro-USB plug on the docking sled, as well as two USB-A sockets located on the back of the device. Additional connectivity includes a barrel plug for the power supply that comes with the lapdock and a micro-HDMI connector directly wired to the screen (Figure 3).

Figure 3: Detail of the connectors on the docking sled (left) and additional connectors on the lapdock body (right).

The keyboard and touchpad are accessible on the micro-USB port, but that is not the case on the Raspberry Pi, where the micro-USB port must be connected to the power source – and only the power source. The full-size USB-A ports are the only place where keyboards and mice will be recognized, because they are the ones wired with data lines.

This is the origin of the "frankencable" approach: By splicing a custom cable taking only data to one side of the board and power only to the other, it is possible to attach the Raspberry Pi to the lapdock with a single USB connection, in addition to the HDMI connection.

First Try

I was quickly able to assemble my variant of a Raspberry Pi laptop by purchasing cables and adapters from multiple eBay sellers to wire up a Raspberry Pi model B to my lapdock. I questioned the durability of the self-made cable approach required by the Raspberry Pi's sub-optimal USB layout and decided to go with two full USB cables: one for power and one for data. I was able to demonstrate this off-the-shelf cabled design at Boston Linux and Unix two weeks after beginning [4].

A drawback of this design was the sheer number of cables and adapters needed, which was not only costly because of shipping fees but also difficult to order and confusing to assemble. A bigger problem, however, is that although the setup is durable, the number of cables involved creates a cable nest behind your Pi laptop and does not provide the user with a reasonable chance to attach the Pi to a consistent location on the combined device. The laptop in effect had to be assembled for every use, a problem that even the frankencable would not address (Figures 4 and 5).

Figure 4: The first all-cable design: a viable stationary setup.
Figure 5: Details of the wiring of the all-cable setup.

Although the ergonomics of the project seem to demand improvement, this first version is fully functional and quite stylish – thanks to the addition of a color-matched stealth black case for the Raspberry Pi board, courtesy of the fine folks at ModMyPi.

Buy this article as PDF

Express-Checkout as PDF

Pages: 6

Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • The Pi Wire

    Arduino’s “Invent Your Future” Contest; Fedora for Rasp Pi; New Raspberry Pi Kits for Windows IoT Core; micro:bit Education Foundation.

  • Exploring the new Raspberry Pi Zero

    The new $5 Raspberry Pi Zero is a best seller at a very low price.

  • Up close with the Banana Pi

    The Raspberry Pi has spawned a new generation of imitators. One of the top contenders is the Banana Pi.

  • Exploring the new Raspberry Pi Model B+

    The new Raspberry Pi Model B+ is the biggest change to Raspberry Pi since the Model B Rev 2 upgrade two years ago. Find out what's new with the B+ and how it will affect your Rasp Pi adventures.

  • Testing a Pi UPS module

    When the Raspberry Pi is connected to a car ignition or the USB port on a TV, you run the risk of data loss with a hard shutdown. The Pi UPS bridges short lapses in the power supply and shuts down your Rasp Pi safely when the power remains off.