From 3e0c0e9ccf8d74b8d6f31277e558b57a17355d75 Mon Sep 17 00:00:00 2001 From: SyrasX <57348520+SyrasX@users.noreply.github.com> Date: Sat, 19 Mar 2022 01:42:15 +0100 Subject: [PATCH] config: Added Config for Creality Ender 5 Pro 2020 (#4836) Signed-off-by: Maxim Schessler --- config/printer-creality-ender5pro-2020.cfg | 101 +++++++++++++++++++++ test/klippy/printers.test | 1 + 2 files changed, 102 insertions(+) create mode 100644 config/printer-creality-ender5pro-2020.cfg diff --git a/config/printer-creality-ender5pro-2020.cfg b/config/printer-creality-ender5pro-2020.cfg new file mode 100644 index 00000000..ded26b40 --- /dev/null +++ b/config/printer-creality-ender5pro-2020.cfg @@ -0,0 +1,101 @@ +# This file contains pin mappings for the stock 2020 Creality Ender 5 +# Pro with the 32-bit Creality 4.2.2 board. To use this config, during +# "make menuconfig" select the STM32F103 with a "28KiB bootloader" and +# with "Use USB for communication" disabled. + +# If you prefer a direct serial connection, in "make menuconfig" +# select "Enable extra low-level configuration options" and select the +# USART3 serial port, 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. + +[stepper_x] +step_pin: PC2 +dir_pin: PB9 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^PA5 +position_endstop: 220 +position_max: 220 +homing_speed: 50 + +[stepper_y] +step_pin: PB8 +dir_pin: PB7 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^PA6 +position_endstop: 220 +position_max: 220 +homing_speed: 50 + +[stepper_z] +step_pin: PB6 +dir_pin: PB5 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 4 +endstop_pin: ^PA7 +position_max: 300 +position_endstop: 0.0 + +[extruder] +max_extrude_only_distance: 100.0 +step_pin: PB4 +dir_pin: PB3 +enable_pin: !PC3 +microsteps: 16 +rotation_distance: 32.342 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PA1 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PC5 +control: pid +pid_kp: 24.831 +pid_ki: 1.346 +pid_kd: 114.532 +min_temp: 0 +max_temp: 260 + +[heater_bed] +heater_pin: PA2 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PC4 +control: pid +pid_kp: 66.429 +pid_ki: 1.197 +pid_kd: 921.707 +min_temp: 0 +max_temp: 135 + +[fan] +pin: PA0 + +[mcu] +serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 +restart_method: command + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3000 +max_z_velocity: 5 +max_z_accel: 100 + +[display] +lcd_type: st7920 +cs_pin: PB12 +sclk_pin: PB13 +sid_pin: PB15 +encoder_pins: ^PB14, ^PB10 +click_pin: ^!PB2 diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 242321d9..07b4cda8 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -161,6 +161,7 @@ CONFIG ../../config/printer-creality-ender2pro-2021.cfg CONFIG ../../config/printer-creality-ender3-v2-2020.cfg CONFIG ../../config/printer-creality-ender3max-2021.cfg CONFIG ../../config/printer-creality-ender3pro-2020.cfg +CONFIG ../../config/printer-creality-ender5pro-2020.cfg CONFIG ../../config/printer-creality-ender6-2020.cfg CONFIG ../../config/printer-creality-sermoonD1-2021.cfg CONFIG ../../config/printer-elegoo-neptune2-2021.cfg