A Compact 16 Node Raspberry PI Cluster

A Compact 16 Node Raspberry PI Cluster

There has been a little bit of a fad recently of building networked clusters of Raspberry PIs and other SBCs. Some large ones to use as beowulf clusters for research. Some for automated testing. And some people using them as a low cost scaleable web serving platform.

I got inspired to build my own with the goal of having a build that is compact, inexpensive and reasonably attractive. I think it compares well to a lot of Pi clusters I’ve seen online.

rpi-cluster-fav1-8-of-18

One of the keys to making it compact is to not have each board separated into a separate physical container. The PI Pi Dramble is an example of a build that uses a stacking case. 16 nodes would require a few of those towers.

In my build I have a frame that I made from a $20 acrylic sheet. Each board slides into a grooved holder about 2.5 cm between each board, just enough to clear the height of the USB sockets – the widest part of the board.

rpi-cluster-fav1-14-of-18

The other key element of this build is a compact power distribution system. Most of the builds use collections of powered USB hubs, and separate USB cables to each board. In my build I made my own power wiring harness from ribbon cable and connected it directly to a 100 watt, 5 volt power supply.

On top of the power supply, on little standoff is a small board that distributes power. Every other wire is +5v and a matching return. The ribbon cable ends in a standard 16 pin SDI connector. Then each pair of wires is soldered to a micro USB connector.

Another element that makes this build compact is to stack it right on top of a rack mountable switch, and connect the Pis to the switch using very short 6 inch flat cat5 cables. For three pf the boards that are on the edges I had to use a slightly longer 12 inch cable.

rpi-cluster-fav1-16-of-18

rpi-cluster-fav1-15-of-18rpi-cluster-fav1-13-of-18rpi-cluster-fav1-13-of-18

Here is parts list for what I used:

Part Name                Vendor        Quantity     Price    Total
Raspberry Pi 3           Amazon        16           35.99    575.84
Cat 5 Cables             Monoprice     16            0.44      7.04
MD50G-5-ND Ribbon Cable  Digikey        1           13.64     13.64
1528-1395-ND Micro USB 
Connectors Adafruit      Digikey       20            0.85     17.10
102-1946-ND 5V 100W 
Power Supply             Digikey        1           50.97     50.97
Plexiglass and Glue      Lowes          1           22.00     22.00
32 GB MicroSD Cards      Microcenter   16            7.99    127.84
Zyxel 24 Port Switch     Microcenter    1          124.00    124.00