Raspberry Pi case
by HansH, published
The Raspberry Pi is a creditcard sized computer which you can buy for $25 or $35 (depending which version)
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...
// All parts are draw as default just disable the ones you don't want
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
inside_h = 16.5;
pcb_h = box_thickness*2+3.5;