Prusa i3 Octoprint Raspberry Pi case

November 7, 2019
Description
This is a modification to the Original Prusa I3 MK3/MK3S Einsy case that implements appropriate housing for a Raspberry Pi 1B+/2B/3B/3B+/(4B - Now available as the first download). This part allows for one of the aforementioned Raspberry Pis to be mounted below the printer's Einsy control board.
One might ask, "Why connect a full-sized Raspberry Pi to the Prusa I3 MK3S when it was designed to work specifically with the Raspberry Pi Zero W?" The simple response to this question would be that the Pi Zero W, while powerful enough to conduct prints, lacks the power necessary to do so concurrently with a high-resolution video stream. This is due to the Zero W's lackluster 1GHz single-core processor and 512MB of RAM. In addition to this, the developers of Octoprint, the software recommended for 3D printer control, discourage the use of their software on the Raspberry Pi Zero (W) due to this known performance deficiency, rather recommending the use of a Pi 3B or greater. With this knowledge established, one desiring to both remotely control and watch the progress of their Prusa I3 MK3(S) may deem a Raspberry Pi 3B+/4B crucial to achieving their goal.
Features:
- Singular, seamless "OEM quality" case which carries Prusa's design language
- Case holds both the Einsy RAMBo and a Raspberry Pi 3 or 4
- Serial connection between Einsy and Raspberry Pi is contained within the case through the use of the Einsy's GPIO headers (Traditionally a USB A to B cable is used to connect the two boards together, however, this solution arguably "tidies up" the aforementioned unsightly wiring, preventing the use of such a large cable in order to achieve a "clean" exterior aesthetic)
- All ports on the Raspberry Pi remain accessible*
*Ethernet and 4 USB A ports are easily accessible from the back of the printer, while the USB power input, HDMI display output(s), and 4-pole audio/composite video output jack are accessible only when the printer is either raised, tilted on its side, or is exposed while hanging off the side of a table.
Print instructions
Category: 3D Printer Parts Print Settings
Printer Brand: Prusa
Printer: I3 MK3S MMU2S
Rafts: No
Supports: No
Infill: 40%
Filament: Prusament PETG Black
Notes:
In order to achieve an identical look to the stock part, I recommend that you use the same material, Jet Black Prusament PETG which can be purchased from The Prusa Shop
After testing I, and many others have found that while for some shorter prints it is entirely possible to power a Raspberry Pi 3B+ from the Einsy RAMBo's serial port, it typically requires additional power in excess of what the port can provide. The 5 volt regulator connected to the Einsy RAMBo's serial port is rated to a MAXIMUM output of 5 volts at 2 amps. While this amount of current is more than adequate to power a Raspberry Pi Zero W, which is rated to draw a max of approximately 1.2 Amps, both the Raspberry Pi 3 and 4 can at times draw current in excess of the available 2 Amps (2.5A or 3A respectively), causing them to freeze, and the print to fail as a result. Therefore, to prevent failed prints due to power loss, it would be wise to NOT connect your Raspberry Pi to the Eincy RAMBo's internal 5 volt header pin, but rather to power your Raspberry Pi with the use of an external power supply. However, should this solution be unsatisfactory, you may look at connecting your Raspberry Pi 3/4 directly to the printer's integrated power supply. I have provided links to recommended right-angle USB adapters (as there is little clearance between the Raspberry Pi's USB power port and the table) and power supplies below in the "What You Need" section.
Post-Printing
Finishing
After the print is complete, make sure to clean out any stray filament around overhangs.
- Clean filament strands (or supports) from the nut recesses on the bottom of the print
- Clean filament strands (or supports) from the nut holes for each wire clamp
- Clean filament strands (or supports) from the top of the Raspberry Pi port holes (specifically the ethernet jack to ensure a perfect fit).
How I Designed This
Design
I designed this part with the use of Fusion 360 and Microsoft's 3D Builder. To create the part I began by importing the model of the Einsy case found on Prusa's website into Fusion 360. Next, I created and extruded two sketches to extend the platform to house the Raspberry Pi. Promptly afterward, I imported a model of a Raspberry Pi found on GrabCAD and used it to validate my measurements for the addition. This file was used to create both properly spaced mounting and rear IO holes (after test prints I found that the hole for the ethernet jack is PERFECTLY sized, requiring additional force to be applied for the first insertion, but providing a clean, gap-free look). Finally, I exported the body and combined it with the Prusa provided Einsy case in Microsoft's 3D Builder to finalize the part and prepare it for 3D printing. (This was done due to Fusion 360 repeatedly failing to properly combine the parts to allow them to be exported as an STL for printing.)
Materials Needed
What you need:
- Printed one of the three provided files (RECOMENDED reinforced_holes.stl Pictured: holes.stl)
- (6x) M3x10 screws (Salvaged from old part)
- (4x) M3nS nut (Salvaged from old part)
- (4x) M3n nut (Salvaged from old part)
- (4x) M3x10 screws (Amazon: https://amzn.to/2Viu1xu)
- (4x) M3 nut (Amazon: https://goo.gl/qQmLxH)
- 6-8 x male-female jumper pins (Amazon: https://amzn.to/31OgRdL) or (RECOMENDED) Prusa i3 MK3(s) to Raspberry Pi connector cable (http://bit.ly/PiPrusaCable)
- Raspberry Pi 3B+ or 4B (Amazon 3B+: https://amzn.to/336YUr4 | Amazon 4B: https://amzn.to/2pH5x51)
- ≤ 8gb Micro SD Card (Amazon: https://amzn.to/2IrhsdU)
- A USB power supply (Pi 4 USB C: https://bit.ly/Pi4USBcPower) (Pi 3 Micro USB: https://bit.ly/Pi3microUSBpower)
- Angled Micro USB Extension for Pi 3 and below (Amazon: https://bit.ly/MicroUSBextension)
- Angled USB C Extension for Pi 4 and above (Amazon: https://bit.ly/USBcExtension)
*OPTIONAL Raspberry Pi Fan (Amazon: https://amzn.to/31Qk0dc)
(not necessary, however, as there is little airflow around the Pi this will likely prevent slowdowns and errors caused by thermal throttling)
Assembly
Should disassembly necessitate more detailed instructions, please refer to the Prusa assembly instructions which can be found at https://bit.ly/mk3Selecguide
Instructions:
1.) Follow steps 1, 8, and 9, from the Prusa Octoprint guide in order to install and configure Octoprint on your Raspberry Pi.
2.) Uninstall the electronics enclosure from the frame of the printer by loosening the 2 M3x10 mounting screws with a 2.5mm Allen Key.
3.) Remove the Einsy RAMBo control board from the stock electronics enclosure by removing the 4 M3x10 mounting screws holding it into the case.
4.) Use a small tool such as a flat head screwdriver to carefully remove the nuts from the stock part.
5.) Clean and prepare the new electronics enclosure for installation.
6.) Install the nuts from the stock enclosure into the new enclosure.
7.) Install the additional four M3 nuts into the new enclosure to allow for the mounting of the Raspberry Pi.
8.) Install the Einsy RAMBo control board into the new enclosure.
9.)EITHER Connect 6 male to female Dupont connectors into the Einsy RAMBo's communication port according to the provided diagram OR Install the premade cable available from LITTLE RED TOASTER DESIGNS into the Einsy RAMBo's communication port
10.) Install the Raspberry Pi with the software prepared in step 1.) into the new enclosure with the use of four M3x10 screws
11.) EITHER Connect the other end of the 6 Dupont connectors into the appropriate Raspberry Pi GPIO pins according to the provided diagram OR Connect the other end of the cable available from LITTLE RED TOASTER DESIGNS into the appropriate Raspberry Pi's GPIO pins
12.) Install the completed Octoprint Raspberry Pi 3/4 control box onto the frame of the printer and reconnect all wires to the Einsy RAMBo according to Prusa's official assembly guide. Specifically, follow steps 8-13, 22-26, 29-38, 43, and 44.
References
Resources
The creation of this case was inspired by lab27's "Prusa I3 MK3 OctoPrint Raspberry Pi 3+ Einsy Case" accessible at the following link:
- OctoPrint Case used for inspiration: https://www.thingiverse.com/thing:3127643
Additionally, for those looking to mount a Raspberry Pi camera to their printer's bed similarly to the method depicted in the first photo, I would recommend using a derivative of burghking's "Fixed Rear Camera Mount v3 (for Prusa MK3 & Pi Cam v2.1)" accessible at the following links:
Original Mount for the Early I3 MK3: https://www.thingiverse.com/thing:2802597
Derivative Mount for Later I3 MK3/MK3S: https://www.thingiverse.com/thing:3032150
Alternatively, for those wanting to mount a Raspberry Pi camera to the x-axis of their printer rather than the bed, I would recommend lab27's "Prusa I3 MK3 Raspberry Pi Camera Mount" accessible at the following link:
- X-Axis Camera Mount: https://www.thingiverse.com/thing:3121052
To cleanly manage the longer ribbon cable required to connect the Raspberry Pi camera, I would suggest either wrapping it around the heated bed's power wires or printing lab27's "Prusa I3 MK3 Pi Camera Cable Management [clips]" to neatly attach the ribbon cable to this wire. This model is accessible at the following link:
- Raspberry Pi Camera Ribbon Cable Management Clips: https://www.thingiverse.com/thing:3102051