PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (2024)

Relevant for

:

MK3MK3SMK3S+

Last updated a year ago

This article is also available in following languages:

Raspberry Pi Zero W has no 5GHz Wi-Fi (only 2.4GHz), and a somewhat weak processor. It does not support using a large amount of Octoprint-plugins or streaming of video and is not officially recommended by the OctoPrint project. Use more powerful models like the 3B+ or the latest RPI 4 to take full advantage of Octoprint. However, they do need to be connected by USB, plus they need a separate PSU, which results in a less clean setup.

In this article, we will outline the preparations and configurations necessary to outfit your MK3S with Octoprint using a Raspberry Pi Zero. Here we will go through how to solder the correct GPIO pins and connecting the Raspberry Pi to the printer.

PRUSAPRINT (PRUSA'S CUSTOM OCTOPRINT IMAGE) IS NOW OUTDATED AND NO LONGER BEING MAINTAINED! This solution has been superseded by PrusaLink and Prusa Connect.
If you wish to use Octoprint, we recommend following the guide to creating your own Octoprint image.

You can run Octoprint from most versions of the Raspberry Pi (Zero, 2, 3, 3B, etc.), but this is covered in a different article. We have chosen the Raspberry Pi Zero W for this tutorial, as it integrates neatly with the MK3s Einsy RAMBo with no need for an external power supply.

This guide is not covering any other fruit alternatives, like Banana Pi, Orange Pi, etc.

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (7)

Distinguish between models Pi Zero W and Pi Zero. The letter"W"stands forWireless. Buying a cheaper Pi Zero without WiFi will not work with this guide!

Parts and preparations

To complete this guide you need the following components:

  • Raspberry Pi Zero W
  • 2x20-pin Strip Dual Male Header, with 18 mm pins.
  • Micro SD card of at least 8GB (16 GB is recommended).
  • Printed RPi Zero Frame.

To create a connection between RPi Zero W and EINSY board you need a GPIO header which you solder to the RPi board. You need a break-away 2x20-pin Strip Dual Male Header, the version with 18 mm pins. These types of headers come in different versions, but the crucial part is that they are 18 mm long.

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (8)

2x20-pin Strip Dual Male Header

Now that you have your Pi and the pins, they need to be installed to the Einsy Rambo. To ensure the correct position of pins and optimal distance, our developers created a printed part, the RPi Zero Frame, which is placed between RPi Zero and EINSY board. This is also used as a template when soldering the pins, ensuring they go where they should.

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (9)

RPi Zero Frame

RPi Zero Frame can be downloaded here. Recommended settings for print are profile 0.2 SPEED and material PETG or ABS.

The RPi Zero Frame is not fully compatible with the RPi Zero 2 layout. Be careful if using it or seek out a remix.

Soldering the GPIO pins

Certain parts of this guide require the usage of soldering and cutting tools. Please read carefully the instructions for such devices/tools and use personal protective equipment. Prusa Research does not assume responsibility, and expressly disclaim liability for loss, injuries, or damage.

Prepare a piece of the GPIO-header, as in the illustration above, by simply breaking off the length you need and pulling out the pins you do not need with some pliers (right picture).

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (10)PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (11)

We are connecting this header to the UART pins (5V, GND, TXD, RXD) for serial communication, and to GPIO22 as mechanical support.

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (12)

Sandwich the printed frame, the RPi Zero, and the GPIO pins together like is shown in the right picture below, Make sure the tips of the GPIO pins stick out about 1 mm, from the correct holes. You are now ready to solder the pins.

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (13)PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (14)

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (15)

When soldering, you need the solder to "flow", creating a proper bond between the pins and the pads on the RPi Zero. If you end up with balls and blobs you need to reflow it for a proper bond. The solder needs to be clinging to the pins and the pads. You want "cones" as in the pictures above and below. Most solder will also turn shiny if done correctly. If you have no experience soldering we recommend looking up some videos on the basics.

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (16)

Installation of SD card

The RPi Zero W hardware is now ready to be installed to the Rambo case, but for the lack of access once installed, you first need to prepare the SD-card which runs its operating system.

  • Build and configure your own image from scratch

PRUSAPRINT (PRUSA'S CUSTOM OCTOPRINT IMAGE) IS NOW OUTDATED AND NO LONGER BEING MAINTAINED! This solution has been superseded by PrusaLink and Prusa Connect. If you wish to use Octoprint, we recommend following the guide to creating your own Octoprint image.

Connecting the RPi Zero to your printer

  1. Make sure the printer is turned off and carefully cut all the indicated plastic parts and remove the cut-out part. During the cutting process, MAKE SURE YOU DON'T CUT the Einsy board!!!
PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (17)PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (18)

On the MK3 (non S) there might not be this prepared area to cut. You can still cut it out, but this is a bit scary and you won't have the protective cover. We recommend printing the latest version of the Rambo-case.

  1. Slot the RPi Zero, with its frame, into the connector holes indicated below (green square). Then fit the cover to protect the RPi Zero W (purple arrows).

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (19)

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (20)PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (21)
  1. Make sure the RPi Zero is properly installed by inspecting the connector on the other side of the Einsy Rambo (green arrows). Notice that the position of the support pin is in the corner (purple arrow).

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (22)

Checking if the RPi works

Go to the printer's LCD menu -> Settings -> RPi port, and make sure it is set to ON. Return to the printer's home screen. Now, wait for a few minutes. The RPi Zero is not a superfast computer and it needs time to boot.

PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (23)

Then open the browser and try opening a website: octopi.local. If octopi.local doesn't work, please use the following steps: Check your router for a new IP address, using an app like Fing, or wait until the address is displayed on the printer's display.

As soon as you have the IP, open a web browser on your PC, type it in, and hit Enter. If the Octoprint webpage loads, you can continue.

Troubleshooting

OctoPrint provided by Prusa Research is tested and is confirmed to be booting correctly. If you can't access the web interface, check the following:

  • Is the RPi port enabled on your printer?
  • Did you enter the correct Wi-Fi name (SSID) and password?
  • Is the RPi Zero W correctly plugged in the EINSY RAMBo board?
  • Are you connected to the same Wi-Fi network?
PrusaPrint (Rpi Zero and Octoprint) | Prusa Knowledge Base (2024)

FAQs

Is pi zero enough for OctoPrint? ›

A Pi Zero W is hardly enough for OctoPrint. An additional Camera will overload it.

What is the difference between RPI zero and RPI zero W? ›

The Raspberry Pi Zero ports are one micro USB port, a mini HDMI port, and a micro USB power port. On the other hand, the Raspberry Pi Zero W has all the features of the Pi Zero. Also, it adds WiFi and Bluetooth connectivity.

What is the minimum pi for OctoPrint? ›

Required parts

A Raspberry Pi A, A+, B, B+, 2B, 3A+, 3B, 3B+, 4B 1/2/4GB, or Zero W/2 + PSU. WiFi dongle if your RasPi does not have built-in WiFi. USB Cable: Original Prusa i3: USB type-A cable.

What Raspberry Pi is good for OctoPrint? ›

OctoPrint supports older Raspberry Pi devices, but this tutorial uses a 2GB Raspberry Pi 4 Model B for a faster, smoother experience.

How much RAM does OctoPrint need? ›

OctoPrint requires 2GB of RAM to function properly.

What is the best platform for OctoPrint? ›

Easiest option: Raspberry Pi

The Raspberry Pi boards are the easiest option for OctoPrint since the developers provide OctoPi, a Raspberry Pi operating system that runs OctoPrint out of the box. If you don't know a lot on how to use GNU/Linux and you're not planning to learn, this is your best option.

Why is Raspberry Pi Zero W so expensive? ›

Scalpers skyrocket Raspberry Pi prices

Seeing an opportunity here, scalpers entered the market and bought Raspberry Pi computers at official prices and flipped them on other marketplaces for multiple times their value.

What is the most powerful Raspberry Pi Zero? ›

Raspberry Pi Zero 2 W Board

This mini-computer is equipped with a quad-core 64-bit Arm Cortex-A53 powerful processor, clocked at 1 GHz, giving it 40% more single-threaded performance and 5 times more multi-threaded performance than the Raspberry Pi Zero.

Is OctoPrint still relevant? ›

Octoprint or OctoPi is the most used and supported 3D printer management software available. Unless you have some specific need that it can't address, then I think it's the best place to start since it's free and has a robust community to help you get stated.

How many printers can you run on OctoPrint? ›

Each OctoPrint install can only connect to one printer at a time. You can run multiple OctoPrint instances on one Pi, that's fine. They will run independently of each other. You can install multiple instances using octoprint_deploy - a link is available on the homepage.

Is 2GB Raspberry Pi enough for OctoPrint? ›

The cheapest version (should be 2GB) is more than enough. This has no effect on your ability to stream.

Can a pi zero run OctoPrint? ›

If you wish to use Octoprint, we recommend following the guide to creating your own Octoprint image. You can run Octoprint from most versions of the Raspberry Pi (Zero, 2, 3, 3B, etc.), but this is covered in a different article.

What Raspberry Pi should I buy for 3D printing? ›

Raspberry Pi Model 4

It also comes with two USB 2.0 and two 3.0 ports, Bluetooth 5.0, 802.11ac Wi-Fi, and full-speed Ethernet. The connectivity upgrade is especially important for controlling 3D printers with OctoPrint. The 1.5GHz Quad core Cortex-A72 (ARM v8) 64-bit processor in the RPi 4 improves its performance.

What are the limitations of Raspberry Pi Zero? ›

Most notably, the Raspberry Pi Zero lacks self-sufficient I/O options. You get a single Micro USB port for connecting hardware, with another port of the same kind reserved for power input — forcing you to carry around a USB hub if you wish to attach any meaningful devices to the computer.

Can Pi Zero run RetroPie? ›

Choose the right Raspberry Pi

Although RetroPie will work on any Raspberry Pi, even the $5 Raspberry Pi Zero, we recommend using one with as much RAM as possible. More RAM means a smoother gaming experience. For this tutorial, we'll be using an 8GB Raspberry Pi 4.

What OS should I run on pi zero? ›

Installing the OS. Before powering on your Pi Zero W you'll need to flash an image of the Raspberry Pi OS (or if you prefer, a third party operating system that work with Raspberry Pi) to the microSD card included with the Basic Kit.

References

Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 6378

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.