From 0c74b3d8bfb8d06ac6ddc208a0a53bba235ee89d Mon Sep 17 00:00:00 2001 From: S1NH Date: Fri, 22 Jul 2022 09:45:05 +0800 Subject: [PATCH] config: Integrate configuration file for Creality Sermoon V1. (#5621) Configuration for the stock Creality Sermoon V1. Signed-off-by: Du Chengyao --- config/printer-creality-sermoonV1-2022.cfg | 108 +++++++++++++++++++++ test/klippy/printers.test | 1 + 2 files changed, 109 insertions(+) create mode 100644 config/printer-creality-sermoonV1-2022.cfg diff --git a/config/printer-creality-sermoonV1-2022.cfg b/config/printer-creality-sermoonV1-2022.cfg new file mode 100644 index 00000000..ef100fb3 --- /dev/null +++ b/config/printer-creality-sermoonV1-2022.cfg @@ -0,0 +1,108 @@ +# This file contains pin mappings for the Creality Sermoon V1 +# with CR-FDM-v2.4.S1.200 motherboard. + +# To use this config, during "make menuconfig" select the STM32F401 +# with a "64KiB bootloader" and serial (on USB PA10/PA9) communication. + +# If you prefer a direct serial connection, in "make menuconfig" +# select "Enable extra low-level configuration options" and select +# Serial (on USART2 PA3/PA2), 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 changed to "firmware.bin" + +# See docs/Config_Reference.md for a description of parameters. + +[stepper_x] +step_pin: PA7 +dir_pin: !PA4 +enable_pin: !PB8 +microsteps: 16 +rotation_distance: 40 +endstop_pin: PC4 +position_endstop: 175 +position_max: 175 +position_min: 0 +homing_speed: 50 + +[stepper_y] +step_pin: PB0 +dir_pin: PB10 +enable_pin: !PB8 +microsteps: 16 +rotation_distance: 40 +endstop_pin: PB13 +position_endstop: 0 +position_max: 175 +position_min: 0 +homing_speed: 50 + +[stepper_z] +step_pin: PB7 +dir_pin: PB6 +enable_pin: !PB8 +microsteps: 16 +rotation_distance: 8 +endstop_pin: PB3 +position_endstop: 165 +position_max: 168 +position_min: -3 + +[extruder] +step_pin: PB1 +dir_pin: PB12 +enable_pin: !PB8 +microsteps: 16 +gear_ratio: 42:12 +rotation_distance: 26.359 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PC5 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PC1 +control: pid +pid_Kp: 30.090 +pid_Ki: 1.875 +pid_Kd: 120.735 +min_temp: 0 +max_temp: 290 + +[heater_bed] +heater_pin: PB9 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PC0 +control: pid +pid_Kp: 75.694 +pid_Ki: 1.160 +pid_Kd: 1234.759 +min_temp: 0 +max_temp: 90 + +[fan] +pin: PA5 + +[fan_generic side_fan] +pin: PC15 + +# [controller_fan controller_fan] +# In order to access the controller fan, the controller fan needs to be plugged +# in another location. See https://github.com/Klipper3d/klipper/pull/5621 +# for more information. +# pin: PB4 + +[mcu] +serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 +restart_method: command + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 2000 +max_z_velocity: 5 +max_z_accel: 100 + +[pause_resume] +recover_velocity: 25 diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 57db5e04..4388fcb6 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -168,6 +168,7 @@ 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-creality-sermoonV1-2022.cfg CONFIG ../../config/printer-elegoo-neptune2-2021.cfg CONFIG ../../config/printer-eryone-er20-2021.cfg CONFIG ../../config/printer-flsun-q5-2020.cfg