Advertisement
robathome

Klipper instructions

May 14th, 2019
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. 1) Finalizing Octopi installation
  2. > sudo apt-get update
  3. > sudo apt-get upgrade
  4. > sudo apt-get dist-upgrade
  5.  
  6. 2) Configuring the firewall
  7. > sudo apt-get install ufw
  8. > sudo ufw default deny incoming
  9. > sudo ufw default allow outgoing
  10. > sudo ufw allow ssh
  11. > sudo ufw enable
  12.  
  13. 3) Extra packages
  14. > sudo apt-get install pastebinit
  15. > sudo apt-get install git
  16.  
  17. =============== INSTALLING KLIPPER ==================
  18.  
  19. Your control board MIGHT have a bootloader already installed... we find out at step 7
  20.  
  21. 4) Download Klipper source code
  22. > git clone https://github.com/KevinOConnor/klipper
  23. > cd klipper
  24. > ./scripts/install-octopi.sh
  25.  
  26. 5) Configure & build Klipper application
  27. > make menuconfig
  28. - Change "target" to "Atmega1284p"
  29. - Change "programmer" to "USB"
  30. - Save & exit
  31. > make clean
  32. > make
  33.  
  34. 6) Identify COM port
  35. (Connect to the printer by USB)
  36. > ls -l /dev/serial/by-id/*
  37.  
  38. this will return something like:
  39. blah blah blah usb-1a86_USB2.0-Serial-if00-port0 -> ../../ttyUSB0
  40.  
  41. "usb-1a86_USB2.0-Serial-if00-port0" is your serial port ID
  42. "ttyUSB0" is your serial port symlink
  43.  
  44. 7) Stop all communication with the board
  45. - Load the Octoprint page and "Disconnect" if connected
  46. > sudo service klipper stop
  47.  
  48. 7) Flash Klipper firmware to board (adjust the symlink if necessary)
  49. > avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
  50.  
  51. If that last step worked, you're golden! Continue to step 8
  52. If not, you need to find an Arduino board to flash a bootloader
  53.  
  54. 8) Prepare Klipper config file
  55. > cd ~
  56. > cp ./klipper/config/printer-creality-ender3-2018.cfg ./printer.cfg
  57. > sudo nano printer.cfg
  58.  
  59. find the [mcu] section and change
  60. serial: (whatever)
  61. to
  62. serial: usb-1a86_USB2.0-Serial-if00-port0 (your serial port ID)
  63.  
  64. 9+) From here, you should be able to follow the instructions found on the first Google hit for "Klipper Installation"
  65.  
  66.  
  67. ===================== RUNNING WITHOUT KLIPPER =======================
  68.  
  69. If you can't/won't/don't use Klipper, you can still do something about the shitty default settings from the factory...
  70.  
  71. For maximum effect, try printing an "XYZ Calibration Cube" downloaded from Thingiverse.com first, with default settings
  72. That model is the de facto standard for tuning your printer. Once you get that looking right, then try a Benchy.
  73.  
  74. Once you've printed a cube or two, try changing some firmware settings:
  75.  
  76. Adjust the hotend PID settings:
  77. M301 H1 P18.28 I1.28 D65.48
  78.  
  79. Crank up the speed:
  80. M201 X5000 Y5000 Z3000 E7500
  81. M203 X6000 Y6000 Z3000 E10000
  82. M205 X5 Z2 E6
  83.  
  84. You can add those to your start-up script, I don't think you can save them... You can try M500
  85.  
  86. M500 <--- saves current settings to long-term memory
  87. M501 <--- overwrites current settings with settings in long-term memory
  88. M502 <--- overwrites all settings (short- and long-term) with factory defaults
  89. M503 <--- prints current settings to screen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement