Raspberry Pi Mounting Platform and Bracket
Contents
Introduction
This is the very beginning of this article, a lot more graphics coming soon ( week or so, waiting for some supplies to arrive ).
This is a 3D printing project to solve some mounting problems with the Raspberry Pi and associated components. I am planing to use it in a variety of projects.
- I love the combination of a Raspberry Pi but how to mount them?
- I have a project that needs a small voltage regulator and USB slot. I can get them as modules, but how to mount them?
- One project is for a very humid environment, so how to I protect the electronics? ( My solution is to mount them in a jar, but how do I do that? )
What I have designed is a platform that mounts on the top ( or optionally on the bottom ) that holds the additional modules, and additionally has a bracket to mount the whole thing "standing up" so it can be mounted to the lid of a jar.
The design is intended to let you customize it to suit your particular needs:
- I am distributing it as Freecad source files so you can modify or add anything.
- Some parts are parametric so you can change some dimensions from a spreadsheet.
- The design is in parts so you can select which of the parts you want to print.
For more pictures of the printed parts see Raspberry Pi Mounting Platform and Bracket Pictures
Using the Design
Customize
Unless you are doing a project just like the design is setup for you will probably need to make at least some modifications.
Choose Your Parts
Select the parts you want to print. I have tried to give the parts somewhat useful names:
- main_platform_punched_and_ .... this is the main platform which sits on top of the Pi. It is supported by 4 feet which match up with the holes in the in the Pi
- extension_platform_punched .... this extends the platform over the usb and Internet ports. Use it only if your platform is high enough to go over the ports. ( 15 mm )
- bracket_with_fillet .... this is the bracket for mounting the Pi, "standing on end".
The other parts may be used, but are not really "finished", but you might want to use them to get rid of features that you do not like.
After selecting the parts you want use ( Part workbench -> Part -> Boolean -> Union )
You will get a new part: Fusion xx, you might rename it platform, but you need not keep it around long, so perhaps it does not need a rename.
Next, go to the mesh workbench and then select your last fusion/union object and apply the Meshes Create Mesh from Shape ( I use .1mm standard mesh ). You will again get a new object, xxx ( meshed ) It will appear right on top of the fusion so you may or may not want to tinker with the part visibilities.
The mesh workbench has a Meshes -> Evaluate and Repair function. Use it. Sometimes it finds things other times not. Why not be safe.
With the meshed selected go to the File export and export the mesh as an stl file. Give this a good name to make it easy to find later platform.stl perhaps.
You can find a similar workflow in another of my projects Parametric 3D Printed Electronics Case/Enclosure.
Modify the Parts
You can modify the part in any way you want using FreeCad, but there are some ways that are simple and quite useful.
The Spreadsheet
If you change a value in the spreadsheet it will change some feature of the design. The two that are meant to be useful are:
- height .... this is the distance from the top of the Pi to the bottom of the platform. A setting of 15 or more lifts the platform above the usb and Internet ports. This may have several advantages, cooling, clearance, and the ability to extend the platform using the "extension_platform_punched".
- thick .... this is the thickness of the platform ( and extensions, bracket.... ). I have found that 2 mm seems to be enough, 3 mm seems super strong.
The "Punch" Sketches
If you want to mount parts to the platform you need some mounting holes. Additionally you may want to lighten up the structure by punching holes in it. Because of this most of the surfaces have sketches associated with them. All you have to do is adjust those sketches. For example add circles... and those will become holes in the associated part. Existing parts of the sketch may be deleted, or simply pushed out of the way ( off to the side of the surface they are on ) for possible reuse later.
How to Print
FreeCad
Select the parts you want to print. Typically this will include
- main_platform_punched_and_
and optionally one of
- extension_platform_punched
- bracket_with_fillet
Normally I make the entire model invisible () and then make visible ( in the model view point to the part and click the space bar ) only the parts I want to print. Then you need to also select the parts. I do this in the model view where I click on the parts I just made visible, click on the first, control click on the rest, you can see the parts selected i the 3D view.
Now create a fusion of all the parts (). This gives your model a new part the fusion
When you have the fusion, the whole thing that will print, you need to get it in stl format to feed your slicer. Select the fusion, and create a mesh ( Mesh Design Workbench -> Meshes -> Create Mesh from Shape -> <Standard> - <OK> ) Again this creates a new part the fusion ( meshed ).
My meshed parts have often had defects that create problems in printing. FreeCad has some tools for fixing them. Run them to be safe:
Now select the fusion ( meshed ) and use ( Any Workbench -> File -> Export ...name the file and select stl as the type ) This is the file you need to slice.
Your Printer Software
Here is what I have found useful, your results or needs may vary.
- If you software can check or repair the stl file do it.
- I almost always like a brim, a couple of mm.
- Flip this upside down, you may have guessed that.
- I have found that 50% infill is strong enough.
- So far I have used PLA. Should work in anything you can print