285 lines
5.1 KiB
INI
285 lines
5.1 KiB
INI
![]() |
[include mainsail.cfg]
|
||
|
[mcu]
|
||
|
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
||
|
|
||
|
[virtual_sdcard]
|
||
|
path: /home/nixolas/printer_data/gcodes
|
||
|
on_error_gcode: CANCEL_PRINT
|
||
|
|
||
|
#Klipper config for Bluer Direct Drive - Robin Nano v2, TMC2209 in UART Mode
|
||
|
|
||
|
# [include adxlmcu.cfg]
|
||
|
[include config_backup.cfg]
|
||
|
|
||
|
[include KAMP_Settings.cfg]
|
||
|
|
||
|
[include macros.cfg]
|
||
|
|
||
|
|
||
|
# This file contains common pin mappings for MKS Robin Nano V2
|
||
|
# boards. To use this config, the firmware should be compiled for the
|
||
|
# STM32F103. When running "make menuconfig", enable "extra low-level
|
||
|
# configuration setup", select the 28KiB bootloader, and serial (on
|
||
|
# USART3 PB11/PB10) communication.
|
||
|
|
||
|
# Note that the "make flash" command does not work with MKS Robin
|
||
|
# boards. After running "make", run the following command:
|
||
|
# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano35.bin
|
||
|
# Copy the file out/Robin_nano35.bin to an SD card and then restart the
|
||
|
# printer with that SD card.
|
||
|
|
||
|
# ls /dev/serial/by-id/*
|
||
|
|
||
|
# See docs/Config_Reference.md for a description of parameters.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
[printer]
|
||
|
kinematics = cartesian
|
||
|
max_velocity = 500
|
||
|
max_accel = 2500
|
||
|
max_z_velocity = 25 #10
|
||
|
max_z_accel = 100
|
||
|
|
||
|
[stepper_x]
|
||
|
step_pin = PE3
|
||
|
dir_pin = PE2
|
||
|
enable_pin = !PE4
|
||
|
endstop_pin = !PA15
|
||
|
|
||
|
microsteps = 16 #32
|
||
|
rotation_distance = 40 # rotation_distance = 400 * 32 / 160
|
||
|
full_steps_per_rotation = 400
|
||
|
|
||
|
position_max = 300
|
||
|
position_endstop = -5
|
||
|
position_min = -5
|
||
|
homing_speed = 50
|
||
|
|
||
|
|
||
|
|
||
|
[stepper_y]
|
||
|
step_pin = PE0
|
||
|
dir_pin = !PB9
|
||
|
enable_pin = !PE1
|
||
|
endstop_pin = !PA12
|
||
|
|
||
|
microsteps = 16 # 16 #32
|
||
|
rotation_distance = 40 # <full_steps_per_rotation> * <microsteps> / <steps_per_mm>
|
||
|
full_steps_per_rotation = 400 # 0.9 degrees per step
|
||
|
|
||
|
position_endstop = 0
|
||
|
position_min = 0
|
||
|
position_max = 300
|
||
|
homing_speed = 50
|
||
|
|
||
|
|
||
|
|
||
|
[stepper_z]
|
||
|
step_pin = PB5
|
||
|
dir_pin = !PB4
|
||
|
enable_pin = !PB8
|
||
|
|
||
|
microsteps = 16 #16
|
||
|
rotation_distance = 8
|
||
|
full_steps_per_rotation = 200
|
||
|
|
||
|
position_max = 400
|
||
|
position_min = -4
|
||
|
endstop_pin = probe:z_virtual_endstop
|
||
|
|
||
|
|
||
|
[stepper_z1]
|
||
|
step_pin = PD15
|
||
|
dir_pin = !PA1
|
||
|
enable_pin = !PA3
|
||
|
microsteps = 16 #16
|
||
|
rotation_distance = 8
|
||
|
full_steps_per_rotation = 200
|
||
|
|
||
|
|
||
|
[extruder]
|
||
|
step_pin = PD6
|
||
|
dir_pin = !PD3
|
||
|
enable_pin = !PB3
|
||
|
microsteps = 16
|
||
|
rotation_distance = 7.93
|
||
|
nozzle_diameter = 0.600
|
||
|
filament_diameter = 1.750
|
||
|
heater_pin = PC3
|
||
|
sensor_type = EPCOS 100K B57560G104F
|
||
|
sensor_pin = PC1
|
||
|
control = pid
|
||
|
pid_kp = 31.087
|
||
|
pid_ki = 1.712
|
||
|
pid_kd = 141.059
|
||
|
min_temp = 0
|
||
|
max_temp = 255
|
||
|
max_extrude_only_distance = 240
|
||
|
max_extrude_cross_section = 5
|
||
|
#pressure_advance = 0.0953
|
||
|
|
||
|
# enables G10 to retract filament
|
||
|
[firmware_retraction]
|
||
|
retract_length = 4
|
||
|
unretract_extra_length = 0
|
||
|
|
||
|
[heater_bed]
|
||
|
heater_pin = PA0
|
||
|
sensor_type = EPCOS 100K B57560G104F
|
||
|
sensor_pin = PC0
|
||
|
control = pid
|
||
|
pid_Kp = 58.992
|
||
|
pid_Ki = 0.917
|
||
|
pid_Kd = 949.030
|
||
|
min_temp = 0
|
||
|
max_temp = 120
|
||
|
|
||
|
[verify_heater extruder]
|
||
|
max_error = 150
|
||
|
|
||
|
|
||
|
## FANS
|
||
|
[fan] # part colling fans
|
||
|
pin = PB1
|
||
|
|
||
|
[heater_fan HeatSink]
|
||
|
pin: PB0
|
||
|
heater: extruder
|
||
|
heater_temp: 50.0
|
||
|
fan_speed: 1.0
|
||
|
|
||
|
|
||
|
[bltouch]
|
||
|
sensor_pin = ^PA11
|
||
|
control_pin = PA8
|
||
|
x_offset = 19.1
|
||
|
y_offset = 31.1
|
||
|
#z_offset = 2.425
|
||
|
pin_move_time = 0.4
|
||
|
speed = 10 #5
|
||
|
stow_on_each_sample = FALSE
|
||
|
#position_min: -3 enable this for z-offset callibration
|
||
|
|
||
|
[bed_mesh]
|
||
|
speed = 120 #120
|
||
|
horizontal_move_z = 7 #8
|
||
|
mesh_min = 42,42
|
||
|
mesh_max = 290,270
|
||
|
probe_count = 6,6
|
||
|
# mesh_pps: 5,3
|
||
|
algorithm = bicubic
|
||
|
# bicubic_tension: 0.2
|
||
|
|
||
|
|
||
|
[safe_z_home]
|
||
|
home_xy_position = 160, 140
|
||
|
speed = 50
|
||
|
z_hop = 8
|
||
|
z_hop_speed = 5
|
||
|
|
||
|
[input_shaper]
|
||
|
shaper_freq_y: 29.1
|
||
|
shaper_type_y: mzv
|
||
|
shaper_freq_x: 71.4
|
||
|
shaper_type_x: mzv
|
||
|
|
||
|
|
||
|
[screws_tilt_adjust]
|
||
|
screw1: 1.30,24.20
|
||
|
screw1_name: Front Left
|
||
|
screw2: 166.30,24.20
|
||
|
screw2_name: Front Right
|
||
|
screw3: 166.30,194.20
|
||
|
screw3_name: Rear Right
|
||
|
screw4: 1.30,194.20
|
||
|
screw4_name: Rear Left
|
||
|
horizontal_move_z: 10.
|
||
|
speed: 80
|
||
|
screw_thread: CW-M4
|
||
|
|
||
|
|
||
|
|
||
|
[temperature_sensor pi]
|
||
|
sensor_type: temperature_host
|
||
|
min_temp: 10
|
||
|
max_temp: 100
|
||
|
|
||
|
[temperature_sensor mcu]
|
||
|
sensor_type: temperature_mcu
|
||
|
min_temp: 0
|
||
|
max_temp: 100
|
||
|
|
||
|
|
||
|
[gcode_macro CALIBRATE_BED]
|
||
|
gcode:
|
||
|
G28 X0 Y0
|
||
|
G28 Z0
|
||
|
G90
|
||
|
bed_mesh_calibrate profile=bluey method=automatic
|
||
|
|
||
|
|
||
|
[gcode_macro FILAMENT_LOAD]
|
||
|
gcode:
|
||
|
M83
|
||
|
G92 E0.0
|
||
|
G1 E480 F350
|
||
|
G92 E0.0
|
||
|
M82
|
||
|
|
||
|
[gcode_macro FILAMENT_UNLOAD]
|
||
|
gcode:
|
||
|
M83
|
||
|
G92 E0.0
|
||
|
G1 E-480 F350
|
||
|
G92 E0.0
|
||
|
M82
|
||
|
|
||
|
|
||
|
[z_tilt]
|
||
|
z_positions:
|
||
|
0,117.5
|
||
|
180,117.5
|
||
|
points:
|
||
|
5,117.5
|
||
|
180,117.5
|
||
|
horizontal_move_z: 10
|
||
|
retries: 10
|
||
|
retry_tolerance: 0.02
|
||
|
|
||
|
|
||
|
[exclude_object]
|
||
|
|
||
|
[pause_resume]
|
||
|
|
||
|
[display_status]
|
||
|
|
||
|
[respond]
|
||
|
|
||
|
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||
|
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||
|
#*#
|
||
|
#*# [bed_mesh default]
|
||
|
#*# version = 1
|
||
|
#*# points =
|
||
|
#*# 0.160000, 0.150000, 0.130000, 0.207500, 0.177500, 0.202500
|
||
|
#*# 0.070000, 0.020000, -0.015000, 0.015000, 0.015000, 0.055000
|
||
|
#*# -0.005000, -0.032500, -0.042500, -0.025000, -0.035000, 0.067500
|
||
|
#*# 0.037500, -0.057500, -0.007500, -0.032500, -0.012500, 0.025000
|
||
|
#*# 0.090000, 0.080000, 0.052500, 0.002500, 0.025000, 0.110000
|
||
|
#*# 0.272500, 0.197500, 0.162500, 0.175000, 0.147500, 0.150000
|
||
|
#*# tension = 0.2
|
||
|
#*# min_x = 42.0
|
||
|
#*# algo = bicubic
|
||
|
#*# y_count = 6
|
||
|
#*# mesh_y_pps = 2
|
||
|
#*# min_y = 42.0
|
||
|
#*# x_count = 6
|
||
|
#*# max_y = 270.0
|
||
|
#*# mesh_x_pps = 2
|
||
|
#*# max_x = 290.0
|
||
|
#*#
|
||
|
#*# [bltouch]
|
||
|
#*# z_offset = 2.910
|