config: Add example printer-alfawise-u30-2018.cfg config

Reported by @elegos.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2020-03-30 21:26:31 -04:00
parent 3c01b60a88
commit d6034013e7
2 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,87 @@
# 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.
# See the example.cfg file for a description of available parameters.
[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

View File

@ -114,6 +114,7 @@ DICTIONARY stm32f103-serial.dict
CONFIG ../../config/generic-fysetc-cheetah-v1.1.cfg CONFIG ../../config/generic-fysetc-cheetah-v1.1.cfg
CONFIG ../../config/generic-fysetc-cheetah-v1.2.cfg CONFIG ../../config/generic-fysetc-cheetah-v1.2.cfg
CONFIG ../../config/generic-mks-robin-nano.cfg CONFIG ../../config/generic-mks-robin-nano.cfg
CONFIG ../../config/printer-alfawise-u30-2018.cfg
CONFIG ../../config/printer-twotrees-sapphire-pro-2020.cfg CONFIG ../../config/printer-twotrees-sapphire-pro-2020.cfg
# Printers using the stm32f407 # Printers using the stm32f407