Layer by Layer: Designing Raspberry Pi B+ Case

25-piplus-parts-union
In this weeks Layer by Layer, we’re going to take a look at designing an enclosure for the Raspberry Pi B+. To start off, we can use the Raspberry Pi B+ mechanical drawing as a reference guide for modeling the PCB and components.

02-pibplus-components

By measuring the dimensions of each component with a digital caliper, we can model a digital replica of the Raspberry Pi B+. In 123D Design we can quickly model the PCB and components using primitive shapes.

06-pibplus-prototype-union

An optimized part is made for prototyping the tolerances of the port openings and mounting holes. In this prototyping stage, the goal is to get the fittings perfect and lined up nicely. Here we’re using 3mm tall stand-offs to elevate the PCB.

13-piplus-split-fillet

Once the prototype has been printed and tested, we can model a case with rounded corners and fillets. We can split this cube in half using a polyline sketch to make a two piece enclosure. Each piece is then hollowed out, using the shell feature where we can apply a thickness of 2mm.

19-piplus-box-lips-union

By creating an interconnecting lip on the top surface of each part, we can make the two parts snap fit together. The bottom part has the lip inset and subtracted from the inside while the top part has the outside of the case subtracted. Both of these lips are 2mm tall (1mm thick).

07-pibplus-prototype-union2

A design decision was made to clear out the geometry between the ethernet and USB ports. These pieces repeatedly broke off during the prototype iteration process. Since the ports are so close together, this particular project doesn’t really need to cover these parts up.

21-piplus-enclosure-stand-offs

To keep the two parts secured shut, you can use tall stand-offs on the top part that will allow machine screws to thread through the two parts and the B+ PCB. The bottom part has four openings for the 2.5m mounting holes with chamfers applied so that the machine screws are flush with the surface of the enclosure.

26-piplus-large-port-openings

Openings like the micro USB port that provides power to the B+ has a larger opening than the other components. The Micro SD card opening also has a larger opening for compensating clearance area for the actual micro SD card.

24-piplus-enclosure-bottom

The final design has a face subtracted from the surface of the enclosure, resembling Domo-kun eating the Raspberry Pi. These are just some of the steps of the design processes. If your interested in modifying or customizing the case, the solid solids ands STL files are available for download.

Be sure to check out the project video on Youtube for a great overview on the process. There’s also a detailed guide on the adafruit learning system for documentation and assembly photos.

Download Files from Thingiverse

Check out Guide on The Adafruit Learning System


649-1
Every Thursday is #3dthursday here at Adafruit! The DIY 3D printing community has passion and dedication for making solid objects from digital models. Recently, we have noticed electronics projects integrated with 3D printed enclosures, brackets, and sculptures, so each Thursday we celebrate and highlight these bold pioneers!

Have you considered building a 3D project around an Arduino or other microcontroller? How about printing a bracket to mount your Raspberry Pi to the back of your HD monitor? And don’t forget the countless LED projects that are possible when you are modeling your projects in 3D!

The Adafruit Learning System has dozens of great tools to get you well on your way to creating incredible works of engineering, interactive art, and design with your 3D printer! If you’ve made a cool project that combines 3D printing and electronics, be sure to let us know, and we’ll feature it here!


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.