User Tools

Site Tools


x40:octoprint

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
x40:octoprint [2023/01/30 13:34]
mao
x40:octoprint [2023/01/31 14:58] (current)
mao
Line 8: Line 8:
  =====Our Customized OctoPi=====  =====Our Customized OctoPi=====
 This is the easiest way to use OctoPrint on a Raspberry Pi\\ This is the easiest way to use OctoPrint on a Raspberry Pi\\
-====Download Image====+====1.Download Image====
 [[https://github.com/WEEDO3DTECH/OctoPi/releases/download/v1.8.6/2022-09-22-raspios-bullseye-armhf-lite-eww.xz|Download our custom version of OctoPi]] .\\ [[https://github.com/WEEDO3DTECH/OctoPi/releases/download/v1.8.6/2022-09-22-raspios-bullseye-armhf-lite-eww.xz|Download our custom version of OctoPi]] .\\
-====Install image tool==== +====2.Install image tool==== 
-Download the latest version of [[https://www.raspberrypi.com/software/|Raspberry Pi Imager]] and install it. If you want to use Raspberry Pi Imager from a second Raspberry Pi, you can install it from a terminal using **sudo apt install rpi-imager**\\ +Download the latest version of [[https://www.raspberrypi.com/software/|Raspberry Pi Imager]] and install it. \\ 
-====Flash image====+====3.Flash image====
 Then: Then:
   *Connect an SD card reader with the SD card inside.   *Connect an SD card reader with the SD card inside.
Line 18: Line 18:
   *Choose the SD card you wish to write your image to.   *Choose the SD card you wish to write your image to.
   *Review your selections and click on the Write button to begin writing data to the SD Card.   *Review your selections and click on the Write button to begin writing data to the SD Card.
 +====4.Connect Printer====
 +Select X40 from the "Printer Profile" settings, and connect the printer with 115200 baud rate.
 +{{:octoprint:x40-octoprint-connect.png?600|}}\\
  
 ---- ----
Line 43: Line 46:
   wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel-headers_1.20201126-1_armhf.deb    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/ ; \\ (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: **uname -r**)\\+Use this command to check which version of your Linux kernel is: **uname -r**)\\
 \\ \\
 Install the header file : Install the header file :
Line 49: Line 52:
 {{:octoprint:4install-header.png?400|}} {{:octoprint:4install-header.png?400|}}
  
-===b)Download the CH340 serial driver source code and unzip it===+===b)Download the CH340/CH341 serial driver source code and unzip it===
   wget http://www.weedo3dprinter.com/lib/exe/fetch.php/firmware/ch341ser_linux-kernel5.4.79.zip   wget http://www.weedo3dprinter.com/lib/exe/fetch.php/firmware/ch341ser_linux-kernel5.4.79.zip
   unzip ch341ser_linux-kernel5.4.79.zip   unzip ch341ser_linux-kernel5.4.79.zip
Line 62: Line 65:
   sudo depmod   sudo depmod
 {{:octoprint:7copy.png?400|}} {{:octoprint:7copy.png?400|}}
 +
 ====5.Reboot your Raspberry Pi and Connect the printer with its baud rate==== ====5.Reboot your Raspberry Pi and Connect the printer with its baud rate====
-{{:octoprint:8tina2s-connect.png?600|}}+===a)Reboot your Raspberry Pi, then add X40 settings to the profile.=== 
 +{{:octoprint:x40-octoprint-settings_1_.png?400|}} 
 +{{:octoprint:x40-octoprint-settings_2_.png?400|}} 
 +{{:octoprint:x40-octoprint-settings_3_.png?400|}} 
 +{{:octoprint:x40-octoprint-settings_4_.png?400|}} 
 + 
 +===b)Connect printer with 115200 baud rate=== 
 +{{:octoprint:x40-octoprint-connect.png?600|}}\\
  
 ---- ----
  
 =====Install OctoPrint from source on a Raspberry Pi===== =====Install OctoPrint from source on a Raspberry Pi=====
-This installation method is a bit complicated, if you do not have programming skills, we do not recommend you to use this method+This installation method is a bit complicated, if you do not have programming skills, we do not recommend you to use this method.
 ====1.Install OctoPrint==== ====1.Install OctoPrint====
 Install OctoPrint following the [[https://community.octoprint.org/docs|OctoPrint community documents]].\\ Install OctoPrint following the [[https://community.octoprint.org/docs|OctoPrint community documents]].\\
 \\ \\
-**If you can connect the printer with OctoPrint**, skip to section 3.\\+**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: **If you can not connect the printer with OctoPrint**, continue with section 2 to update the serial driver of CH341:
Line 82: Line 93:
 ===b)Install your Linux kernel header package=== ===b)Install your Linux kernel header package===
   sudo apt install raspberrypi-kernel-headers   sudo apt install raspberrypi-kernel-headers
-===c)Download the CH340 serial driver source code and unzip it===+===c)Download the CH340/CH341 serial driver source code and unzip it===
   wget http://www.weedo3dprinter.com/lib/exe/fetch.php/firmware/ch341ser_linux-kernel5.4.79.zip   wget http://www.weedo3dprinter.com/lib/exe/fetch.php/firmware/ch341ser_linux-kernel5.4.79.zip
   unzip ch341ser_linux-kernel5.4.79.zip   unzip ch341ser_linux-kernel5.4.79.zip
Line 94: Line 105:
   sudo cp ch34x.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial/   sudo cp ch34x.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial/
   sudo depmod   sudo depmod
-{{:octoprint:7copy.png?400|}} +{{:octoprint:7copy.png?400|}}\\ 
-====3.Reboot your Raspberry Pi and Connect the printer with its baud rate==== + 
-{{:octoprint:8tina2s-connect.png?600|}}+====3.Reboot your Raspberry Pi and connect the printer with its baud rate==== 
 +===a)Reboot your Raspberry Pi, then add X40 settings to the profile.=== 
 +{{:octoprint:x40-octoprint-settings_1_.png?400|}} 
 +{{:octoprint:x40-octoprint-settings_2_.png?400|}} 
 +{{:octoprint:x40-octoprint-settings_3_.png?400|}} 
 +{{:octoprint:x40-octoprint-settings_4_.png?400|}} 
 + 
 +===b)Connect printer with 115200 baud rate=== 
 +{{:octoprint:x40-octoprint-connect.png?600|}}
  
x40/octoprint.1675056896.txt.gz · Last modified: 2023/01/30 13:34 by mao