How To Install Octoprint On A Raspberry Pi

Octoprint is the go-to 3D printer controller for many enthusiasts for a good reason. This open-source web interface communicated with OctoPi software to give 3D printers smart features without needing ahardware upgrade. With Octoprint, users can remotely monitor their 3D printer’s temperatures, initiate printing jobs, monitor a webcam feed, create time-lapses, and update the printer’s firmware.

One of the major reasons enthusiasts love Octoprint is that it’s compatible with manymajor 3D printer brands. It also is not relegated to a PC. Although you can install it on Windows or Linux, you can also run it on a compact device like a Raspberry Pi. Octoprint recommends Raspberry Pi 3B, 3B+, 4B, or Zero 2 hardware for the software. It advises against using Raspberry Pi Zero and Zero W.

Raspberry Pi Imager setup window

To install OctoPi on a Raspberry Pi, you will need an SD card to function as the boot disc. This means you’ll need a computer with an SD card slot or an external reader. But be warned, installing OctoPi on an SD card will delete all the contents on the device, so back up your data if needed.

Installation process

The OctoPi installation is done through the Raspberry Pi Imager. This program allows users to install Raspberry Pi’s official operating system and can befound on its website. To install the OctoPi branch of the OS, follow these steps:

Before initiating the writing process, there are a few settings you may want to adjust. To access these settings, click the cog icon at the bottom right of the Raspberry Pi Imager window. From here, you can Set the device’s hostname, enable SSH, and set up a username and password. To configure a wireless LAN connection, you will need to input your connection’s SSID and password on this page.

OctoPrint UI

After you have everything set up to your liking, close out of the options menu and select Write on the main Raspberry Pi Imager window. Accept any popup boxes that the imager presents to complete the installation process.

First time setup

There are a few different ways to access the Octoprint browser menu. The easiest way is to type in the hostname you input during the installation into your address bar. But this only works if your computer supports Bonjour. You can also use http://octopi.local and http://(your Pi’s IP address).

Once you get to the main Octoprint tab, click Save Connection Settings at the top left, then click Connect. To start printing, you can upload files by dragging them directly into the Octoprint window.

OctoPrint Dashboard tab plugin

How to install plugins

Plugins let you further customize your Octoprint setup. Some let the user adjust the look of the web interface, while others, such asOctodash, can add new features, such as allowing the user to set up a touchscreen interface on your 3D printer. There are two ways to install Octoprint plugins. The simplest way is to use the Plugin Manager in Octoprint. Here’s how to do it:

The second way to install plugins is via a command line. Each plugin will have a Command Line section listed on its page. Copy and paste that line into your Raspberry Pi and execute it. It will then download the file from the web and install it.