Research

Octoprint and Raspberry Pi

After my SD slot stopped working, WiFi printing didn’t work, and USB tether was going no where, I was left with no choice but to try using OctoPrint. I’m just going to follow the instructions on Octoprint’s download section of their website. It all seems fairly straight forward, although I have already completed two retropie raspberry pi projects which is definitely beneficial.


If you end up liking OctoPrint, then google other cool uses for the Raspberry Pi such as RetroPie!

TL;DR:

Buy a Raspberry Pi and watch this video to install OctoPrint, you will not regret it!


COMMENCE THE NERDINESS

If you’re new to the rpi game and don’t have one, then go on Amazon and order a kit (for example: CanaKit Raspberry Pi 3 B+ (B Plus) Starter Kit $79).

You can also spend way more than necessary to buy a kit from OctoPrint with the software already installed.

My recommendation is buy your own Rpi and follow the steps below.

1. Download the Octoprint files

2. Extract the files  (with any unzip tool) and write them to a freshly formatted micro SD card with Win32DiscImager

3. Configure your WiFi connection by editing octopi-wpa-supplicant.txt on the root of the flashed card when using it like a thumb drive

  • Important: Do not use WordPad (Windows) or TextEdit (MacOS X)for this, those editors are known to mangle the file, making configuration fail
  • Use something like Notepad++, Atom or VSCode instead or at the very least heed the warnings in the file (I use Notepad++)

4. Safely eject the micro SD card from your computer and plug it into the Raspberry Pi’s SD card slot

5. Plug the raspberry pi into the printer using the USB to micro USB cable

6. Plug in a wifi adapter (if your rpi doesn’t have built in wifi, the rpi 3b does)

7. After those two steps are done plug in the power cord

8. Use the Windows Command program and type in “ping octopi.local”

  • I was not able to ping this, so I had to troubleshoot my wifi settings
  • My problem was I forgot to remove the “#” signs in the wifi code, so they were still considered comments 🤦… easy fix though, so let’s plug it back in the PC, fix the code, and try again!
  • Well, I wasn’t able to use the command line to ping it, but I went into my router (I use Google Wifi) the device shows up! LET US ALL REJOICE!!!!  

9. So back on track, I’m going to use “PuTTY” to SSH into the octopi

  • Okay, so “octopi.local” did not work for me
  • I had to go into my google router and find the IP address to log in
  • If you don’t know how to do this, you are going to have to google your router model and ask the internet
  • for example: “how do I find my device IP on google wifi”
I wish you the best of luck with that

10. When you finally connect:

  • username: pi
  • password: raspberry

11. Type in “passwd” and change the password Type in “sudo raspi-config”

  • DO NOT FORGET THE HYPHEN like I did

12. Select “Advanced Settings” –> “Expand Filesystem” –> “Finish” and reboot the pi

13. Now we can go into the web browser! Rejoice! Open up web browser of choice and type in “http://octopi.localSUCCESS!!!! 🙌🙌🙌🙌

SUCCESS!!!!

Alright, well now it is all set up, but I have no idea how to print…… but that journey will start in the next blog Fall Out Coin 3: Putting the “Print” in OctoPrint!

Smooshy’s proud of you!

Leave a Reply