Klipper + ADXL345 Input Shaper guide: Difference between revisions

From munkjensen.net/wiki
No edit summary
No edit summary
Line 15: Line 15:
<blockquote><pre>sudo cp ~/klipper/scripts/klipper-mcu-start.sh /etc/init.d/klipper_mcu
<blockquote><pre>sudo cp ~/klipper/scripts/klipper-mcu-start.sh /etc/init.d/klipper_mcu
sudo update-rc.d klipper_mcu defaults</pre></blockquote>
sudo update-rc.d klipper_mcu defaults</pre></blockquote>
# Rebuild the microcontroller code
<blockquote><pre>cd ~/klipper/
make menuconfig</pre></blockquote>
#
#
#
#
#
#
#
#  
#  
#  
#  

Revision as of 10:13, 27 November 2021

Guide

  1. Aquire an ADXL345
  2. Solder 6 wires on to the ADXL345.
  3. Monut the ADXL to you Extruder. If you got a moving printbed as X you need to move the ADXL345 halfway into the calibration guide. Watch NEROs video!
  4. Connect the 6 wires to your Raspberry Pi - DO it correct please or you COULD risk frying either your ADXL345, Your Raspberry Pi... or both ;-)
  5. Install the software - if you havent done so already.
  6. Update your Raspberry Pi:
sudo apt update -y
sudo apt upgrade -y
  1. Install "numpy" - Note: this will take quite some time - NERO says 20 minutes. It was faster on my Raspberry Pi 4 but still...
~/klippy-env/bin/pip install -v numpy
  1. Install additional dependencies
sudo apt install python-numpy python-matplotlib
  1. Configure your Raspberry Pi as a secondary MCU - Note: I got this working together with screen on my Creality Ender 5 Plus :-)
sudo cp ~/klipper/scripts/klipper-mcu-start.sh /etc/init.d/klipper_mcu
sudo update-rc.d klipper_mcu defaults
  1. Rebuild the microcontroller code
cd ~/klipper/
make menuconfig

Credits

I wrote this guide using NERO 3Ds Youtube video as inspiration, so I hade the commands needed handy to cut'n paste into my Raspberry Pi when ever I want to rerun the calibration.