diff --git a/laser-cnc/lasercnc.cfg b/laser-cnc/lasercnc-crealityboard.cfg similarity index 66% rename from laser-cnc/lasercnc.cfg rename to laser-cnc/lasercnc-crealityboard.cfg index 98860cc..e506d37 100644 --- a/laser-cnc/lasercnc.cfg +++ b/laser-cnc/lasercnc-crealityboard.cfg @@ -10,59 +10,37 @@ # 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 +step_pin: PD7 +dir_pin: !PC5 +enable_pin: !PD6 microsteps: 16 rotation_distance: 40 -endstop_pin: ^PC0 +endstop_pin: ~^PC2 position_endstop: 0 position_max: 235 homing_speed: 50 -[tmc2209 stepper_x] -uart_pin: PC11 -tx_pin: PC10 -uart_address: 0 -run_current: 0.8 -stealthchop_threshold: 999999 - [stepper_y] -step_pin: PB10 -dir_pin: !PB2 -enable_pin: !PB11 +step_pin: PC6 +dir_pin: !PC7 +enable_pin: !PD6 microsteps: 16 rotation_distance: 40 -endstop_pin: ^PC1 +endstop_pin: ~^PC3 position_endstop: 0 position_max: 235 homing_speed: 50 -[tmc2209 stepper_y] -uart_pin: PC11 -tx_pin: PC10 -uart_address: 2 -run_current: 0.8 -stealthchop_threshold: 999999 - [stepper_z] -step_pin: PB0 -dir_pin: PC5 -enable_pin: !PB1 +step_pin: PB3 +dir_pin: PB2 +enable_pin: !PA5 microsteps: 16 rotation_distance: 8 -endstop_pin: ^PC2 -position_endstop: 0 -position_max: 1 - -[tmc2209 stepper_z] -uart_pin: PC11 -tx_pin: PC10 -uart_address: 1 -run_current: 0.580 -stealthchop_threshold: 999999 +endstop_pin: ^PC4 +position_endstop: 0.0 +position_max: 250 [output_pin laser] pin: !due:PC28 @@ -72,9 +50,6 @@ cycle_time: 0.001 shutdown_value: 0 maximum_mcu_duration: 5 -[fan] -pin: PC6 - [mcu] serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 @@ -91,15 +66,6 @@ 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> - [gcode_macro M3] gcode: {% set S = params.S|default(0.0)|float %}