-
Système à jour, Klipper à jour et dfu-util installé ( sudo apt-get install dfu-util )
-
Installation de CanBoot
git clone https://github.com/Arksine/CanBoot
cd CanBoot
make menuconfig
make
# Ikea Vindriktning | |
uart: | |
rx_pin: 6 | |
baud_rate: 9600 | |
# SHT21 | |
i2c: | |
sda: 8 | |
scl: 10 | |
scan: true |
[mcu PIS] | |
# Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify | |
serial: /dev/serial/by-id/xxxx | |
[adxl345] | |
cs_pin: PIS:gpio13 | |
#spi_bus: spi1a | |
spi_software_sclk_pin: PIS:gpio10 | |
spi_software_mosi_pin: PIS:gpio11 | |
spi_software_miso_pin: PIS:gpio12 |
Système à jour, Klipper à jour et dfu-util installé ( sudo apt-get install dfu-util )
Installation de CanBoot
git clone https://github.com/Arksine/CanBoot
cd CanBoot
make menuconfig
make
cd ~/klipper
make menuconfig
Choisir Raspberry Pi RP2040
make
cd ~/klipper/
sudo cp ./scripts/klipper-mcu.service /etc/systemd/system/
sudo systemctl enable klipper-mcu.service
cd ~/klipper/
make menuconfig
[gcode_macro LOAD_FILAMENT] | |
gcode: | |
{% set speed = params.SPEED|default(300) %} | |
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %} | |
SAVE_GCODE_STATE NAME=load_state | |
M300 # beep | |
G91 | |
G92 E0 | |
G1 E350 F{max_velocity} # fast-load | |
G1 E25 F{speed} # purge |
[led_effect logo_idle] | |
autostart: false | |
frame_rate: 24 | |
leds: | |
neopixel:sb_leds (1-8) | |
layers: | |
breathing 10 1 top (0,0,.7) | |
[led_effect critical_error] | |
leds: |
[gcode_macro CALIBRATE_Z] | |
rename_existing: BASE_CALIBRATE_Z | |
gcode: | |
STATUS_CALIBRATING_Z | |
BASE_CALIBRATE_Z |
# | |
# This macro comes from VoronFR Discord : https://discord.gg/nmAdtqX6 | |
# Pressure Advance calibration test. | |
# | |
# The main reason for this test is that the standard tuning tower provides ambigious, open to interpretation readings with a broad margin for error. | |
# This test provides control values next to the values being tested, so differences are easier to notice at a glance. | |
# | |
# Prints a series of bands, 6 lines per each, with the first 3 lines printed slowly and used as baseline/control and the other 3 | |
# at two different speeds in the following sequence: 25% at 40mm/sec, 50% at 120mm/sec, 25% at 40mm/sec. | |
# Pressure Advance value is being increased for every band starting from 0.01 with 0.002 increments. |
##################################################################### | |
# LED Control | |
##################################################################### | |
[neopixel caselight] | |
pin: PD3 | |
# The pin connected to the neopixel. This parameter must be | |
# provided. | |
chain_count: 54 | |
# The number of Neopixel chips that are "daisy chained" to the |