Octoprint is a free open source platform to control your 3D Printer remotely from any web browser. In this guide we will go over step by step what it takes to install OctoPrint. Octoprint has many features and plug-ins including webcam, slicer, an easy to navigate GUI and much more! If you are still controlling your printer through a USB cable and PC you’re missing out. Get unplugged with OctoPrint and control your 3D Printer from anywhere without a PC attached.
What hardware do I need to install octoprint?
You need a couple of things in order to get Octoprint installed.
The SBC (Single Board Computer). Octoprint works on a number of these boards. Directly compatible boards to install octoprint on are Raspberry Pi A, B, A+, B+, B2, 3, Zero and Zero W. In this example we are going to use a Raspberry Pi 3 as it is an “out of the box” SBC.
- Raspberry Pi Camera Module or Supported USB WebCAM
- Raspberry Pi 3 Starter Kit or Print this THING
- USB Cable – Printer Main Board to Raspberry Pi Port. (if you don’t already have one)
- USB Micro SDHC Card reader (if you don’t already have one)
That’s it you are now ready to install Octoprint on your raspberry pi!
OctoPrint is the snappy web interface for your 3D printer that allows you to control and monitor all aspects of your printer and print jobs, right from your browser.
Go to http://octoprint.org/download/ and download the current version of Octoprint
This will download a .zip file that will look something like this.
Unzip the files using your preferred archiver. I recommend winrar.
This will extract an .img file into your specified directory.
Ok now we need to burn the .img file to your Micro SDHC Card. To do this we will use a free program called Etcher.
Download Etcher at https://etcher.io/ and install the software.
Using etcher is really easy and happens in 3 steps
- Select the .img file from the directory you extracted it to
- Select your Micro SDHC card
That’s it! You’ll see the progress of the img burn to your sd card.
There is really not much you need to do to get OctoPrint configured. To install octoprint all we need to do now is setup your internet connection.
Open your Micro SDHC card on your pc and you’ll see a file list from when the .img file was burned to the disk.
Find and open the file with notepad++ or another free advanced text editor.
Once you have this open you will see lines of code all starting with “#”. This # comments out the lines and tells the board to ignore that line.
Most commonly you will be setting up at line 26 WPA/WPA2 secured.
To set this up simply remove the # from the 3 lines and provide your SSID Information (wifi name and password).
Save the file and then close the notepad editor.
Insert the Micro SDHC Card in the slot of your Raspberry Pi. Connect your Raspberry Pi to your 3D Printer with the USB cable and any other additional components.
OctoPrint First Boot Screens
Power up your raspberry pi and wait about 1-2 minutes. It needs some time to boot up for the first time.
Finding your OctoPrint IP Address
Login to your router and view your wireless connected devices.
Copy and Paste your IP Address into your browser and you’ll see the Octoprint setup screen;
If you plan to use the Cura Slicer on Octoprint make sure you set your 3D Printers parameters on the printer profile screen. If you are just going to upload .gcode files then you don’t need to set that up but it’s good practice to enter in that info just in case you need it later.
Congratulations you have now learned how to install OctoPrint!
Accessing OctoPrint outside your network
If you want to access your 3D Printer outside of your home network you will need to access the port forwarding settings of you internet router.
Now locate the advanced settings and find where your router has the port forwarding settings…
Make a new entry with your OctoPrint information with External Port set to 80 and use both protocols;
Once saved and enabled you can now enter your public IP address in any browser and control your 3D Printer.
You can find your public IP by going to http://www.whatsmyip.org/ and it will be displayed near the top of the screen.
Enter this public ip address and OctoPrint should appear if it doesn’t or you have other ports open enter you ip address followed by the port number like this: http://XXX.XX.XXX.XX:80
OctoPrint has two modes Guest and Admin;
Guest access: allows users to view each tab but they cannot execute commands.
Admin access: has full privileges.
Be aware that anyone with your public IP can view your OctoPrint with guest access and even the webcam! So make sure you have a strong password and look into securing your OctoPrint even further.
That should get you started on OctoPrint and you’ll soon find how freakin awesome it is! It’s totally worth the time and efforts. It’s free, open source and had a ton of customizable plug-ins. So if you really like throw the developers a donation: http://octoprint.org/support-octoprint/ they’ll sure appreciate it!
Please post any Errors, Comments or Questions you have and please share. Happy printing!
Check out our blog on installing Marlin for Beginners: https://3daddict.com/beginner-guide-marlin-printer-firmware/
Also see some of the best 3d printer tools you should consider buying: https://3daddict.com/best-3d-printing-tools-hardware/