commit 7717169af5df661b35010f1d78150d0e3cf99f46 Author: Quentin BOUTEILLER Date: Sun Feb 6 22:41:34 2022 +0100 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..cdd0265 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Klipper Ender 5 configuration + +My personnal configuration for running Klipper on the Creality Ender 5, with the following configuration: + +1. BigTreeTech SKR Mini E3 v2 board +2. Creality CR-Touch auto bed leveling sensor +3. Z-stop switch converted as a filament runout sensor +4. ADXL345 for measuring resonances +5. Working original display +6. Original 400 steps lead screw \ No newline at end of file diff --git a/printer.cfg b/printer.cfg new file mode 100644 index 0000000..6febb26 --- /dev/null +++ b/printer.cfg @@ -0,0 +1,194 @@ +# This file contains common pin mappings for the BIGTREETECH SKR mini +# E3 v2.0. To use this config, the firmware should be compiled for the +# STM32F103 with a "28KiB bootloader" and USB communication. Also, +# select "Enable extra low-level configuration options" and configure +# "GPIO pins to set at micro-controller startup" to "!PA14". + +# The "make flash" command does not work on the SKR mini E3. Instead, +# after running "make", copy the generated "out/klipper.bin" file to a +# file named "firmware.bin" on an SD card and then restart the SKR +# mini E3 with that SD card. + +# See docs/Config_Reference.md for a description of parameters. + +[stepper_x] +step_pin: PB13 +dir_pin: !PB12 +enable_pin: !PB14 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^PC0 +position_endstop: 220 +position_max: 220 +homing_speed: 100 + +[tmc2209 stepper_x] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 0 +run_current: 0.580 +hold_current: 0.500 +stealthchop_threshold: 250 + +[stepper_y] +step_pin: PB10 +dir_pin: !PB2 +enable_pin: !PB11 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^PC1 +position_endstop: 220 +position_max: 220 +homing_speed: 100 + +[tmc2209 stepper_y] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 2 +run_current: 0.580 +hold_current: 0.500 +stealthchop_threshold: 250 + +[stepper_z] +step_pin: PB0 +dir_pin: !PC5 +enable_pin: !PB1 +microsteps: 16 +rotation_distance: 8 +endstop_pin: probe:z_virtual_endstop +position_max: 300 +homing_speed: 10.0 + +[tmc2209 stepper_z] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 1 +run_current: 0.580 +hold_current: 0.500 +stealthchop_threshold: 5 + +[bltouch] +sensor_pin: ^PC14 +control_pin: PA1 +x_offset: -45 +y_offset: -13 +z_offset: 1.95 +z_offset: 2.15 +speed: 2.0 +samples: 2 +sample_retract_dist: 4.0 +probe_with_touch_mode: True + +[safe_z_home] +# (220 / 2) - offset +home_xy_position: 155, 123 +speed: 100 +z_hop: 10 +z_hop_speed: 5 + +[bed_mesh] +speed: 100 +horizontal_move_z: 4 +mesh_min: 0, 0 +# 220 + offset - 10 (padding) +mesh_max: 167, 197 +probe_count: 3, 3 + +[extruder] +step_pin: PB3 +dir_pin: !PB4 +enable_pin: !PD2 +microsteps: 16 +rotation_distance: 33.683 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PC8 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PA0 +min_temp: 0 +max_temp: 260 +max_extrude_only_distance: 100.0 + +[tmc2209 extruder] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 3 +run_current: 0.650 +hold_current: 0.500 +stealthchop_threshold: 5 + +[heater_bed] +heater_pin: PC9 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: PC3 +min_temp: 0 +max_temp: 130 + +[heater_fan nozzle_cooling_fan] +pin: PC7 + +[fan] +pin: PC6 + +[mcu] +serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_39FFDA054D4D313727641943-if00 + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3000 +max_z_velocity: 5 +max_z_accel: 100 + +[static_digital_output usb_pullup_enable] +pins: !PA14 + +[board_pins] +aliases: + # EXP1 header + EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, + EXP1_2=PA15, EXP1_4=, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V> + +[mcu rpi] +serial: /tmp/klipper_host_mcu + +[adxl345] +cs_pin: rpi:None + +[resonance_tester] +accel_chip: adxl345 +probe_points: + 110, 110, 20 + +[input_shaper] +shaper_freq_x: 95.2 +shaper_type_x: ei +shaper_freq_y: 84.6 +shaper_type_y: 2hump_ei + +[temperature_sensor raspberry_pi] +sensor_type: temperature_host +min_temp: 10 +max_temp: 100 + +[temperature_sensor mcu_temp] +sensor_type: temperature_mcu +min_temp: 0 +max_temp: 100 + +[filament_switch_sensor filament_runout_sensor] +pause_on_runout: True +runout_gcode: PAUSE +insert_gcode: RESUME +switch_pin: PC2 + +[display] +lcd_type: st7920 +cs_pin: PB8 +sclk_pin: PB9 +sid_pin: PB15 +encoder_pins: ^PA9, ^PA10 +click_pin: ^!PA15 + +[output_pin beeper] +pin: EXP1_1