This is an old revision of the document!
Table of Contents
(work in progress Sam :) )
PIZERO OCTOPI
This quick guide is an example of how you can you a Raspberry Pi ZERO W as an Octoprint controller.
The recommended setup is still to use a Raspi3, as it has more CPU power and full width USB ports, however I do believe a PiZero setup works quite well, and has the benefit to be extremely small, non invasive, and can even fit on the A3S/A5 screws in an elegant way.
Detail
SERIAL PORT
You should setup the Octoprint to use /dev/ttyAMA0 if the βautoβ setting does not work. You should hardwire the data rate at 250,000
CAMERA
You should use the 4:3 setting in Octoprint. By default, the camera streams at 640×480 which is very low resolution. The PiV3 is able to do up to 4000×2000. However, I don't recommend you go much higher than that, as Octopi is already streaming at a ridiculous 10Mbps for that resolution. Also, the focus of the V2 is not very sharp anyway, so it's a bit of a waste of bandwidth. YMMV.
Should you wish to change the resolution of the cam, edit /boot/config.txt
Here are some settings you can try
#default : 640×480 10fps. Streams at 10Mbps which is already a lot. camera_raspi_options=β-fps 10β
# Raspberry Pi Camera V2, half resolution, video mode, full field of view (4:3 aspect) at 10fps # Notes: Streams at 30Mbps ! #camera_raspi_options=β-x 1640 -y 1232 -fps 10 -quality 95β # # Raspberry Pi Camera V2, maximum resolution, stills mode, full field of view (4:3 aspect) at 15fps # Notes: Very slow for streaming, large images. Less image processing, generally looks worse #camera_raspi_options=β-x 3280 -y 2464 -fps 15 -usestills -quality 95β # # Raspberry Pi Camera V1/V2, 1080P, partial field of view (16:9 aspect) at 30fps # Notes: Using 16:9 aspect crops your field of view so you will see less #camera_raspi_options=β-x 1920 -y 1080 -fps 30 -quality 95β # # Raspberry Pi Camera v2, 720P, partial field of view (16:9 aspect) at 30fps # Notes: Using 16:9 aspect crops your field of view so you will see less #camera_raspi_options=β-x 1280 -y 720 -fps 30 -quality 95β
Hardware setup
in progress