Instructables
3.JPG
2.JPG

Before getting my Raspberry Pi in the mail I made up my mind to make a case for it (pretty much a necessity). After looking at many very cool designs, I discovered a girl named Biz over at raspberrypi.org had made a case out of Lego and had the proper x & y dimensions, 9 x 13. So I ran the “Lego Digital Design” (LDD) software I had installed quite awhile ago, and plugged away.

LDD is essential a CAD program from Lego that uses the Lego pieces in a virtual build area, it is free and very easy to use. It contains almost all the pieces EVER made by Lego, in ALL the colours available  though some recent ones are not in the database. i.e. some new Star Wars cockpits.
So after you have finished what ever you design virtually you can then order the pieces to build from Lego itself (most older pieces are not available) or from a site such as Bricklink.

Bricklink is basically a Lego version of ebay. There are 222,835 registered members from 144 countries currently registered on BrickLink. It has thousands of Local and World Wide online stores with their own inventories that let you browse, shop or request pieces and then order the pieces you need and then they are mailed to you. What more could you ask for.
I am sure there are other sites like Bricklink, but I have found some online stores near my house that have all I could want in Lego at great prices and delivery rates. I have even started shopping for harder to find pieces from a shop in the Czech Republic that is great. Anyway… the case.

Instead of trying to describe each step I just took screenshots of the build in LDD.
I will also include the .lxf file so you can download it and run it in the LDD program so you can change things or design your own. Enjoy.
 
Remove these adsRemove these ads by Signing Up

Step 1: Complete Parts List

Amount - Description      Part #

  2 - 1x1 Brick                     #3005  (Clear)
  2 - 1x2 Brick                     #3004   (Clear)

  1 - 1x1 Round Plate        #6141
  3 - 1x1 Plate                    #3024
  7 - 1x2 Plates                  #3023
  4 - 1x3 Plates                  #3623
  9 - 1x4 Plates                  #3710
10 - 1x8 Plates                  #3460
  1 - 1x12 Plate                  #60479

  8 - 3x3 Plates, ¼ Circle   #30357
  4 – 4x6 Plates                  #3032 
  7 - 4x8 Plates                   #3035
  4 - 6x6 Plates w/ Bow      #6003

  3 - 1x1 Technic Brick       #6541
  9 - 1x2 Technic Brick       #32000 (The Technic Brick #3700 has 1 hole instead of  2 if you like)
  1 - 1x8 Technic Brick       #3702
  1 - 1x10 Technic Brick     #2730

  2 - 1x3x2 Left Doors        #3189
  1 - 1x3x2 Right Door       #3188
  2 - 1x3 Right Doors         #3821
  1 - Megaphone                #4349
 
A couple of optional parts used in Step 7
   1 – 1x2 Flat Plate            #3069  Clear
   or  2x2 Flat Plate             #3068  Clear

Step 2: The Base

Lego Raspberry Pi Case.
(All Parts Black unless noted).
Update: I have changed the LDD files to another site as Minus is not cooperating.
Lego Digital Design .lxf file of the project and 4 other Cases I was working on. Stored on uploaded.net.

 
I have colour coded the parts that are being used in each Level,
they will be changed to the cases final colour (mostly Black) as the build progresses.
Each Level builds on the Previous Level. 
Sorry for the Black backgrounds in the pictures, they were grey until I uploaded to my library. 

Level 1: Base       Lego Part # (if you are looking on Bricklink they come in VERY handy.
3 -  4x8 Plates       #3035
3 – 1x4 Plates       #3710
1 – 1x8 Plate         #3460
1 -  1x1 Plate         #3024

Level 2: Base 2
4 – 4x6 Plates       #3032
2 – 1x4 Plates       #3710
1 – 1x12 Plate       #60479
1 – 1x1 Plate         #3024


Step 3: The Footers

The Footer was originally so the RaspPi board had enough clearance for cord endings on the HDMI and Audio/Video area. I originally had different coloured small round nub pieces that sat under each plug, but when I lowered the board they just interfered. On the Ethernet plug I have found that it is VERY hard to get a cat 5 plug out if it has one of those covered ends. The kind that has sort of a rubber/silicone holder instead of just a bare plug. I have considered removing part of the Footer below it ( a 1x2 sized area) but I just cut of the rubber cover instead. 

Level 3: Footer
3 - 1x8 Plates       #3460
1 – 1x4 Plate        #3710
4 – 1x2 Plates      #3023
Ignore the 1x3 Plate in the image for Level 3 please.

Level 4: Footer 2
2 - 1x8 Plates      #3460
1 - 1x4 Plate        #3710
2 - 1x3 Plates      #3623
2 - 1x2 Plates      #3023
1 - 1x1 Plate        #3024

Step 4: The Walls and Doors

Level 6 - Wall 2.png
The walls were originally clear, in fact most of the case was until I discovered how hard it was to find clear pieces anymore. 
It looked really cool in LDD.

Level 5: Wall
7 - 1x2 Technic Brick      #32000
(The Technic Brick #3700 has 1 hole instead of  2 if you like)
1 - 1x1 Technic Brick     #6541
1 - 1x2 Brick                    #3004   Clear
1 - 1x1 Brick                    #3005   Clear
1 – Megaphone             #4349

Level 6: Wall 2
1 - 1x10 Technic Brick   #2730
1 - 1x8 Technic Brick     #3702
2 - 1x2 Technic Brick     #32000
2 - 1x1 Technic Brick     #6541
1 - 1x2 Brick                    #3004   Clear
1 - 1x1 Brick                    #3005   Clear
1 – 1x1 Round Plate     #6141
2 – 1x3x2 Left Doors     #3189    Blue
1 – 1x3x2 Right Door    #3188    Blue
2 – 1x3 Right Doors      #3821    1 Black, 1 Blue


Step 6: The Roof

Because of the odd 9x13 layout I was not sure how to close up the case. I wanted to put in a fan... just in case, and that's when I switched to the Technic Bricks with their holes. I also considered hinges and trap doors but it all did not work. When I found the round corners I knew I had a roof, I loved the roundness of it. I also had round corners in the Technic wall level but it interfered with the Board fitting, which sucked as I again liked the roundness of it. The Roof back corner above the GPIO is easily removable and there is lots of room (I hope) in the back for a header to come out obove the SD card.

Level 8: Roof
2 – 1x4 Plates                   #3710
2 – 6x6 Plates w/ Bow     #6003
2 – 3x3 Plates, ¼ Circle  #30357

Level 9: Roof Trim
2 – 6x6 Plates w/ Bow      #6003
6 – 3x3 Plates, ¼ Circle   #30357 4 Dark Blue, 2 Black


Step 7: Finished Product and Observations

So it turns out that the Raspberry Pi Type B board was not designed with Lego in mind from what I can tell. ;)  
Most Lego pieces are based on even numbers (at least the ones I wanted). The fact the outline was 9x13 in Lego profile made it hard to get a strong base which is why there are so many Plate levels.
You may find your RaspPi board fits tighter or more loose than mine. I put a flat 2x2 clear Plate* (see below) up on edge in the corner were the clear pieces are, squished between the wall and the board to stop the board moving when I put the SD card in or removed it. That is also the reason I used the Megaphone, to separate the USB ports and Ethernet port and hold the board in place. I had also had small 1x1 Plate pieces underneath to hold Board off the base but discovered they were not needed.
  

*1 – 1x2 Flat Plate            #3069  Clear
   or  2x2 Flat Plate            #3068  Clear

Update: I have changed the LDD files to another site as Minus is not cooperating.
Lego Digital Design .lxf file of the project and 4 other Cases I was working on. Stored on uploaded.net.



Really put a lot of time in this and am really looking forward to using my Raspberry Pi. Hope this is useful. 
Thanks to Acacia and Sprocket for their help.


zriel2 months ago

Thank you very much for your work on this. I have made 10 enclosures, using your instructions. However, I have modified the roof. Instead, the roof is connected to a hinge, so that it opens (for GPIO access, etc...).

5.jpg6.jpg7.jpg8.jpg
zriel zriel2 months ago

Here are some instructions for adding my modified hinged roof, if you'd rather not use the round corner plates. Follow darrennie's instructions through "Step 5: Header."


(I) You need the following parts for this hinged roof:
4 -- 1x2 Plate Modified w/ Clip on Top - #92280
4 -- 1x2 Plate Modified w/ Handle on End (Closed Ends) - #60478
2 -- 1x1 Tile - #3070/3070b
1 -- 1x4 Tile - #2431
3 -- 1x8 Tile - #4162
1 -- 1x8 Plate - #3460
1 -- 2x10 Plate - #3832
3 -- 4x8 Plate - #3035
1 -- 4x10 Plate - #3030 (or you can use two 2x10 Plates)

(II) Place the Tiles and the 2x10 Plate on top of the "Header," as shown in the first attached picture (according to the point-of-view indicated). Notice that one of the two columns of the the 2x10 Plate will hang over the edge of the case.

(III) Place the 1x2 Plates with Clip on the 2x10 Plate from step (II) above, as shown in the second attached picture.

(IV) Now for the very top: on a flat surface, line up the three 4x8 Plates with the 1x8 Plate, as shown in the third attached picture.

(V) Attach the 4x10 Plate, as well as the 1x2 Plates with Handles, to those plates from step (IV) above, as shown in the fourth attached picture.

(VI) Now attach the handles to the clips, and you've got yourself a hinged roof!

Step 1.pngStep 2.pngStep 3.pngStep 4.png
Bomber7834 months ago

By the way really nice dog iv'e got a dog too :-) (Thats my sister with her)

images 001.JPG
Bomber783 made it!4 months ago

Hi darrennie,

Really nice build and fits RP Model B just nice from adapting your build I made my own RP case on LDD (image below) but if it weren't for this amazing guide I wouldn't have done it-or even thought about it!

Well Done :-) !!!

Lego PI Case (Model B).png
rfair4046 months ago

Very good write up. I just found your post after throwing together my first pi lego case. I'm sure there will be more to come.

20140319_153858.jpg
darrennie (author)  rfair4046 months ago
rfair404, thanks for the comment. Nice job on your case as well.
Wolfgar77 made it!6 months ago

Thanks for your instructable. Just won a Rasperberry Pi and not sure what I want to do with it, but used your idea to make a case. It's amazing what you can find Ina big box of kids' Legos! Mine isn't as pretty as yours but functional, and hey, mine has a cool hood ornament. :)

image.jpgimage.jpgimage.jpg
darrennie (author)  Wolfgar776 months ago

Nicely done. I wouldn't say mine was pretty in anyway and definitely doesn't have a cool hood ornament (now you got me looking for one). There is tons and tons of info online if you are stuck on what to do with your Raspberry Pi. Good luck.

knewsome111 months ago
Ordered my parts from Lego.com and received them today (I'd probably use brick link another time). Assembled in no time with these instructions and it fits a Model B perfectly. Thanks so much!
A0BF7014-0378-4FF4-9462-C301DBDEB8AF.jpg
darrennie (author)  knewsome19 months ago
Nice to hear. Did you improvise your roof or use the plans. Looks good.
(p.s. had to improvise for lack of clear blocks, 2 brick tall doors and some of the roof parts but it made no structural difference) Cheers
darrennie (author)  knewsome111 months ago
That's the beauty of Brinklink, you can find bricks that Lego no longer sells.
darrennie (author)  knewsome111 months ago
Looks great !
BananaMaker9 months ago
I did it! and without ordering ANY piece
angpal591 year ago
It's not so much the instructable as it that dog, I love that dog, as an animal lover you can just see the love for people in that dogs eye's.
darrennie (author)  angpal591 year ago
Sprocket is a very good supervisor, his attention to inspecting and double checking things is remarkable. ;) In fact without his help I would have never finished either of my ibles.
darrennie (author) 1 year ago
Thanks to jaskamakkara I have reposted the links for the LegoDD files as far away from Minus as I could find. So hopefully no more problems. Thanks again.
Great stuff, thanks darrennie :)

Really looking forward to trying this one for myself!
darrennie (author)  jaskamakkara1 year ago
Hope you enjoy.
darrennie (author) 1 year ago
New link for the LegoDD .lxf files.
Hi Darrennie, love this project! I am having some trouble downloading the .lxf files, however. When I click the download link I instead get redirected to the minus homepage....Are the links broken? Thanks for any help :)
darrennie (author)  jaskamakkara1 year ago
I will repost the links from somewhere else, I don't know why Minus does this now. I have noticed MANY times when trying to download from other peoples pages that it does this. Hopefully they are aware of this.
skip_py1 year ago
oh ... i forgot to mention i looked everywhere on bricklinks and couldn't find a Clear 2x2 Flat Plate #3068 :(
darrennie (author)  skip_py1 year ago
Ya they were hard for me as well. I eventually found a really good store in the Czech Republic called Brick-Mania, they are usually in the featured store section. Lots of hard to get pieces and colours and well priced with great shipping rates (at least I thought so). Funny I went through all the pieces many times and everything seemed to be in order, so I will have a look. Thanks for the pointers.
skip_py1 year ago
Darrenie,

A bit of feedback of having finished ordering the pieces and assembling the case ;) which looks and feels great btw

- About 30357 used in step 6 and 7 - mention the two different colors at step 1
- Also in step 7, would be good to make it clear there is only a need of 2 x 30357 at this step (it looks like it is 4)
- I confirm that 3069 is useless
- 3068 is mandatory, makes a real difference in stabilising RP inside the box
- would be great to mention at which step the RP + 3068 is supposed to be inserted in the box (so maybe step 4)
- about 3035 - i only count 3 necessary although 7 are asked for in step 1

thanks again for sharing this idea
WingDings1 year ago
This is great! I've seen a LEGO Pi case before, but this was much better put together and your addition of doors for the various ports was a nice touch. :-)
darrennie (author)  WingDings1 year ago
Thanks WingDings, glad you like it. You should be aware if you are buying lego pieces that the parts list was updated today due to something I forgot to include (4 – 4x6 Plates #3032, Thanks again to skip_py).

skip_py1 year ago
Followed the instructions ... however i was a bit disappointed when i realise that Step 1 didn't include the 4 plates 4x6 #3032 that are needed in Step 2. Now have to process a new order...

Would also be nice to add to step 1 those 2 optional parts you mention in Step 7.

Anyway, thanks for this tutorial!
darrennie (author)  skip_py1 year ago
Thanks for pointing that out skip_py, sorry for the error.
leevick1 year ago
Do you have a combined parts list? Is there any way to put together a shopping list on BrickLink so someone could put that in their Wanted listing so the whole "kit" could be bought at once?

By the way this looks awesome! Well done.
darrennie (author)  leevick1 year ago
leevick, I added the parts list to the Instructions for you. As for the Bricklink Wants list, I don't think you can do it that way. I think only complete Lego kits can be bought that way. I ended up shopping from 2-3 places I use all the time that covered the list.
Hope this helps. 8D
I can recommend a couple of Brinklink stores if you want.
Density1 year ago
This is really cool. I too have made my own cover for my Rasberry pi.
darrennie (author)  Density1 year ago
Thanks, it's more of a beta version at the moment as I am seeing some really cool ideas around that keep me modifying it. You should post some pics of yours.
8D