Created
January 16, 2021 03:18
-
-
Save Nalorokk/2f7a71ffecbaa9f28e5423d8f8b50ef9 to your computer and use it in GitHub Desktop.
Tronxy X5SA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a Klipper configuration for TronXY X5SA, with | |
# CXY-V6 motherboard. | |
# === FLASHING WITH STOCK BOOTLOADER === | |
# You should make firmware for STM32F103 with bootloader offset | |
# at 0x8008800 (Chitu v6 Bootloader). Uncheck USB, and leave default | |
# serial settings. | |
# | |
# Use "./scripts/update_chitu.py ./out/klipper.bin ./out/update.cbd" after make to generate update.cbd. | |
# Put `update.cbd` onto SD card, and reboot the printer. | |
# It will be automatically installed, and you will be able to update it this way. | |
[mcu] | |
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 | |
restart_method: command | |
[printer] | |
kinematics: corexy | |
max_velocity: 300 | |
max_accel: 2500 | |
max_z_velocity: 25 | |
max_z_accel: 30 | |
[stepper_x] | |
step_pin: PE5 | |
dir_pin: !PE6 | |
enable_pin: !PC13 | |
microsteps: 16 | |
rotation_distance: 20 | |
endstop_pin: !PG10 | |
position_endstop: -1 | |
position_min: -1 | |
position_max: 350 | |
homing_speed: 50 | |
homing_retract_dist: 10 | |
second_homing_speed: 10.0 | |
[stepper_y] | |
step_pin: PE2 | |
dir_pin: !PE3 | |
enable_pin: !PE4 | |
microsteps: 16 | |
rotation_distance: 20 | |
endstop_pin: !PA12 | |
position_endstop: 0 | |
position_max: 330 | |
homing_retract_dist: 10 | |
homing_speed: 50.0 | |
second_homing_speed: 10.0 | |
[stepper_z] | |
step_pin: PB9 | |
dir_pin: PE0 | |
enable_pin: !PE1 | |
microsteps: 16 | |
rotation_distance: 4 | |
endstop_pin: probe:z_virtual_endstop | |
position_max: 400 | |
position_min: -2 | |
[extruder] | |
step_pin: PB4 | |
dir_pin: PB5 | |
enable_pin: !PB8 | |
microsteps: 16 | |
rotation_distance: 17.277 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: PG12 | |
sensor_type: ATC Semitec 104GT-2 | |
sensor_pin: PA1 | |
control: pid | |
pid_Kp: 18.831 | |
pid_Ki: 0.821 | |
pid_Kd: 108.044 | |
min_temp: 0 | |
max_temp: 250 | |
max_extrude_only_distance: 300 | |
pressure_advance: 0.9 | |
[heater_bed] | |
heater_pin: PG11 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PA0 | |
control: pid | |
min_temp: 0 | |
max_temp: 130 | |
pid_Kp: 73.932 | |
pid_Ki: 1.521 | |
pid_Kd: 898.279 | |
[verify_heater heater_bed] | |
heating_gain: 1 | |
check_gain_time: 120 | |
[heater_fan hotend_fan] | |
pin: PG14 | |
fan_speed: 1 | |
[fan] | |
pin: PG13 | |
max_power: 1 | |
[controller_fan drivers_fan] | |
pin: PD6 | |
[filament_switch_sensor sentinel] | |
pause_on_runout: True | |
runout_gcode: | |
M25 | |
switch_pin: PA15 | |
[output_pin beeper] | |
pin: PB0 | |
pwm: True | |
value: 0 | |
shutdown_value: 0 | |
cycle_time: 0.001 | |
scale: 1000 | |
[gcode_macro M300] | |
default_parameter_S=1000 | |
default_parameter_P=100 | |
gcode: SET_PIN PIN=beeper VALUE={S} | |
G4 P{P} | |
SET_PIN PIN=beeper VALUE=0 | |
[safe_z_home] | |
home_xy_position: 165,165 | |
speed: 50 | |
z_hop: 10 | |
z_hop_speed: 5 | |
[bed_screws] | |
screw1: 5,5 | |
screw2: 165,5 | |
screw3: 325,5 | |
screw4: 5,325 | |
screw5: 165,325 | |
screw6: 325,325 | |
[bed_mesh] | |
speed: 120 | |
probe_count: 5,5 | |
horizontal_move_z: 5 | |
algorithm: lagrange | |
mesh_min : 50,50 | |
mesh_max : 280,280 | |
mesh_pps: 0 | |
[probe] | |
x_offset: -30 | |
y_offset: 0 | |
pin: !PG9 | |
speed: 30 | |
#z_offset: 2 | |
#*# <---------------------- SAVE_CONFIG ----------------------> | |
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
#*# | |
#*# [bed_mesh default] | |
#*# version = 1 | |
#*# points = | |
#*# -0.162500, -0.245000, -0.266250, -0.308750, -0.355000 | |
#*# -0.137500, -0.168750, -0.202500, -0.212500, -0.245000 | |
#*# -0.071250, -0.097500, -0.098750, -0.105000, -0.160000 | |
#*# -0.087500, -0.093750, -0.090000, -0.118750, -0.205000 | |
#*# -0.130000, -0.158750, -0.173750, -0.253750, -0.397500 | |
#*# tension = 0.2 | |
#*# min_x = 50.0 | |
#*# algo = lagrange | |
#*# y_count = 5 | |
#*# mesh_y_pps = 0 | |
#*# min_y = 50.0 | |
#*# x_count = 5 | |
#*# max_y = 280.0 | |
#*# mesh_x_pps = 0 | |
#*# max_x = 280.0 | |
#*# | |
#*# [probe] | |
#*# z_offset = 2.120 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment