Raspberry Pi case
Description
Never designed a case before, so perhaps things can be better...
......
v11 Different splitlevel (more simple) on backside
keep a little margin on back split, so that top and bottom always fit
added openlogo option
added pcbholder option
changed support studs a bit
changed dimensions to 85.0 x 56.20
v12 Different component locations/sizes
keep a little margin on component holes
pcbsize to 57.0 x 86.0 (actual it is 56.17 x 85.0)
made casestuds wider and added 2 minor holes for self tapping screws
v14 Got a RPI.. so production board measurements...
v15 moved the rca and snd a bit to get them more centered
Thanks to lincomatic at Thingiverse
Added option for GPIO side hole in bottom or top
Added showing GPIO pins with component drawing
If it fits or doesn't, please let me know..
The bottomholder_frame.stl is a standlone minimal frame for a RPi.
All the other bottom_xxx and top_xxx.stl files can be combined.
If you want something specific just take the openscad file and alter it, or just ask...
Instructions
DRAWfull = 1;
DRAWtop = 1;
DRAWbottom = 1;
DRAWtopinlet = 0;
DRAWbottominlet = 0;
DRAWpcb = 1;
GPIOHOLE = 2; // GPIO opening in : 1=bottom 2=top
GPIOsize = 2; // define height of gpiohole
If you draw 1 part, it will center, otherwise multiple parts are showed.
You can control the case looks by changing :
topframe = false; // if false, underneath values determines how
topinlet = false; // false is outside, otherwise it is with an indent
topholes = true;
topmiddle = true;
toplogo = false;
toplogohole = true; // cut out logo, so you have a view on the pcb
toplogosunken=false; // true or false, no idea if this works on a reprap
bottomframe = false; // if false, underneath values determines how
bottominlet = false;
bottomholes = true;
bottomscrew = false;
bottomfeet = false;
bottomsupport = true; // Added extra support locations for pcb
bottomclick = true;
bottompcb = false; // just a pcb holder without a top
Controlling the size of the case can be done by:
box_thickness = 2.0; // minimum = 2.0 for RepRap printing
Low box (red box in picture):
inside_h = 12.1; // USB goes through deck, 16.5=full height
pcb_h = 5.6; // room for SDslot and a deck
Normal box:
inside_h = 16.5;
pcb_h = box_thickness*2+3.5;
You must be logged in to post a comment.
Very nice case. Thanks! I just printed it out but I had a few problems:
1. It doesn't snap together. All the measurments the tabs that are supposed to interlock with the bottom are a bit too thick so they don't go in. Also, the rear part that goes on top of the SD card is also a bit too wide. Some work with an X-acto knife fixed it, but I wonder what I might be doing wrong... (Prusa i3 box frame, ABS plastic). I've calibrated the printer and other pieces print out fine.
2. The slot for the microUSB is too small for the plug to fit in it. The connector itself fits but all the plugs I have are too large. Again, X-acto to the rescue.
3. The Ethernet port on my board has 2 studs on the bottom to hold it to the PCB, which bump up against the support square on the bottom. That makes the PCB stand up too high above the studs so the case doesn't close on that side.
Also, it would be nice for the base to have "ears" to screw it, for example, on the i3 box frame :). I am a rank newbie on OpenSCAD (did a one-hour workshop and that's it) but I might have my hand at it when I have some free time.
Very nice case. Thanks! I just printed it out but I had a couple of problems:
1. It doesn't snap together. All the measurments the tabs that are supposed to interlock with the bottom are a bit too thick so they don't go in. Also, the rear part that goes on top of the SD card is also a bit too wide. Some work with an X-acto knife fixed it, but I wonder what I might be doing wrong... (Prusa i3 box frame, ABS plastic). I've calibrated the printer and other pieces print out fine.
2. The slot for the microUSB is too small for the plug to fit in it. The connector itself fits but all the plugs I have are too large. Again, X-acto to the rescue.
Also, it would be nice for the base to have "ears" to screw it, for example, on the i3 box frame :). I am a rank newbie on OpenSCAD (did a one-hour workshop and that's it) but I might have my hand at it when I have some free time.
Hi, I find that this model doesn't provide clearance (between top and bottom, between bottom and pcb). Is there a way to add this option to the script? Thanks!
Hi. Will bottom_frame.stl snap together with ftop_frame.stl ? In other words, will they work together to make an enclosure? If not, which open top will fit with bottom_frame? Thanks very much.
No, any top and bottom stl file will fit together.
Just combine the ones you like.Only the bottomholder frame.stl is standalone, that is more for having some minimal protection and having access to everything.If you take the scad file you can determine what the output is:// All parts are draw as default just disable the ones you don't wantDRAWfull = 1;DRAWtop = 1;DRAWbottom = 1;DRAWtopinlet = 0;DRAWbottominlet = 0;DRAWpcb = 1;Just modify the vars and less or more is printed...That way you can see how a full box looks like andhow the RPI board will fit.
hey, i'm trying to make your case longer to keep the SD card totally inside, block the microusb, and a bit higher.
all this to fit http://www.thingiverse.com/thi... inside the case at the top ;)
i just tried to make inside_l = 108.0 but that left me with an unjoinable box.
do you see this happening also? and could you share where i need to change something to get the split happening properly?
Printed the case yesterday (like 2hours before your update). Solid bottom (PCB click), "holes" top. Beside not being on production unit measurements it fits pretty good, just the MicroUSB and HDMI is a bit off but it works. PCB clicks nicely in. Thanks for sharing!
Great job on the model - Fits my RPi perfectly, but it would still benefit from a fractionally bigger slot for the HDMI connector.
8-) - I can play with my Pi now :)
The case is slightly too small for my Raspberry Pi. I think I might have left extra shells on for the print so I am going to attempt again and will post a pic and dimensions if it is still too small.
thx for reporting back..
I got reports back for different sizes of the pcb, 85.0x56.17 but also 84.9 x 55.9
so there seems to be a variation of it.
just adapt the global vars and see if it fits better..
// Define Raspberry Pi pcb dimensions in mm
inside_l = 85.60;
inside_w = 56.00;
pcb_thickness = 1.6;
I still got no date for my Pi... :'(
Good Work, any idea when it will be altered for the final model B boards sizings?
I don't expect that it is needed to adjust, unless they used completely different components. Gert (of Raspberry Pi) exactly measured the beta boards and the component locations.
The only difference there can be is the:
- sd card holder, which will be different, but I found the specs of it on the suppliers website, so that is already adjusted.
- USB connector, original that was a smaller version (alpha board), but was changed due to cost and availability to the one on the beta board,which is higher and sticks out. I used that connectors dimensions...
No idea if the production model uses the same one.
If the locations need to be changed, anybody can do this, just alter them in the scad file... that is the reason I published it here...
Just went looking in the Raspberry Pi forums for the dimensions so I could design a case for Thingiverse, and what do I find? Someone beat me to it! Huzzah! Good on you. I'll be printing this one up as soon as the computer lands on my doorstep.
Didn't have a 3D printer, so I ordered 2 case versions, normal and low profile
Just got a picture of the printed parts
Will arrive coming weeks, hopefully the Pi will sell shortly and everthing fits...
License

hey, I printed like 5 of these for colleagues as well as myself.
but now they want one to fit the new camera (I have yet to order it).
any plans for that?
I had no plan in getting a camera.. but perhaps I get one, and I will adapt the case.
Probably someone else will modify it anyway, since the source is available...
Thanks for reporting back.
I also have a case on shapeways.. http://www.shapeways.com/model...
If I have some time I will post the files here, if there is interest in it