Octoprint

From B-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

OctoPrint setup

  • Octoprint Creality Ender 3
  • Octoprint Creality CR6 SE
  • Webcap Octoprint
  • Base guide: https://community.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspbian/2337

    VM How to connect

    • Open ssh session
    • Create a virtual desktop using vncserver

    <syntaxhighlight lang="Bash"> pi@raspberrypi:~ $ vncserver -geometry 1920x1080 </syntaxhighlight>

    • Connect to the virtual desktop

    <syntaxhighlight lang="Bash"> Address 192.168.2.5:1 <- :1 is the desktop number </syntaxhighlight>

    • Kill the desktop when not needed

    <syntaxhighlight lang="Bash"> pi@raspberrypi:~ $ vncserver -kill :1 </syntaxhighlight>

    Serial install ch340

    <syntaxhighlight> download pi@raspberrypi:~ $ wget https://github.com/aperepel/raspberrypi ... 7/ch34x.ko

    check pi@raspberrypi:~ $ lsmod Module Size Used by bnep 12051 2 hci_uart 20020 1 btbcm 7916 1 hci_uart bluetooth 365511 22 hci_uart,bnep,btbcm brcmfmac 222874 0 brcmutil 9092 1 brcmfmac cfg80211 543027 1 brcmfmac rfkill 20851 4 bluetooth,cfg80211 snd_bcm2835 24427 1 snd_pcm 98501 1 snd_bcm2835 snd_timer 23968 1 snd_pcm snd 70032 5 snd_timer,snd_bcm2835,snd_pcm bcm2835_gpiomem 3940 0 evdev 12423 6 joydev 9988 0 uio_pdrv_genirq 3923 0 uio 10204 1 uio_pdrv_genirq fixed 3285 0 i2c_dev 6913 0 fuse 99603 3 ipv6 408971 70

    go towards pi@raspberrypi:~ $ cd /lib/modules/$(uname -r)/kernel/drivers/usb/serial

    Install first pi@raspberrypi:/lib/modules/4.9.35-v7+/kernel/drivers/usb/serial $ sudo insmod usbserial.ko

    Check once again pi@raspberrypi:/lib/modules/4.9.35-v7+/kernel/drivers/usb/serial $ lsmod Module Size Used by usbserial 29943 0 <===== Need be installed FIRST bnep 12051 2 hci_uart 20020 1 btbcm 7916 1 hci_uart bluetooth 365511 22 hci_uart,bnep,btbcm brcmfmac 222874 0 brcmutil 9092 1 brcmfmac cfg80211 543027 1 brcmfmac rfkill 20851 4 bluetooth,cfg80211 snd_bcm2835 24427 1 snd_pcm 98501 1 snd_bcm2835 snd_timer 23968 1 snd_pcm snd 70032 5 snd_timer,snd_bcm2835,snd_pcm bcm2835_gpiomem 3940 0 evdev 12423 6 joydev 9988 0 uio_pdrv_genirq 3923 0 uio 10204 1 uio_pdrv_genirq fixed 3285 0 i2c_dev 6913 0 fuse 99603 3 ipv6 408971 68

    NOW, install ch341.ko pi@raspberrypi:/lib/modules/4.9.35-v7+/kernel/drivers/usb/serial $ sudo insmod ch341.ko

    Voilá !!! pi@raspberrypi:/lib/modules/4.9.35-v7+/kernel/drivers/usb/serial $ lsmod Module Size Used by ch341 6086 0 <==== Must be here first usbserial 29943 1 ch341 <==== Can you see me now ? bnep 12051 2 hci_uart 20020 1 btbcm 7916 1 hci_uart bluetooth 365511 22 hci_uart,bnep,btbcm brcmfmac 222874 0 brcmutil 9092 1 brcmfmac cfg80211 543027 1 brcmfmac rfkill 20851 4 bluetooth,cfg80211 snd_bcm2835 24427 1 snd_pcm 98501 1 snd_bcm2835 snd_timer 23968 1 snd_pcm snd 70032 5 snd_timer,snd_bcm2835,snd_pcm bcm2835_gpiomem 3940 0 evdev 12423 6 joydev 9988 0 uio_pdrv_genirq 3923 0 uio 10204 1 uio_pdrv_genirq fixed 3285 0 i2c_dev 6913 0 fuse 99603 3 ipv6 408971 68 </syntaxhighlight>

    Hardware

    Hardware Picture Link
    Raspbery Pi
    https://www.raspberrypi.org/downloads/raspbian/
    TFT
    Configuration for the TFT
    Camera 3EYE
    Configuration for the 3EYE

    Install grblControll