From 6474f4445b6f9557129c276ed34824996738d8e7 Mon Sep 17 00:00:00 2001 From: Jaros Date: Mon, 8 Dec 2025 22:26:35 +0100 Subject: [PATCH 1/5] Add initial configuration for Creality Ender 3 V3 SE with Klipper --- config/printer-creality-ender3-v3-se-2025.cfg | 158 ++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 config/printer-creality-ender3-v3-se-2025.cfg diff --git a/config/printer-creality-ender3-v3-se-2025.cfg b/config/printer-creality-ender3-v3-se-2025.cfg new file mode 100644 index 000000000..94a9ab745 --- /dev/null +++ b/config/printer-creality-ender3-v3-se-2025.cfg @@ -0,0 +1,158 @@ +# Creality Ender 3 V3 SE - Klipper Configuration +# Board: Creality V1.1.0 (C13/C14) - STM32F401RC +# MCU: CR4NS200320C14 +# 64KiB bootloader +# Extruder: Direct Drive "Sprite" +# Probe: BLTouch compatible CR Touch +# +# Pin mappings based on Marlin firmware analysis: +# +# https://github.com/navaismo/Ender-3V3-SE/blob/SMT32F401/Marlin/src/pins/stm32f1/pins_CREALITY_V3_GD303.h +# +# Tested & verified: +# - All hardware pins operational +# - BLTouch probing with offsets +# - Bed mesh leveling (15x15 grid) +# - PID tuning for bed and hotend +# - Extruder calibration (rotation_distance: 7.44) +# - Pressure Advance ready +# +# Credits: Marlin firmware, Klipper community, JamesH (Klipper Discord), GitHub Copilot + +[mcu] +serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 # Update to your device +baud: 115200 +restart_method: command + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3500 +max_z_velocity: 5 +max_z_accel: 100 + +[stepper_x] +step_pin: PC2 +dir_pin: !PB9 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 40 +endstop_pin: !PA5 +position_endstop: -12.5 +position_min: -12.5 +position_max: 220 +homing_speed: 80 + +[stepper_y] +step_pin: PB8 +dir_pin: PB7 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ~!PA6 +position_endstop: -13.5 +position_min: -13.5 +position_max: 215 +homing_speed: 80 + +[tmc2208 stepper_y] +uart_pin: PB13 +run_current: 0.60 +sense_resistor: 0.150 +interpolate: True + +[stepper_z] +step_pin: PB6 +dir_pin: !PB5 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 8 +endstop_pin: probe:z_virtual_endstop +position_max: 250 +position_min: -3 +homing_speed: 4 +second_homing_speed: 1 +homing_retract_dist: 2.0 + +[tmc2208 stepper_z] +uart_pin: PB14 +run_current: 0.8 +sense_resistor: 0.150 +interpolate: True + +[extruder] +max_extrude_only_distance: 100.0 +step_pin: PB4 +dir_pin: PB3 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 7.44 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PA1 +sensor_pin: PC5 +sensor_type: EPCOS 100K B57560G104F +control: pid +pid_Kp: 27.142 +pid_Ki: 1.371 +pid_Kd: 134.351 +min_temp: 0 +max_temp: 260 +# pressure_advance: 0.04 # Uncomment after calibration + +[heater_bed] +heater_pin: PB2 +sensor_pin: PC4 +sensor_type: EPCOS 100K B57560G104F +control: pid +pid_Kp: 64.071 +pid_Ki: 0.632 +pid_Kd: 1624.191 +min_temp: 20 +max_temp: 120 + +[safe_z_home] +home_xy_position: 112, 110 +speed: 50 +z_hop: 10 +z_hop_speed: 5 + +[bltouch] +sensor_pin: ^PC14 +control_pin: PC13 +probe_with_touch_mode: True +x_offset: -24 +y_offset: -16 +z_offset: 1.635 +speed: 10 +samples: 3 +sample_retract_dist: 2.0 + +[bed_mesh] +speed: 120 +horizontal_move_z: 5 +mesh_min: 7.5, 7.5 +mesh_max: 185, 190 +probe_count: 15, 15 +mesh_pps: 2, 2 +algorithm: bicubic +bicubic_tension: 0.2 +fade_start: 1 +fade_end: 15 +fade_target: 0 + +[fan] +pin: PA0 +kick_start_time: 0.5 +off_below: 0.10 + +[heater_fan heatbreak_cooling_fan] +pin: PC1 +heater: extruder +heater_temp: 50.0 +kick_start_time: 0.5 + +[virtual_sdcard] +path: ~/printer_data/gcodes + +[exclude_object] \ No newline at end of file From e6ba6664d94d1bc7f44bdb905a3d920182bb5e73 Mon Sep 17 00:00:00 2001 From: Jaros <93591284+wjaros@users.noreply.github.com> Date: Tue, 9 Dec 2025 00:34:30 +0100 Subject: [PATCH 2/5] new line at the end of the file --- config/printer-creality-ender3-v3-se-2025.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/printer-creality-ender3-v3-se-2025.cfg b/config/printer-creality-ender3-v3-se-2025.cfg index 94a9ab745..2932b47da 100644 --- a/config/printer-creality-ender3-v3-se-2025.cfg +++ b/config/printer-creality-ender3-v3-se-2025.cfg @@ -155,4 +155,4 @@ kick_start_time: 0.5 [virtual_sdcard] path: ~/printer_data/gcodes -[exclude_object] \ No newline at end of file +[exclude_object] From efaa40082d4513e17786edd2b819fe667a665ca8 Mon Sep 17 00:00:00 2001 From: Jaros Date: Sat, 13 Dec 2025 01:01:25 +0100 Subject: [PATCH 3/5] Refactor configuration comments for clarity and organization in printer-creality-ender3-v3-se-2025.cfg --- config/printer-creality-ender3-v3-se-2025.cfg | 46 ++++++++----------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/config/printer-creality-ender3-v3-se-2025.cfg b/config/printer-creality-ender3-v3-se-2025.cfg index 2932b47da..eb5d328e7 100644 --- a/config/printer-creality-ender3-v3-se-2025.cfg +++ b/config/printer-creality-ender3-v3-se-2025.cfg @@ -1,27 +1,24 @@ -# Creality Ender 3 V3 SE - Klipper Configuration -# Board: Creality V1.1.0 (C13/C14) - STM32F401RC -# MCU: CR4NS200320C14 -# 64KiB bootloader -# Extruder: Direct Drive "Sprite" -# Probe: BLTouch compatible CR Touch -# -# Pin mappings based on Marlin firmware analysis: -# -# https://github.com/navaismo/Ender-3V3-SE/blob/SMT32F401/Marlin/src/pins/stm32f1/pins_CREALITY_V3_GD303.h -# -# Tested & verified: -# - All hardware pins operational -# - BLTouch probing with offsets -# - Bed mesh leveling (15x15 grid) -# - PID tuning for bed and hotend -# - Extruder calibration (rotation_distance: 7.44) -# - Pressure Advance ready -# -# Credits: Marlin firmware, Klipper community, JamesH (Klipper Discord), GitHub Copilot +# This file contains pin mappings for the stock 2025 Creality Ender 3 +# V3 SE with Creality V1.1.0 board (C14) and STM32F401RC MCU. +# To use this config, during "make menuconfig" select the +# STM32F401 with a "64KiB bootloader" and serial (on USART1 PA10/PA9) +# communication. + +# If you prefer a direct serial connection, in "make menuconfig" +# select "Enable extra low-level configuration options" and select +# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC +# cable used for the LCD module as follows: +# 3: Tx, 4: Rx, 9: GND, 10: VCC + +# Flash this firmware by copying "out/klipper.bin" to a SD card and +# turning on the printer with the card inserted. The firmware +# filename must end in ".bin" and must not match the last filename +# that was flashed. + +# See docs/Config_Reference.md for a description of parameters. [mcu] serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 # Update to your device -baud: 115200 restart_method: command [printer] @@ -150,9 +147,4 @@ off_below: 0.10 pin: PC1 heater: extruder heater_temp: 50.0 -kick_start_time: 0.5 - -[virtual_sdcard] -path: ~/printer_data/gcodes - -[exclude_object] +kick_start_time: 0.5 \ No newline at end of file From fbcade8bb8e9238154ffd743d751bb1cd599bd27 Mon Sep 17 00:00:00 2001 From: Jaros Date: Sat, 13 Dec 2025 01:05:58 +0100 Subject: [PATCH 4/5] Update configuration comments for clarity and accuracy in printer-creality-ender3-v3-se-2025.cfg --- config/printer-creality-ender3-v3-se-2025.cfg | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/config/printer-creality-ender3-v3-se-2025.cfg b/config/printer-creality-ender3-v3-se-2025.cfg index eb5d328e7..037399b86 100644 --- a/config/printer-creality-ender3-v3-se-2025.cfg +++ b/config/printer-creality-ender3-v3-se-2025.cfg @@ -1,17 +1,11 @@ # This file contains pin mappings for the stock 2025 Creality Ender 3 # V3 SE with Creality V1.1.0 board (C14) and STM32F401RC MCU. # To use this config, during "make menuconfig" select the -# STM32F401 with a "64KiB bootloader" and serial (on USART1 PA10/PA9) +# STM32F401 with a "64KiB bootloader" and USB (on PA11/PA12) # communication. -# If you prefer a direct serial connection, in "make menuconfig" -# select "Enable extra low-level configuration options" and select -# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC -# cable used for the LCD module as follows: -# 3: Tx, 4: Rx, 9: GND, 10: VCC - -# Flash this firmware by copying "out/klipper.bin" to a SD card and -# turning on the printer with the card inserted. The firmware +# Flash this firmware by copying "out/klipper.bin" to a STM32F4_UPDATE folder +# on SD card and turning on the printer with the card inserted. The firmware # filename must end in ".bin" and must not match the last filename # that was flashed. From bd24354824135ce641065e3892010ebcfabddeda Mon Sep 17 00:00:00 2001 From: Jaros Date: Wed, 24 Dec 2025 23:43:07 +0100 Subject: [PATCH 5/5] Update configuration for Creality Ender 3 V3 SE: enhance pin mappings and add new parameters --- config/printer-creality-ender3-v3-se-2025.cfg | 140 +++++++++++++++++- 1 file changed, 136 insertions(+), 4 deletions(-) diff --git a/config/printer-creality-ender3-v3-se-2025.cfg b/config/printer-creality-ender3-v3-se-2025.cfg index 037399b86..f49e9045f 100644 --- a/config/printer-creality-ender3-v3-se-2025.cfg +++ b/config/printer-creality-ender3-v3-se-2025.cfg @@ -1,5 +1,5 @@ # This file contains pin mappings for the stock 2025 Creality Ender 3 -# V3 SE with Creality V1.1.0 board (C14) and STM32F401RC MCU. +# V3 SE with Creality V1.1.0 board CR4NS200320C14(SMT32F401RET6). # To use this config, during "make menuconfig" select the # STM32F401 with a "64KiB bootloader" and USB (on PA11/PA12) # communication. @@ -11,6 +11,138 @@ # See docs/Config_Reference.md for a description of parameters. +[stepper_x] +step_pin: PC2 +dir_pin: !PB9 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 40 +endstop_pin: !PA5 +position_endstop: -12.5 +position_min: -12.5 +position_max: 220 +homing_speed: 80 + +[stepper_y] +step_pin: PB8 +dir_pin: PB7 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ~!PA6 +position_endstop: -13.5 +position_min: -13.5 +position_max: 215 +homing_speed: 80 + +[tmc2208 stepper_y] +uart_pin: PB13 +run_current: 0.60 +sense_resistor: 0.150 +interpolate: True + +[stepper_z] +step_pin: PB6 +dir_pin: !PB5 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 8 +endstop_pin: probe:z_virtual_endstop +position_max: 250 +position_min: -3 +homing_speed: 4 +second_homing_speed: 1 +homing_retract_dist: 2.0 + +[tmc2208 stepper_z] +uart_pin: PB14 +run_current: 0.8 +sense_resistor: 0.150 +interpolate: True + +[extruder] +max_extrude_only_distance: 100.0 +step_pin: PB4 +dir_pin: PB3 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 26.4 +gear_ratio: 3.5:1 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PA1 +sensor_pin: PC5 +sensor_type: EPCOS 100K B57560G104F +control: pid +pid_Kp: 27.142 +pid_Ki: 1.371 +pid_Kd: 134.351 +min_temp: 0 +max_temp: 260 + +[heater_bed] +heater_pin: PB2 +sensor_pin: PC4 +sensor_type: EPCOS 100K B57560G104F +control: pid +pid_Kp: 64.071 +pid_Ki: 0.632 +pid_Kd: 1624.191 +min_temp: 20 +max_temp: 120 + +[fan] +pin: PA0 +kick_start_time: 0.5 +off_below: 0.10 + +[heater_fan heatbreak_cooling_fan] +pin: PC1 +heater: extruder +heater_temp: 50.0 +kick_start_time: 0.5 + +[mcu] +serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 # Update to your device +restart_method: command + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3500 +max_z_velocity: 5 +max_z_accel: 100 + +[safe_z_home] +home_xy_position: 112, 110 +speed: 50 +z_hop: 10 +z_hop_speed: 5 + +[bltouch] +sensor_pin: ^PC14 +control_pin: PC13 +probe_with_touch_mode: True +x_offset: -24.5 +y_offset: -16 +z_offset: 1.635 +speed: 10 +samples: 3 +sample_retract_dist: 2.0 + +[bed_mesh] +speed: 120 +horizontal_move_z: 5 +mesh_min: 7.5, 7.5 +mesh_max: 185, 190 +probe_count: 15, 15 +mesh_pps: 2, 2 +algorithm: bicubic +bicubic_tension: 0.2 +fade_start: 1 +fade_end: 15 +fade_target: 0 + [mcu] serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 # Update to your device restart_method: command @@ -77,7 +209,8 @@ step_pin: PB4 dir_pin: PB3 enable_pin: !PC3 microsteps: 16 -rotation_distance: 7.44 +rotation_distance: 26.4 +gear_ratio: 3.5:1 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PA1 @@ -89,7 +222,6 @@ pid_Ki: 1.371 pid_Kd: 134.351 min_temp: 0 max_temp: 260 -# pressure_advance: 0.04 # Uncomment after calibration [heater_bed] heater_pin: PB2 @@ -112,7 +244,7 @@ z_hop_speed: 5 sensor_pin: ^PC14 control_pin: PC13 probe_with_touch_mode: True -x_offset: -24 +x_offset: -24.5 y_offset: -16 z_offset: 1.635 speed: 10