Hi all,
I have been able to get my printer mostly working with klipper and octoprint. The last 2 things I want to irpn out is fan control and UART connection for tmc2209s.
With my current config (shown bellow) I can use my printer as intended except for my part cooling fans which always stay on even if I hit fan off in octoprint. Does anyone have suggestions on how I can get my fans under control?
[stepper_x]
step_pin: PC11
dir_pin: !PB6
enable_pin: !PC12
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA3
position_endstop: 0
position_max: 300
homing_speed: 50
[stepper_y]
step_pin: PB5
dir_pin: !PB4
enable_pin: !PC12
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC9
position_endstop: 0
position_max: 300
homing_speed: 50
[stepper_z]
step_pin: PB3
dir_pin: PA15
enable_pin: !PC12
microsteps: 16
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop # enable to use BLTouch
position_min: -5 # enable to use BLTouch
position_max: 400
[safe_z_home] # enable for BLTouch
home_xy_position: 150, 150
speed: 100
z_hop: 10
z_hop_speed: 5
[bltouch] # enable for BLTouch
sensor_pin: ^PA1
control_pin: PA11
x_offset: -44
y_offset: -16
z_offset: 3.35
speed: 3.0
[bed_mesh] # enable for BLTouch
speed: 100
mesh_min: 0, 0
mesh_max: 176, 204 # bed size - bltouch x_offset, y_offset
algorithm: bicubic
probe_count: 3,3
fade_start: 1
fade_end: 10
fade_target: 0
[gcode_macro M851]
gcode:
G28
probe_calibrate
[gcode_macro G32]
gcode:
G28
delta_calibrate
G1 X0 Y0 F4200
save_config
[gcode_macro G29]
gcode:
G28
bed_mesh_calibrate
G1 X0 Y0 Z15 F4200
save_config
[extruder]
step_pin: PB15
dir_pin: !PB14
enable_pin: !PC12
microsteps: 16
rotation_distance: 33.683
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB12
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PB0
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 250
[heater_bed]
heater_pin: PB13
sensor_type: ATC Semitec 104GT-2
sensor_pin: PB1
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130
[multi_pin my_fan]
pins: PA9,PA10
[fan]
pin: multi_pin:my_fan
[heater_fan hotend_fan]
pin :PA8
[mcu]
serial:/dev/serial0
baud = 115200
restart_method: command
#serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
Also, my motors are not as silent as I'd like them to be. I believe its because the current stand alone implementation doesn't use stealth chop. Does anyone know how I can fill out the sections bellow to get uart set up? I tried setting all the uart_pin sections to PB10, but klipper doesnt like that PB10 is shared like that.
[tmc2209 stepper_x]
uart_pin: ????
run_current: 0.800
hold_current: 0.800
diag_pin:
stealthchop_threshold: 999999
[tmc2209 stepper_y]
uart_pin: ????
run_current: 0.800
hold_current: 0.800
diag_pin:
stealthchop_threshold: 999999
[tmc2209 stepper_z]
uart_pin: ????
run_current: 0.800
hold_current: 0.800
diag_pin:
stealthchop_threshold: 999999
[tmc2209 extruder]
uart_pin: ????
run_current: 0.600
diag_pin:
stealthchop_threshold: 999999
If you have any documentation or other forums/communities that might be useful for me to check out please let me know!
yes,you can use other free pins, like PA2,just connect to the TX0 not the TX with one wire and maybe no other soldering.
it's no problem fans work with 12V, actually,i'm not familiar with configure of Klipper, or you can use multimeter to see if there have some high level voltage on the PA9 and PA10