Introduction: Two Part Raspberry Pi Case

Picture of Two Part Raspberry Pi Case

As I'm sure many of you know the Raspberry Pi launched a few weeks ago ( As the initial units will ship without a case I decided to make one. 

The case was modelled using Pro Engineer CAD software and then rapid prototyped by a company in the UK (more about that later).

One disclaimer before we start - I'm currently on the huge waiting list to get a raspberry pi so this case has been designed around the official dimensions for the device. Until I get my hands on one of the units I'm unable to guarantee it will actually fit. 

Step 1: What Is the Raspberry Pi?

Picture of What Is the Raspberry Pi?

"The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming."

- source - The Raspberry Pi Foundation -

Step 2: Get the CAD Files

Picture of Get the CAD Files

It took quite a lot of modelling in CAD to get the case looking the way I wanted.

The files were exported in the STL format. I'll go out on a limb and say 99% of 3D / rapid prototyping machines will work with this file format.

The STL files can be downloaded from the 123D gallery:

Part 1


Part 2


Alternatively they can be downloaded directly from this instructable

Step 3: 3D Printing

Picture of 3D Printing

Many members of this site will know far more about 3D printing and rapid prototyping than I do, but here's a brief overview of your options to get this case printed:

Homebrew printer - There are a number of kits available which allow you to build your own 3D printer - such as the makerbot ( I'm sure there are also a few instructables out there that also show you how to make your own 3D printer from scratch. Making a printer, even from a kit, is a very time consuming and potentially complicated process so building one is not for the faint of heart. Once you have your own printer though, you can print pretty much anything - including the parts from this instructable!

Online service - there are a few companies which now offer a service where you can upload your own model, they will then print your model and post it back to you. Shapeways is one such company ( As you'd expect the cost per model is a lot higher than using your own printer, but if you only plan to print a few models a year then this could be the option for you.

Bespoke order - Lots of rapid prototyping companies exist, both in the UK and around the world. It may be possible to get your parts printed by them.

As I do a lot of rapid prorotyping as part of my Job, I already had a contact for getting this part made. I used a company in the UK called CRDM ( and the part was printed using a "HP Designjet color 3D printer" (

Overall I was very impressed with the results.

Step 4: Model Finishing

Picture of Model Finishing

The two parts of the case fit together by locating the six pins in the 'lid' part into the six holes in the 'base' part.

As with any type of prototyping, there is bound to be something you haven't thought of. In my case it was not taking the material shrinkage into account.

It was necessary to open up the 6 mounting hole using a dremmel. I used a 2.5mm drill bit to make these holes a little oversized.

Step 5: Conclusions

Picture of Conclusions

Overall I'm very happy with my case.

Once I have my Raspberry Pi, I will test that it fits inside the case - If modifications are required I will update the CAD and this instructable (I'll also probably fix the problem with the undersized holes).

For now this case is going to have to sit on my desk and look pretty, while I patently await the delivery of my raspberry pi board.

I've also entered this instructable into the Make it Real Challenge ( So please vote if you liked this instructable.


rossturner (author)2012-05-13

The case does not fit because of the sound port, everything else is spot on had to cut round it to make it fit. really cool case thou, but going to work on the sound port issue and repost with STL File 

Major Peel (author)rossturner2012-05-14


Is there any chance you could send me a few photos of the incompatability with the sound port? I'll try and get an updated CAD model out soon.

I'm still on the never ending waiting list in the UK for my raspberry pi - so I'm unable to verify anything.

nsuarez19 (author)Major Peel2014-04-29

Is this fixed yet?

rossturner (author)Major Peel2012-05-14

Hi Joe,

As you can see the audio port hole was too far left.... everything else was spot on.

i sent you a private message via instructables, if you could convert your original file into a IGES, STEP, or Parasolid. ( i use solid works)

I could do the fix and send it back for you. 100% guaranteed fit.



kivid (author)rossturner2012-06-05

Hi Ross,
Did you ever get the model updated/fixed? I'd be interested in them, if you got them corrected, assuming Joe doesn't mind.


Major Peel (author)rossturner2012-05-14

Thanks Ross,

I've just sent you an email. Would you be able to measure the centre distance between the audio and video port? and the width of the SD card reader. I'll need to fix both these issues for version 2.0

nsuarez19 (author)2014-04-29

is this instructable updated?

wflynn (author)2012-05-11

Any chance you could supply the 123d files? I have an RPi and can check it out. Plus I have a few ideas for it.

Major Peel (author)wflynn2012-05-14

The models weren't created in 123d they are just hosted there - What CAD file formats can you work with? I'll do my best to send you something

static (author)2012-04-04

Respectfully the case appears to be lacking anything in the way of RFI suppression On the supplied files it would be nice to be able to look at them without needing to create one more account on the web

Major Peel (author)static2012-05-14

stl files can be downloaded on step 2 of the instructable.

rossturner (author)2012-05-11

Hi Joe,

Just printed off the bottom part looks pretty awesome

MR.Geo (author)2012-03-29

If I were to make this project I would have used small screws because it makes the box easier to get into whilst still being secure. Why did you opt for pins as opposed to any other fixing method?

Major Peel (author)MR.Geo2012-03-30

Screws would either involve using wood type screws which cut their own thread as they enter the material or using a tap to cut a thread or using a nut a bolt arrangement. I wasn't confident that any thread in the 3d printed material would last very long and using a nut and bolt would be quite awkward.

Besides the raspberry pi was made for hacking :) so I think the lid will be getting removed and replaced quite often, constantly removing screws would get very annoying very quickly.

If anyone has a different idea for the fixing mechanism I might implement this in case 2.0

willrandship (author)Major Peel2012-04-01

Nuts and bolts can be made far less akward by having a hex-shaped slot the nut fits in. That way there's no need for a wrench or some holding method while screwing it in.

willrandship (author)2012-04-01

It looks like you rendered the model with the beta SD card connector, but keep in mind production models won't have the metal sticking out of the board, or at least nowhere near as far.

mattthegamer463 (author)2012-03-29

Hey, great job on this!

I want to make one but I'm wondering, where did you find the dimensions and locations of connectors on the board? I scoured the internet and couldn't find any when I was planning on doing my own case in rapid proto, I was just going to wait for more documentation or my board itself. I may lose access to the RP machine before I get my raspberry pi so I need to print the case before I'll have it in-hand from Newark.

Just wondering where you got the dimensions. Great job.

I found a STEP model of the Raspberry Pi posted by someone on the raspberry pi official discussion forum. I then checked the dimensions of the CAD model against all the official documentation I could find.

I'm reluctant to post the files here as the CAD of the raspberry pi is not my work. Once I find the the discussion post I'll share the link here.

MrRedwood (author)2012-03-29

Can you add a photo showing scale? Perhaps the case held in someone's hand, or next to a common object? A bowl of raspberries would be great, but it's a bit out of season.

Major Peel (author)MrRedwood2012-03-30

I'll add that in version 2.0 - watch this space

leprasmurf (author)2012-03-29

You should post this on Kickstarter and start selling them. I don't have access to a 3d printer, for example, so I wouldn't be able to do this. I would pay for a case like this though.

Major Peel (author)leprasmurf2012-03-30

I'll make you a deal - If I win one of the 3d printers in the "Make it Real" contest I'll start selling the cases at cost price :)

The Cartographer (author)2012-03-29

I'm happy with your case to, and voted. When/where are these going to be for sale?

phmanzano (author)2012-03-29

My Pi's delivery is estimated for week 32 (because I'm in Europe I guess). I just have enough time to make this case with my theeth in a block of something :-)

Just go to website to order it. You pay then you wait with us in the line.

Dream Dragon (author)2012-03-28

That is a very nice looking piece, and really interesting project. Thanks for sharing it and I do hope you receive your board soon so that we can all see how things work out.

I like the idea of having a removable or swappable log area the would leave some good options for customization.

RocketPenguin (author)2012-03-27

I saw the raspberry pi a few months ago.... So over all how well does it work?
P.S. thats a very nice case! I was always wonder what i would case one in if i bought one...

Major Peel (author)RocketPenguin2012-03-28

I've not got my raspberry pi yet - I'm still on the never ending waiting list. I'll update the instructable when I have a board and I can test fit it in the case.

crackHacker (author)2012-03-27

everywhere i look these are not for sale and i so want a Pi. this case is quite pretty. maybe put in the for sale area and give chances to get different top designs.

Major Peel (author)crackHacker2012-03-28

The 'Pi's' have been delayed for a while now - some sort of manufacturing problem. My original design had a removable 'Pi logo' section (so different top logos could be made) I'll probably look at going back to this for version 2.0.

I might consider putting this in the 'for sale' area once I have a board and I know it fits in the case properly - thanks for the suggestion.

About This Instructable




More by Major Peel:3D printed wrist watch (which almost works) Enable the 'Super Control Panel' on Olympus MFT camerasDetachable EL wire running jacket
Add instructable to: