Raspberry Pi 5 / OctoPrint

Hello, I just received my RPi 5 in the mail. I did not realize that octoprint would be such a pain to use on this Pi. I've tried a few things and i'm not having any luck. I need a step by step guide to get this to work if anyone could help me out or walk me through the process.

two options.

  1. Use Pi Imager to install pi os lite, then follow the steps here: GitHub - paukstelis/octoprint_deploy: Bash script for rapid deployment of multiple octoprint instance on a single machine, the General Linux setup instructions.
  2. Download and flash a nightly build of OctoPi that is compatible with pi 5: https://unofficialpi.org/Distros/OctoPi/nightly/2024-09-06_2024-07-04-octopi-bookworm-armhf-lite-1.1.0.zip. With this option you'll more than likely need to make sure to keep the default username pi in pi imager.

I guess it’s too complicated for me to figure out. I literally have no idea what I’m doing

So the octoprint_deploy method is basically the same process as described here: https://youtu.be/xAaAy7UPtF8?t=1029&si=FPgaQx_I7SmFdM6p and maybe this will help with pi os install side: https://youtu.be/UtLyX72-688?si=GdzgAAiXeATyLrRZ in case your more of a visual learner.

I got through the getting it installed part...what I'm struggling with is it will randomly drop serial connection to the printer mid-print. I figured out it is only when I use my Logitech C920 USB webcam. I am using an official 5A power supply, but I think it is under-volting and something is throwing the print out of whack.

I can run and use Octoprint to its fullest without the webcam, no errors. I've reduced resolution and framerate to 780x480 15 but it still happens. Perhaps its the USB cable allowing a two way flow? No clue. But for now I'm only able to use Octoprint as a webcam stream and am printing via SD card.

Probably all the EMI on the cable just like with the printer cable. I would make a power injector adapter and run only data and ground and then inject a seperate USB power supply to take the load off the Pi for the camera and make sure all the cables are away from each other.

1 Like

A USB powered hub could also be a solution. Something like this.

1 Like

I ended up cutting the power wire of a high-quality USB. I figured out that while the printer was powered off, if I connected the Pi, it would power the printer display, so it was drawing power from the Pi. I'm 3.5 hours into a print and no issues so fingers crossed that it was just putting too much draw on the Pi. Powered USB hub is next step.

backpowering is not an uncommon issue.

To those interested: cutting the power wire did NOT work and it ended up throwing the serial exception error. I'm trying a powered USB hub today and a new printer E3v2Neo.