Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Config file for Anycubic Kobra Max
- # Don't forget to calibrate Zprobe (BEACON_CALIBRATE + SAVE_CONFIG) and (BED_MESH_CALIBRATE + SAVE_CONFIG)
- [include mainsail.cfg]
- [include pressure_advance.cfg]
- [virtual_sdcard]
- path: /home/orangepi/printer_data/gcodes
- on_error_gcode: CANCEL_PRINT
- [include macros.cfg]
- [stepper_x]
- step_pin: PA5
- dir_pin: PA4
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA6
- position_min: -5
- position_endstop: -4.21
- position_max: 404
- homing_speed: 100
- [tmc2209 stepper_x]
- uart_pin:PA15
- tx_pin:PA9
- #diag_pin:PA6
- sense_resistor: 0.100
- run_current: 0.9
- uart_address: 3
- #driver_SGTHRS: 0
- stealthchop_threshold: 999999
- [stepper_y]
- step_pin: PC4
- dir_pin: PA7
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PC5
- position_min: -16
- position_endstop: -15.15
- position_max: 404
- homing_speed: 100
- [tmc2209 stepper_y]
- uart_pin:PA15
- tx_pin:PA9
- diag_pin:^PC5
- sense_resistor: 0.100
- run_current: 0.9
- uart_address: 1
- driver_SGTHRS: 50
- stealthchop_threshold: 999999
- [stepper_z]
- step_pin: PC7
- dir_pin: !PC6
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop
- homing_retract_dist: 0 # beacon needs this to be set to 0
- #endstop_pin: PA8
- #position_endstop: 0
- position_min: -2
- position_max: 450
- homing_speed: 10
- [tmc2209 stepper_z]
- uart_pin:PA15
- tx_pin:PA9
- #diag_pin:PA8
- sense_resistor: 0.100
- run_current: 0.9
- uart_address: 2
- #driver_SGTHRS: 0
- stealthchop_threshold: 999999
- [stepper_z1]
- step_pin: PB1
- dir_pin: !PB0
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- #[probe]
- #pin: !PB6
- #speed: 5.0
- #samples: 2
- #samples_tolerance_retries: 3
- #z_offset: 0.05
- #activate_gcode: probe_reset
- [output_pin LED]
- pin: mcu:PB8
- pwm: False
- value: 0
- [output_pin probe_reset_pin]
- pin: !PB7
- [extruder]
- max_extrude_only_distance: 100.0
- max_extrude_cross_section = 5
- step_pin: PC14
- dir_pin: !PC15
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 7.71 #For stock extruder (To be calibrated !)
- #rotation_distance: 23 #For Micro Swiss extruder
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC1
- #control = pid
- #pid_kp = 31.243
- #pid_ki = 3.414
- #pid_kd = 71.468
- min_temp: 0
- max_temp: 250
- [firmware_retraction]
- retract_length:3 #stock is more than 2
- retract_speed:20
- unretract_extra_length:0
- unretract_speed:20
- [tmc2208 extruder]
- uart_pin:PA15
- tx_pin:PA9
- #diag_pin:PB7
- sense_resistor: 0.100
- run_current: 0.9
- uart_address: 0
- stealthchop_threshold: 999999
- [heater_bed]
- heater_pin: PA0
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC0
- control = pid
- pid_kp = 73.966
- pid_ki = 0.884
- pid_kd = 1547.747
- min_temp: 0
- max_temp: 130
- [fan]
- pin: PB9
- [heater_fan hotend_fan]
- pin: PA13
- heater: extruder
- heater_temp: 50.0
- [heater_fan controller_fan]
- pin: PA14
- heater: heater_bed
- heater_temp: 45.0
- [safe_z_home]
- home_xy_position: 200, 200 # Center of bed
- speed: 100
- z_hop: 5 # Move up 5mm
- z_hop_speed: 15
- move_to_previous: True
- [bed_mesh]
- speed: 200
- horizontal_move_z: 3
- mesh_min: 20, 20
- mesh_max: 360, 360
- algorithm: bicubic
- probe_count: 10, 10
- [gcode_macro probe_reset]
- gcode:
- SET_PIN PIN=probe_reset_pin VALUE=1
- G4 P500
- SET_PIN PIN=probe_reset_pin VALUE=0
- G4 P100
- [filament_switch_sensor runout]
- pause_on_runout: True
- switch_pin: !PC13
- [mcu]
- serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- restart_method: command
- baud: 250000
- [mcu opi]
- serial: /tmp/klipper_host_mcu
- [adxl345]
- cs_pin: opi:None
- spi_speed: 488000
- spi_bus: spidev1.0
- [resonance_tester]
- accel_chip: adxl345
- probe_points: 100, 100, 20 # an example
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 2000
- max_z_velocity: 5
- max_z_accel: 100
- [beacon]
- serial: /dev/serial/by-id/usb-Beacon_Beacon_RevD_BD1D5BAF515137474C202020FF0C1D1F-if00
- x_offset: 0 # update with offset from nozzle on your machine
- y_offset: 30 # update with offset from nozzle on your machine
- mesh_main_direction: x
- mesh_runs: 2
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [probe]
- #*# z_offset = -0.151
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 22.198
- #*# pid_ki = 1.104
- #*# pid_kd = 111.545
- #*#
- #*# [beacon model default]
- #*# model_coef = 1.4514040939028683,
- #*# 1.7720853858518817,
- #*# 0.7473051881442708,
- #*# 0.38519348427937317,
- #*# 0.42541487369912,
- #*# 0.22477408465000007,
- #*# -0.33047371370102635,
- #*# -0.05318945183466364,
- #*# 0.3058317935833267,
- #*# 0.07274578543855743
- #*# model_domain = 3.157126281916186e-07,3.3192071316391005e-07
- #*# model_range = 0.200000,5.000000
- #*# model_temp = 38.929321
- #*# model_offset = 0.00000
- #*#
- #*# [bed_mesh kylmalt]
- #*# version = 1
- #*# points =
- #*# -1.023784, -0.987357, -0.979183, -0.959274, -0.939242, -0.922006, -0.904910, -0.854138, -0.814619, -0.774498
- #*# -0.669587, -0.632249, -0.585868, -0.552960, -0.519998, -0.496490, -0.500569, -0.481304, -0.439124, -0.401968
- #*# -0.340775, -0.340612, -0.288996, -0.254121, -0.222113, -0.208018, -0.201281, -0.218772, -0.229614, -0.195686
- #*# -0.021275, -0.047661, -0.051580, -0.044870, -0.021199, -0.008676, -0.042226, -0.056268, -0.064788, -0.102201
- #*# 0.122092, 0.047078, 0.005452, 0.015682, 0.025580, 0.038262, 0.020159, -0.001222, -0.034022, -0.091976
- #*# 0.066776, -0.017562, -0.045803, -0.026331, 0.004095, 0.024724, 0.008740, -0.018052, -0.071594, -0.135458
- #*# -0.065127, -0.145907, -0.172166, -0.155052, -0.104080, -0.066501, -0.099897, -0.117919, -0.152034, -0.198757
- #*# -0.208970, -0.321992, -0.347322, -0.326324, -0.284117, -0.246740, -0.229350, -0.230391, -0.244124, -0.203646
- #*# -0.385619, -0.531467, -0.617343, -0.607034, -0.574308, -0.519099, -0.512005, -0.447993, -0.376587, -0.318774
- #*# -0.624967, -0.799898, -0.921492, -0.943298, -0.934164, -0.877088, -0.823426, -0.729854, -0.652360, -0.563902
- #*# x_count = 10
- #*# y_count = 10
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 19.0
- #*# max_x = 380.0
- #*# min_y = 19.0
- #*# max_y = 380.0
- #*#
- #*# [bed_mesh PLA 1]
- #*# version = 1
- #*# points =
- #*# -1.368324, -1.220125, -1.095501, -1.010762, -0.951971, -0.921652, -0.932999, -0.955169, -0.989838, -1.046900
- #*# -0.944548, -0.809415, -0.671910, -0.578856, -0.516679, -0.485214, -0.514898, -0.549486, -0.598748, -0.651475
- #*# -0.591556, -0.479412, -0.352783, -0.269776, -0.207245, -0.183464, -0.227716, -0.285496, -0.359228, -0.459283
- #*# -0.284820, -0.217094, -0.131688, -0.057127, 0.009895, 0.026903, -0.044479, -0.116068, -0.224329, -0.354894
- #*# -0.166242, -0.142309, -0.079358, -0.005905, 0.039317, 0.055427, 0.011089, -0.073979, -0.204215, -0.354223
- #*# -0.222216, -0.208844, -0.136298, -0.056289, 0.015027, 0.043925, -0.008968, -0.093689, -0.233698, -0.391503
- #*# -0.346475, -0.337323, -0.276156, -0.193157, -0.098244, -0.061933, -0.125970, -0.202814, -0.330945, -0.480656
- #*# -0.486767, -0.509894, -0.448761, -0.373579, -0.295062, -0.260518, -0.279973, -0.337882, -0.426523, -0.523125
- #*# -0.688731, -0.728017, -0.733057, -0.672485, -0.603869, -0.547751, -0.555655, -0.565453, -0.600279, -0.647731
- #*# -0.929203, -1.007977, -1.038789, -0.992241, -0.943141, -0.885310, -0.867722, -0.845896, -0.877903, -0.923945
- #*# x_count = 10
- #*# y_count = 10
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 19.0
- #*# max_x = 380.0
- #*# min_y = 19.0
- #*# max_y = 380.0
- #*#
- #*# [bed_mesh PETG]
- #*# version = 1
- #*# points =
- #*# -1.699711, -1.538945, -1.409818, -1.282995, -1.189769, -1.102013, -1.045756, -1.003159, -1.002373, -1.026533, -1.055502, -1.123540, -1.193111, -1.276382, -1.389717
- #*# -1.348322, -1.197725, -1.079842, -0.944400, -0.852781, -0.765875, -0.702961, -0.673671, -0.673328, -0.704274, -0.736923, -0.802867, -0.885704, -0.955880, -1.065629
- #*# -1.078381, -0.936947, -0.810588, -0.684267, -0.592306, -0.503351, -0.445238, -0.416483, -0.419221, -0.461862, -0.494986, -0.563954, -0.648199, -0.735191, -0.844141
- #*# -0.846026, -0.720552, -0.598702, -0.476764, -0.389223, -0.304165, -0.243705, -0.206834, -0.220273, -0.261020, -0.314018, -0.392140, -0.485433, -0.583858, -0.703502
- #*# -0.605680, -0.504732, -0.396551, -0.287707, -0.206110, -0.121773, -0.054618, -0.006392, -0.046254, -0.112440, -0.164579, -0.251685, -0.365162, -0.483556, -0.623441
- #*# -0.459000, -0.366764, -0.270469, -0.173067, -0.092767, -0.009031, 0.053127, 0.088910, 0.061488, 0.001394, -0.065742, -0.162796, -0.288140, -0.421187, -0.578154
- #*# -0.397460, -0.318782, -0.242812, -0.145324, -0.063853, 0.021214, 0.064915, 0.091132, 0.084741, 0.036371, -0.026463, -0.134329, -0.277879, -0.414501, -0.584423
- #*# -0.392350, -0.317180, -0.265880, -0.171837, -0.081484, 0.008994, 0.060965, 0.094239, 0.083140, 0.038842, -0.029451, -0.142103, -0.291765, -0.423743, -0.600640
- #*# -0.471547, -0.402343, -0.326698, -0.223424, -0.134121, -0.040861, 0.038977, 0.060194, 0.066634, 0.007421, -0.050428, -0.163890, -0.314042, -0.464434, -0.636774
- #*# -0.550253, -0.491659, -0.412567, -0.319606, -0.231567, -0.140803, -0.051483, 0.010312, -0.017196, -0.073447, -0.134655, -0.243634, -0.386081, -0.530874, -0.700828
- #*# -0.625883, -0.576543, -0.511602, -0.419045, -0.338865, -0.246204, -0.167436, -0.112335, -0.124685, -0.185133, -0.232825, -0.335857, -0.464872, -0.599816, -0.751745
- #*# -0.735650, -0.704110, -0.649552, -0.564715, -0.484539, -0.401175, -0.339281, -0.287793, -0.288534, -0.326621, -0.370637, -0.457709, -0.568854, -0.685642, -0.822234
- #*# -0.891231, -0.853334, -0.828152, -0.768063, -0.695893, -0.610828, -0.548383, -0.504377, -0.493188, -0.525488, -0.558611, -0.626157, -0.717265, -0.803432, -0.929239
- #*# -1.047081, -1.001891, -1.008576, -0.975866, -0.908825, -0.839675, -0.779105, -0.729084, -0.710143, -0.735028, -0.754089, -0.812688, -0.879652, -0.965160, -1.077529
- #*# -1.248740, -1.231512, -1.226381, -1.198120, -1.141167, -1.070126, -1.022495, -0.976787, -0.954628, -0.970041, -0.981094, -1.027175, -1.113465, -1.212473, -1.316314
- #*# x_count = 15
- #*# y_count = 15
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 19.0
- #*# max_x = 380.0
- #*# min_y = 19.0
- #*# max_y = 380.0
- #*#
- #*# [input_shaper]
- #*# shaper_type_x = ei
- #*# shaper_freq_x = 69.6
- #*# shaper_type_y = mzv
- #*# shaper_freq_y = 30.8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement