2022-01-07 02:19:27 +00:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2022-01-04 12:31:55 +00:00
|
|
|
[stepper_x]
|
2022-01-07 18:49:47 +00:00
|
|
|
step_pin: PD7
|
|
|
|
dir_pin: !PC5
|
|
|
|
enable_pin: !PD6
|
2022-01-04 12:31:55 +00:00
|
|
|
microsteps: 16
|
2022-01-08 04:57:49 +00:00
|
|
|
rotation_distance: 20
|
|
|
|
endstop_pin: ^PC2
|
2022-01-04 12:31:55 +00:00
|
|
|
position_endstop: 0
|
2022-01-08 04:57:49 +00:00
|
|
|
position_max: 594
|
2022-01-04 12:31:55 +00:00
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_y]
|
2022-01-07 18:49:47 +00:00
|
|
|
step_pin: PC6
|
2022-01-08 06:30:59 +00:00
|
|
|
dir_pin: !PC7
|
2022-01-07 18:49:47 +00:00
|
|
|
enable_pin: !PD6
|
2022-01-04 12:31:55 +00:00
|
|
|
microsteps: 16
|
2022-01-08 04:57:49 +00:00
|
|
|
rotation_distance: 20
|
|
|
|
endstop_pin: ^PC3
|
2022-01-08 06:30:59 +00:00
|
|
|
position_endstop: 407
|
2022-01-08 04:57:49 +00:00
|
|
|
position_max: 407
|
2022-01-04 12:31:55 +00:00
|
|
|
homing_speed: 50
|
|
|
|
|
2022-01-08 04:57:49 +00:00
|
|
|
[homing_override]
|
|
|
|
gcode:
|
|
|
|
G28 X Y
|
|
|
|
|
2022-01-04 17:55:20 +00:00
|
|
|
[stepper_z]
|
2022-01-07 18:49:47 +00:00
|
|
|
step_pin: PB3
|
|
|
|
dir_pin: PB2
|
|
|
|
enable_pin: !PA5
|
2022-01-04 17:55:20 +00:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2022-01-07 18:49:47 +00:00
|
|
|
endstop_pin: ^PC4
|
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 250
|
2022-01-04 17:55:20 +00:00
|
|
|
|
2022-01-04 12:31:55 +00:00
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 5
|
2022-01-04 17:55:20 +00:00
|
|
|
max_z_accel: 100
|
|
|
|
|
2022-01-08 05:47:07 +00:00
|
|
|
[mcu]
|
|
|
|
serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AH06OETN-if00-port0
|
|
|
|
|
|
|
|
[mcu uno]
|
|
|
|
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_7583931393035140B1C0-if00
|
|
|
|
|
|
|
|
[output_pin laser]
|
|
|
|
pin: uno:PD3
|
|
|
|
pwm: True
|
|
|
|
hardware_pwm: True
|
|
|
|
cycle_time: 0.001
|
|
|
|
shutdown_value: 0
|
|
|
|
|
2022-01-04 17:55:20 +00:00
|
|
|
[gcode_macro M3]
|
|
|
|
gcode:
|
|
|
|
{% set S = params.S|default(0.0)|float %}
|
|
|
|
SET_PIN PIN=laser VALUE={S / 255.0}
|
|
|
|
|
|
|
|
[gcode_macro M4]
|
|
|
|
gcode:
|
|
|
|
{% set S = params.S|default(0.0)|float %}
|
|
|
|
SET_PIN PIN=laser VALUE={S / 255.0}
|
|
|
|
|
|
|
|
[gcode_macro M5]
|
|
|
|
gcode:
|
|
|
|
SET_PIN PIN=laser VALUE=0
|