From 1c53ac7f6219409ce8ab5726198360ff92d81779 Mon Sep 17 00:00:00 2001 From: siwat Date: Tue, 4 Jan 2022 19:31:55 +0700 Subject: [PATCH] add lasercnc.cfg --- laser-cnc/lasercnc.cfg | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 laser-cnc/lasercnc.cfg diff --git a/laser-cnc/lasercnc.cfg b/laser-cnc/lasercnc.cfg new file mode 100644 index 0000000..0416d98 --- /dev/null +++ b/laser-cnc/lasercnc.cfg @@ -0,0 +1,59 @@ +[stepper_x] +step_pin: gpio11 +dir_pin: !gpio10 +enable_pin: !gpio12 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^gpio4 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[tmc2209 stepper_x] +uart_pin: gpio9 +tx_pin: gpio8 +uart_address: 0 +run_current: 0.8 +stealthchop_threshold: 0 + +[stepper_y] +step_pin: gpio6 +dir_pin: !gpio5 +enable_pin: !gpio7 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^gpio3 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[tmc2209 stepper_y] +uart_pin: gpio9 +tx_pin: gpio8 +uart_address: 2 +run_current: 0.8 +stealthchop_threshold: 0 + +[fan] +pin: gpio17 + +[output_pin laser] +pin: gpio18 +pwm: True +hardware_pwm: True +cycle_time: 0.001 +shutdown_value: 0 +maximum_mcu_duration: 5 + +[heater_fan controller_fan] +pin: gpio20 + +[mcu] +serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3000 +max_z_velocity: 5 +max_z_accel: 100 \ No newline at end of file