diff --git a/steel_data/config/printer.cfg b/steel_data/config/printer.cfg index 1a75c50..682bd1e 100644 --- a/steel_data/config/printer.cfg +++ b/steel_data/config/printer.cfg @@ -10,23 +10,15 @@ on_error_gcode: CANCEL_PRINT [virtual_sdcard] path: /home/jeka/steel_data/gcodes on_error_gcode: CANCEL_PRINT + +[temperature_sensor raspberypi] +sensor_type: temperature_host +min_temp: 10 +max_temp: 100 [mcu] serial: /dev/ttySteel - -# ================================================================================ -# Homing Override: -# This section is called any time a G28 [home] is called. - -;[homing_override] -;set_position_z:0 -;gcode: -; G1 Z10 F600 -; G28 X Y -; G1 X102.5 Y99.5 F6000 -; G28 Z -; G1 Z5 - + [bed_mesh] speed: 60 horizontal_move_z: 5 @@ -40,15 +32,44 @@ fade_target: 0 [bed_screws] screw1: 15,10 +screw1_name: Front left screw screw2: 15,185 +screw2_name: Rear left screw screw3: 185,10 +screw3_name: Front right screw screw4: 185,185 +screw4_name: Rear right screw -#[safe_z_home] -#home_xy_position = 0,0 -#speed = 50 -#z_hop = 5 -#_hop_speed = 5 +[screws_tilt_adjust] +horizontal_move_z: 5 +screw1: 15,185 +screw1_name: back left +screw2: 185,185 +screw2_name: back right +screw3: 15,10 +screw3_name: front left +screw4: 185,10 +screw4_name: front right +screw_thread: CW-M3 + +[bltouch] +sensor_pin: PD2 #^PD3 +control_pin: PB5 +x_offset: 36 +y_offset: 1 +speed: 10.0 +samples: 2 +speed: 2 +z_offset: 0.0 +probe_with_touch_mode: False +pin_up_reports_not_triggered: True +pin_up_touch_mode_reports_triggered: True + +[safe_z_home] +home_xy_position: 92, 92# Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 [stepper_x] step_pin: PF0 @@ -92,7 +113,8 @@ step_pin: PA4 dir_pin: PA6 enable_pin: !PA2 microsteps: 16 -rotation_distance: 22.222 +#rotation_distance: 22.222 +rotation_distance: 7.920 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PB4 @@ -115,6 +137,19 @@ max_temp: 110 ;pid_kp = 72.814 ;pid_ki = 1.634 ;pid_kd = 810.970 + + +[verify_heater heater_bed] +max_error: 130 +check_gain_time: 300 +hysteresis: 3 +heating_gain: 1 + +[verify_heater extruder] +max_error: 120 +check_gain_time: 20 +hysteresis: 5 +heating_gain: 2 [fan] pin: PH6 @@ -155,9 +190,9 @@ aliases: #*# #*# [extruder] #*# control = pid -#*# pid_kp = 28.696 -#*# pid_ki = 2.035 -#*# pid_kd = 101.153 +#*# pid_kp = 30.847 +#*# pid_ki = 2.571 +#*# pid_kd = 92.540 #*# #*# [stepper_z] #*# position_endstop = 4.180