Klipper + ADXL345 Input Shaper guide: Difference between revisions

From munkjensen.net/wiki
No edit summary
No edit summary
Line 6: Line 6:
# Install the software - if you havent done so already.
# Install the software - if you havent done so already.
# Update your Raspberry Pi:  
# Update your Raspberry Pi:  
<blockquote><pre>sudo apt update -y
# <blockquote><code>sudo apt update -y</code></blockquote>
sudo apt upgrade -y</pre></blockquote>
# <blockquote><code>sudo apt upgrade -y</code></blockquote>
# Install "numpy" - ''Note: this will take quite some time - NERO says 20 minutes. It was faster on my Raspberry Pi 4 but still...''
# Install "numpy" - ''Note: this will take quite some time - NERO says 20 minutes. It was faster on my Raspberry Pi 4 but still...''
<blockquote><pre>~/klippy-env/bin/pip install -v numpy</pre></blockquote>
# <blockquote><code>~/klippy-env/bin/pip install -v numpy</code></blockquote>
# Install additional dependencies
# Install additional dependencies
<blockquote><pre>sudo apt install python-numpy python-matplotlib</pre></blockquote>
# <blockquote><code>sudo apt install python-numpy python-matplotlib</code></blockquote>
# Configure your Raspberry Pi as a secondary MCU - ''Note: I got this working together with screen on my Creality Ender 5 Plus :-)''
# Configure your Raspberry Pi as a secondary MCU - ''Note: I got this working together with screen on my Creality Ender 5 Plus :-)''
<blockquote><pre>sudo cp ~/klipper/scripts/klipper-mcu-start.sh /etc/init.d/klipper_mcu
# <blockquote><code>sudo cp ~/klipper/scripts/klipper-mcu-start.sh /etc/init.d/klipper_mcu</code></blockquote>
sudo update-rc.d klipper_mcu defaults</pre></blockquote>
# <blockquote><code>sudo update-rc.d klipper_mcu defaults</code></blockquote>
# Rebuild the microcontroller code
# Rebuild the microcontroller code
<blockquote><pre>cd ~/klipper/
# <blockquote><code>cd ~/klipper/</code></blockquote>
make menuconfig</pre></blockquote>
# <blockquote><code>make menuconfig</code></blockquote>
#  
#  
#  
#  

Revision as of 11:18, 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:
  7. sudo apt update -y

  8. sudo apt upgrade -y

  9. Install "numpy" - Note: this will take quite some time - NERO says 20 minutes. It was faster on my Raspberry Pi 4 but still...
  10. ~/klippy-env/bin/pip install -v numpy

  11. Install additional dependencies
  12. sudo apt install python-numpy python-matplotlib

  13. Configure your Raspberry Pi as a secondary MCU - Note: I got this working together with screen on my Creality Ender 5 Plus :-)
  14. sudo cp ~/klipper/scripts/klipper-mcu-start.sh /etc/init.d/klipper_mcu

  15. sudo update-rc.d klipper_mcu defaults

  16. Rebuild the microcontroller code
  17. cd ~/klipper/

  18. 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.