I love Lego and I love Raspberry Pi so I thought I would make my own customisable case for my 2B so I could adapt it according to whatever peripherals I needed at the time. Besides, I needed a rest from product testing for ZenPlugs and breaking world records!
So what makes this the Ultimate Lego Raspberry Pi Case?
1) It doesn't rattle.
2) You can access all the ports/card slots easily.
3) It's got a fan and blue LEDs.
4) There are multiple attachment points for add-ons/peripherals.
5) You can take the Pi out easily without having to take the case apart.
6) It doesn't rattle (twice as important as the other features).
7) It looks tres cool.
I have kept mine skeletal but you can easily fill in the spaces if you need to give your Pi more protection. This layout blocks access to the pins on the top of the board but using a smaller fan or no fan would avoid this.
Each stage has a picture of the parts you need. Parts list;
Small USB computer fan with built-in LED. I cannibalised a cheap laptop stand for mine, see step 'Choosing A Fan' for more information.
2 * 4495932
1 * 4297202
26 * 4121715
2 * 4296059
1 * 4225033
6 * 4211651
4 * 4508664
8 * 4206482
4 * 4210753
2 * 4210667
Step 1: Preparation
It's always essential to prepare for any important task. You will need supplies and victuals to keep you going. Plan ahead so you have everything you need.
Step 2: Mounting Your Pi
From experience I have learnt to start with the hardest part of a project first as this is when enthusiasm and energy are at a peak. You are more likely to succeed in solving the problem and less likely to give up. Because of this, I decided to start with the Pi mounting. Unfortunately the proportions of Lego and the RPi do not match and so fitting them together tightly so they don't rattle is difficult. I hunted through my Mindstorms 2.0 and found the rubber links used for the robot fingers, these are ideal for making a mount as they are conformable.
Find the pieces shown and fit them together to make the mount in the picture.
Step 3: Mounting Your Pi 2
Collect the parts shown in the first photograph and make 3 more mounts. Please note that there are two left-handed and two right-handed mounts. The black parts of the mounts rotate, allowing you to put the Pi in the case easily.
Step 4: Mounting Your Pi 3
Here is the Pi with the mounts in place. They fit snugly enough that they don't fall off when you pick it up. They are also gentle enough not to damage the board.
Step 5: Building the Case
Find the pieces shown in the photographs and assemble them to make the end of the case. I have included the Pi in the pictures but you might find it easier to put it to one side whilst you are building the case and fit it at the end.
Step 6: Choosing a Fan - Optional
I love this fan, it looks great running with the two blue LEDs on. It came with these already fitted, saving me the trouble. You can see it in the video. It was one of three fans on a £10 laptop stand from China. I unscrewed it, shorted the lead and cut two of the mounts off with a saw to get it to fit. If you want a fan I would suggest finding one a bit smaller so you don't need to cut it down, although then it would need a mount also, unless you don't mind it rattling! The Pi is 56mm and a fan of the same diameter would be ideal. My fan is 60mm which makes it fit tightly. I have included the fan in the pictures but, again, you might find it easier to fit it at the end.
Step 7: Building the Case 2
Collect the parts shown in the photograph and assemble as shown to make the end and top of the case. The top has holes where add-ons can be connected later.
Step 8: Building the Case 3
Collect the parts shown in the pictures and assemble as shown. You're done!