This is the third post of a series about Raspberry PI 2 BigData cluster case.
- Raspberry PI 2 Cluster Case pt1
- Raspberry PI 2 Cluster Case pt2
- Raspberry PI 2 Cluster Assembly Tutorial
- Build Hadoop Cluster with 5 clicks
Since my last post, Raspberry PI 2 Cluster Case pt2, readers have asked if I could open the schematics of the cluster case with detailed assembly instruction. So, here comes the schematics under Solderpad Hardware License. The license is equivalent to Apache, meaning you can make and distribute for free of royalty. I would encourage you to contribute in forms of improvements and extensions though.
Let’s firstly prepare boards. Download the schematics. Please cut out one piece (1) of each and two pieces (2) of board-middle. You can use wood, synthetic, or Acrylic panel to cut out the shapes above. Whatever the material it is, you can use it as long as a panel is no thicker than 3 mm and strong enough to hold a USB charger.
If you cut out a board from Acrylic panel, they will come with protective films on. Peel them first.
2. Power and Cables
- One Photive 6-ports 50 watt USB charger.
- Six 1ft ( 30 cm ) Cat6 Ethernet cables.
- Six 1ft ( 30 cm ) 90 Degree right-angled Micro USB to USB cable.
Take a look at the cable. A Micro-USB-to-USB cable must be right-angled, not left-angled. You may also want to check the thickness of a wire, and make sure your cable is thick enough to deliver enough power. The one available to me comes with AWG 26 cable. Several different brands are available, an examples, at Amazon, Ebay, and Alibaba.
You then need screws. Buying right-sized screws are the hardest part of the whole process, at least for me. Here’s the list of them.
- 2 x M3 Hex Nuts.
- 22 x M3 25mm Pillar Screws.
- 4 x M3 Whirled Hex Nuts. (could be replaced with four of #1 plain M3 nuts.)
- 6 x M3 4mm Screws.
- 24 x M2.5 5mm Screws.
- 24 x M2.5 Hex Nuts
- 24 x M2.5 5mm Pillar Screws.
The four supporting holes in Raspberry PI 2 are 2.7 mm in diameter, and, ideally, you would want to use M2.6 screws and nuts for fixing Raspberry Pi 2 since they fit rather tight. The problem was M2.6 Pillar Screws did not come easy, and I had to custom order M2.6 Pillar Screws. 😦
The ones linked in here are therefore M2.5 screws and nuts. They are available off-the-shelf and smaller in diameter than holes on Raspberry Pi that it would not cause much issue. I hope these holes get bigger in the future so that I could simply use good-old plain M3 screws.
4. Raspberry PI 2 B+
We do not need to say more here. 🙂 Let’s call them RPI henceforth.
5. Network Switch (Optional)
In case you want to fit a network switch to in the cluster, pick something slim. I picked up one below.
One thing to remember is that you have a choice not to put a network switch at all. You can simply put Raspberry PI only, and connect them to an existing network. This switch is just there to provide the cluster’s own network.
Once you have the components and materials, it’s rather straightforward. Firstly put M2.5 5mm Pillar Screws on boards and tighten ’em with M2.5 Hex nuts like below. You’d have to do this for 6 sets.
Then fix RPI on the boards with M2.5 Screws.
Once you’re done, you’d have six sets. You’d see RPIs on right side are all flipped. In this way, all RPIs’ power inputs are placed right next to USB charger reducing the cluster volume. The big round holes you’d also see are for ventilation.
Apply two pieces of double-sided tape on a USB charger supporter. This is to give a bit more strength to the board to support the charger.
Place it on the board named board-middle-end like below.
Then it is time to stack up RPIs. Look carefully how each piece is stacked.
Once you complete stacking up RPIs, plug in Micro-USB-to-USB cables.
Once you plug in the cables, place your USB charger in the middle, and close the cluster with board-top. Don’t forget to tighten up with M3 4mm Screws.
Now plug in USB ends to the USB charger. See how the boards hold the charger, and clear the entrance for USB ends? 🙂
Place the network switch at the bottom layer and close it with board-bottom and four M3 Hex Nuts like below.
Then connect your RPIs and the network switch with Cat6 Ethernet Cables.
Once you supply power to the charger, all the RPIs will lit up!
This is how a 6-nodes RPI cluster is assembled. You can replace as many parts as you wish, and modify as much as you want. All these instructions and schematics are here for a template.
Subscribe for upcoming posts!
Join my channel!
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.