For more products please visit http://www.weedo.ltd / https://www.weedo3d.com
For more products please visit http://www.weedo.ltd / https://www.weedo3d.com
There are three ways to install OctoPrint on a Raspberry Pi:
This is the easiest way to use OctoPrint on a Raspberry Pi
Download the latest version of Raspberry Pi Imager and install it.
Then:
The latest version of OctoPi is 0.18.0 released on Jan 25, 2021. This version of OctoPi needs to update the serial driver of ch340/ch341.
Unzip the guysoft/OctoPi image and install it to an sd card according to the installation instructions of guysoft/OctoPi.
Check if the ch340/ch341 serial driver already exists:
ls /lib/modules/$(uname -r)/kernel/drivers/usb/serial/
Delete it:
sudo rm /lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch341.ko
The Linux kernel version of OctoPi V0.18.0 is 5.4.79, so we download the corresponding header file installation package.
wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel-headers_1.20201126-1_armhf.deb
(If your Linux kernel version is not 5.4.79, download the corresponding one from http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/ ;
Use this command to check which version of your Linux kernel is: uname -r)
Install the header file :
sudo dpkg -i ./raspberrypi-kernel-headers_1.20201126-1_armhf.deb
wget http://www.weedo3dprinter.com/lib/exe/fetch.php/firmware/ch341ser_linux-kernel5.4.79.zip unzip ch341ser_linux-kernel5.4.79.zip
This installation method is a bit complicated, if you do not have programming skills, we do not recommend you to use this method.
Install OctoPrint following the OctoPrint community documents.
If you can connect the printer by baud rate 115200, skip to section 3.
If you can not connect the printer with OctoPrint, continue with section 2 to update the serial driver of CH341:
sudo apt-get update sudo apt-get install raspberrypi-bootloader raspberrypi-kernel sudo reboot
sudo apt install raspberrypi-kernel-headers
wget http://www.weedo3dprinter.com/lib/exe/fetch.php/firmware/ch341ser_linux-kernel5.4.79.zip unzip ch341ser_linux-kernel5.4.79.zip