Ender 3 - Klipper documentation
BIN
creality-ender3/Klipper/img/ender3-adxl345-dfu-mode.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
creality-ender3/Klipper/img/ender3-find-mcu-id.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 17 KiB |
BIN
creality-ender3/Klipper/img/ender3-klipper-service-started.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
creality-ender3/Klipper/img/klipper-adxl345-fw-config.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
creality-ender3/Klipper/img/klipper-adxl345-printer-config.png
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
creality-ender3/Klipper/img/klipper-skr-mini-e3-v2-fw-config.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
@@ -7,10 +7,11 @@
|
|||||||
5. [Marlin custom firmware](#marlin-custom-firmware)
|
5. [Marlin custom firmware](#marlin-custom-firmware)
|
||||||
6. [Printer calibration](#printer-calibration)
|
6. [Printer calibration](#printer-calibration)
|
||||||
7. [3D printed custom parts & mods](#3d-printed-custom-parts--mods)
|
7. [3D printed custom parts & mods](#3d-printed-custom-parts--mods)
|
||||||
|
8. [Klipper custom firmware](#klipper-custom-firmware)
|
||||||
|
|
||||||
# Octoprint backup archive
|
# Octoprint backup archive
|
||||||
|
|
||||||
[2025-01-01] [Ender3-backup-20250101.zip](octoprint-cfg-bkp/Ender3-backup-20250101.zip)
|
[2025-01-01] [Ender3-backup-20250211-234353.zip](octoprint-cfg-bkp/Ender3-backup-20250211-234353.zip)
|
||||||
|
|
||||||
# Slicers
|
# Slicers
|
||||||
|
|
||||||
@@ -232,7 +233,164 @@ After firware update, proceed with the different calibrations in the above order
|
|||||||
| [BLTouch](https://www.aliexpress.com/item/32777786433.html) for Automatic Bed Leveling (ABL) | n/a |  |
|
| [BLTouch](https://www.aliexpress.com/item/32777786433.html) for Automatic Bed Leveling (ABL) | n/a |  |
|
||||||
| _Raspberry Pi 4 / Octoprint case_ ([tutorial to enable power switch/LED](https://web.archive.org/web/20250101204129/https://embeddedcomputing.com/technology/open-source/development-kits/raspberry-pi-power-up-and-shutdown-with-a-physical-button)) | [Printable](https://www.printables.com/model/1008828-creality-ender-3-station-lcd-raspberry-pi-4) |  |
|
| _Raspberry Pi 4 / Octoprint case_ ([tutorial to enable power switch/LED](https://web.archive.org/web/20250101204129/https://embeddedcomputing.com/technology/open-source/development-kits/raspberry-pi-power-up-and-shutdown-with-a-physical-button)) | [Printable](https://www.printables.com/model/1008828-creality-ender-3-station-lcd-raspberry-pi-4) |  |
|
||||||
| _Ender 3 PSU Support Bracket_ | [Thingiverse](https://www.thingiverse.com/thing:3444134) | |
|
| _Ender 3 PSU Support Bracket_ | [Thingiverse](https://www.thingiverse.com/thing:3444134) | |
|
||||||
|
| Filament runout sensor | n/a |  |
|
||||||
|
| Filament Guide | [Thingiverse](https://www.thingiverse.com/thing:6930315) |  |
|
||||||
|
| Gantry led holder | n/a |  |
|
||||||
| Aukey LM1 WebCam holder | [Thingiverse](https://www.thingiverse.com/thing:4683831) |  |
|
| Aukey LM1 WebCam holder | [Thingiverse](https://www.thingiverse.com/thing:4683831) |  |
|
||||||
| PSU exhaust fan silencer | [Printable](https://www.printables.com/model/84197-60mm-exhaust-fan-silencer-flowmaster-psu-ender3nep/comments#preview.file.GpvjC) |  |
|
| PSU exhaust fan silencer | [Printable](https://www.printables.com/model/84197-60mm-exhaust-fan-silencer-flowmaster-psu-ender3nep/comments#preview.file.GpvjC) |  |
|
||||||
| Tool holder | [Local](local-stl/Tools_Holder_v3.stl) |  |
|
| Tool holder | [Local](local-stl/Tools_Holder_v3.stl) |  |
|
||||||
| SATSANA Ender 3 - BLTouch (Z-Offset: X-51 ; Y-12) | [Printable](https://www.printables.com/model/58601-satsana-ender3-bltouch-fixed) |  |
|
| SATSANA Ender 3 - BLTouch (Z-Offset: X-51 ; Y-12) | [Printable](https://www.printables.com/model/58601-satsana-ender3-bltouch-fixed) |  |
|
||||||
|
|
||||||
|
# BBT SKR mini E3 v2 pinout
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
# Klipper custom firmware
|
||||||
|
|
||||||
|
## Printer firmware build and update
|
||||||
|
1. Access klipper host using ssh
|
||||||
|
```
|
||||||
|
ssh ender3k
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Stop Klipper service
|
||||||
|
```
|
||||||
|
sudo service klipper stop
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Browse to Klipper directory:
|
||||||
|
```
|
||||||
|
cd ~/klipper
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Pull the last version of the Klipper firmware from Github:
|
||||||
|
```
|
||||||
|
git pull
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Clean up working directory before building firmware
|
||||||
|
```
|
||||||
|
make clean
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Check the firmware build configuration
|
||||||
|
```
|
||||||
|
make menuconfig
|
||||||
|
```
|
||||||
|

|
||||||
|
|
||||||
|
7. Build the firmaware:
|
||||||
|
```
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
8. Transfer the built firmware on an micro SD card
|
||||||
|
The built firmware `klipper.bin` is in the `~/klipper/out/` directory
|
||||||
|
Use a SCP client to retreive it, and rename it **`firmware.bin`**.
|
||||||
|
|
||||||
|
9. Flash the new firmware to the printer's SKR mini E3 v2 board
|
||||||
|
1. Turn off the printer power.
|
||||||
|
2. Introduce the SD card into the SKR board reader
|
||||||
|
3. Turn back on the printer power.
|
||||||
|
|
||||||
|
11. Restart Klipper service
|
||||||
|
```
|
||||||
|
sudo service klipper start
|
||||||
|
```
|
||||||
|
|
||||||
|
12. Check Klipper service is properly restarted
|
||||||
|
```
|
||||||
|
sudo service klipper status
|
||||||
|
```
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## ADXL345 accelorometer
|
||||||
|
|
||||||
|
Model used: [Aliexpress](https://www.aliexpress.com/item/1005006515088013.html) \
|
||||||
|

|
||||||
|
|
||||||
|
### Software prereqiusites
|
||||||
|
Note that resonance measurements and shaper auto-calibration require additional software dependencies not installed by default. First, run on your Raspberry Pi the following commands:
|
||||||
|
```
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install python3-numpy python3-matplotlib libatlas-base-dev libopenblas-base
|
||||||
|
```
|
||||||
|
|
||||||
|
Details on Klipper [documentation](https://www.klipper3d.org/Measuring_Resonances.html#software-installation)
|
||||||
|
|
||||||
|
### Firmware configuration and build
|
||||||
|
1. Configure the firmaware:
|
||||||
|
```
|
||||||
|
cd ~/klipper
|
||||||
|
make clean
|
||||||
|
make menuconfig
|
||||||
|
```
|
||||||
|

|
||||||
|
|
||||||
|
2. Build the firmware:
|
||||||
|
```
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
### Firmware flash
|
||||||
|
1. Set the ADXL345 board in DFU mode by plugin it to the USB cable while maintaining the RST switch down.
|
||||||
|
|
||||||
|
2. Check that the board is actually in DFU mode
|
||||||
|
```
|
||||||
|
lsusb
|
||||||
|
```
|
||||||
|

|
||||||
|
|
||||||
|
4. Note the device `ID` (in our example: `2e8a:0003`)
|
||||||
|
|
||||||
|
5. Flash the firmware
|
||||||
|
```
|
||||||
|
make flash FLASH_DEVICE=2e8a:0003
|
||||||
|
```
|
||||||
|
|
||||||
|
Once flashed, the board will automatically reboot and goes back in operation mode.
|
||||||
|
|
||||||
|
# Auto-reconnect printer after power-on
|
||||||
|
[Source](https://arnav.jain.se/2020/auto-restart-klipper-when-ender3-connected-to-pi/) by Arnav Jain. \
|
||||||
|
[Wallabag backup](https://wallabag.igox.org/view/211)
|
||||||
|
---
|
||||||
|
|
||||||
|
Start off by accessing klipper host using ssh.
|
||||||
|
```
|
||||||
|
ssh ender3k
|
||||||
|
````
|
||||||
|
Then create the `98-klipper.rules` file in the `/etc/udev/rules.d/` folder:
|
||||||
|
```
|
||||||
|
sudo touch /etc/udev/rules.d/98-klipper.rules
|
||||||
|
```
|
||||||
|
|
||||||
|
Retreive `idVendor` and `idProduct` for the Klipper MCU:
|
||||||
|
1. Retrieve Klipper MCU ID
|
||||||
|
```
|
||||||
|
lsusb
|
||||||
|
```
|
||||||
|

|
||||||
|
|
||||||
|
2. Retrieve `idVendor` and `idProduct` using the Klipper MCU ID
|
||||||
|
```
|
||||||
|
lsusb -v -d 1d50:614e | grep id
|
||||||
|
```
|
||||||
|

|
||||||
|
|
||||||
|
Then add the following text into the `98-klipper.rules` file just created:
|
||||||
|
|
||||||
|
1. Edit the `98-klipper.rules` file
|
||||||
|
```
|
||||||
|
sudo nano /etc/udev/rules.d/98-klipper.rules
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Add text (remove the `0x` at the begining of the IDs)
|
||||||
|
```
|
||||||
|
## rule to restart klipper when the printer is connected via usb
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="614e", ACTION=="add", RUN+="/usr/bin/sudo -u pi /bin/sh -c '/bin/echo RESTART > /home/pi/printer_data/comms/klippy.serial'"
|
||||||
|
```
|
||||||
|
|
||||||
|
Finally, re-load the udev rules:
|
||||||
|
```
|
||||||
|
sudo udevadm control --reload-rules
|
||||||
BIN
creality-ender3/images/BTT-SKR-mini-E3-v20-pinout.png
Normal file
|
After Width: | Height: | Size: 514 KiB |