2022-01-07 02:19:27 +00:00
|
|
|
# This file contains common pin mappings for the BIGTREETECH SKR mini
|
|
|
|
# E3 v2.0. To use this config, the firmware should be compiled for the
|
|
|
|
# STM32F103 with a "28KiB bootloader" and USB communication. Also,
|
|
|
|
# select "Enable extra low-level configuration options" and configure
|
|
|
|
# "GPIO pins to set at micro-controller startup" to "!PA14".
|
|
|
|
|
|
|
|
# The "make flash" command does not work on the SKR mini E3. Instead,
|
|
|
|
# after running "make", copy the generated "out/klipper.bin" file to a
|
|
|
|
# file named "firmware.bin" on an SD card and then restart the SKR
|
|
|
|
# mini E3 with that SD card.
|
|
|
|
|
|
|
|
# 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
|
|
|
|
rotation_distance: 40
|
2022-01-07 18:49:47 +00:00
|
|
|
endstop_pin: ~^PC2
|
2022-01-04 12:31:55 +00:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 235
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_y]
|
2022-01-07 18:49:47 +00:00
|
|
|
step_pin: PC6
|
|
|
|
dir_pin: !PC7
|
|
|
|
enable_pin: !PD6
|
2022-01-04 12:31:55 +00:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2022-01-07 18:49:47 +00:00
|
|
|
endstop_pin: ~^PC3
|
2022-01-04 12:31:55 +00:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 235
|
|
|
|
homing_speed: 50
|
|
|
|
|
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
|
|
|
[output_pin laser]
|
2022-01-07 05:52:55 +00:00
|
|
|
pin: !due:PC28
|
2022-01-04 12:31:55 +00:00
|
|
|
pwm: True
|
|
|
|
hardware_pwm: True
|
|
|
|
cycle_time: 0.001
|
|
|
|
shutdown_value: 0
|
|
|
|
maximum_mcu_duration: 5
|
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
|
|
|
|
|
2022-01-07 04:53:38 +00:00
|
|
|
[mcu host]
|
|
|
|
serial: /tmp/klipper_host_mcu
|
|
|
|
|
2022-01-07 05:51:34 +00:00
|
|
|
[mcu due]
|
|
|
|
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_7573630323635171A112-if00
|
|
|
|
|
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
|
|
|
|
|
|
|
|
[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
|