2020-03-31 04:26:31 +03:00
|
|
|
# This file contains common pin mappings for the Alfawise U30 printer.
|
|
|
|
# To use this config, the firmware should be compiled for the
|
|
|
|
# STM32F103. When running "make menuconfig", enable "extra low-level
|
|
|
|
# configuration setup", select the 64KiB bootloader, disable "USB for
|
|
|
|
# communication", and set "GPIO pins to set at micro-controller
|
|
|
|
# startup" to "!PC4,!PD12".
|
|
|
|
|
|
|
|
# The "make flash" command does not work on the Alfawise U30. Instead,
|
|
|
|
# after running "make", copy the generated "out/klipper.bin" file to a
|
|
|
|
# file named "project.bin" on an SD card and then restart the Alfawise
|
|
|
|
# with that SD card.
|
|
|
|
|
2020-11-17 02:47:32 +03:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2020-03-31 04:26:31 +03:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PB4
|
|
|
|
dir_pin: !PB3
|
|
|
|
enable_pin: !PB5
|
|
|
|
step_distance: .0125
|
|
|
|
endstop_pin: !PC1
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 230
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PB7
|
|
|
|
dir_pin: PB6
|
|
|
|
enable_pin: !PB8
|
|
|
|
step_distance: .0125
|
|
|
|
endstop_pin: !PC15
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 222
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: PE0
|
|
|
|
dir_pin: !PB9
|
|
|
|
enable_pin: !PE1
|
|
|
|
step_distance: .0025
|
|
|
|
endstop_pin: !PE6
|
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 250
|
|
|
|
|
|
|
|
[extruder]
|
|
|
|
step_pin: PE3
|
|
|
|
dir_pin: PE2
|
|
|
|
enable_pin: !PE4
|
|
|
|
step_distance: 0.010526
|
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
heater_pin: PD3
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: PA0
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 21.527
|
|
|
|
pid_Ki: 1.063
|
|
|
|
pid_Kd: 108.982
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
|
|
|
|
|
|
|
[heater_bed]
|
|
|
|
heater_pin: PA8
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: PA1
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 54.027
|
|
|
|
pid_Ki: 0.770
|
|
|
|
pid_Kd: 948.182
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: PA15
|
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
|
|
|
restart_method: command
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 5
|
|
|
|
max_z_accel: 100
|
|
|
|
|
|
|
|
[static_digital_output reset_display]
|
|
|
|
pins: !PC4, !PD12
|