I use Octoprint to control my pair of Ender 3s, but having a Raspberry PI floating around at the mercy of its cables is annoying, so I created this enclosure with options for attaching it to the printer.
If you need a case for a PI Zero, I have a similar enclosure for that here:
https://www.printables.com/model/703964-raspberry-pi-zero-2w-enclosure
Printing
Print on of each models
- 3b-bottom.stl - The bottom of the enclosure. Print flat, no supports needed
- 3b-top.stl - The top of the enclosure. Print flat without supports
- 3b-bracket.stl - Optional bracket that fits a 20m V-slot extrusion and clips around the enclosure
- 3b-bottom-2.stl - Optional. Alternate bottom. Print this instead of 3b-bottom.stl along with foot.stl to attach directly to the V-Slot extrusion
- foot.stl - Optional. Foot for attaching 3b-bottom-2.stl directly to the V-Slot extrusion
I printed these parts in Inland Tough PLA, but you can use whatever material you have and/or like.
Additional Parts
Besides the prints above you'll need the following additional parts
- 4x 20mm M3 screws (and appropriate driver)
- 4x 5-6mm M3 brass inserts
- A soldering iron for getting the brass inserts set
Optional: For attaching Foot.stl to 3b-bottom-2.stl
- 2x 6mm M3 screws (make sure the screws don't touch the bottom of the PI board)
- 2x M3 nuts
Assembly
- Ensure all prints are clean and have had any printing artefacts removed.
- When using 3b-bracket-2.stl, first attach the foot in the desired position (For attaching to any of the bottom extrusions of the Ender 3, use the foot in one of the side positions)
- Place the Raspberry PI inside the top (3b-top.stl) and screw the screws through the hole so that they just come through the screw holes in the PI board.
- Put the bottom (3b-bottom.stl or 3b-bottom-2.stl) in place and carefully advance the screws making sure you don't get them cross-threaded.
- Tighten the screws
Optional - Mounting The Bracket
To mount the bracket (3b-bracket.stl). Find an appropriate place on your printer that won't interfere with its operation and slide the bracket in place. Now slide the completed enclosure into place.
Optional - Mounting with 3b-bracket-2.stl
Slide the foot into the V-Slot and position the PI where you want it.
Enjoy.