Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Predator9000
- ########################################
- # PRINTER configuration
- ########################################
- [stepper_a]
- step_pin: P2.2
- dir_pin: !P2.6
- enable_pin: !P2.1
- microsteps: 16
- rotation_distance: 40
- endstop_pin: P1.28
- #position_endstop: 0
- homing_speed: 100
- #position_endstop: 460
- #arm_length: 440
- [stepper_b]
- step_pin: P0.19
- dir_pin: !P0.20
- enable_pin: !P2.8
- microsteps: 16
- rotation_distance: 40
- endstop_pin: P1.26
- #position_endstop: 0
- [stepper_c]
- step_pin: P0.22
- dir_pin: !P2.11
- enable_pin: !P0.21
- microsteps: 16
- rotation_distance: 40
- endstop_pin: P1.24
- #position_endstop: 0
- [mcu]
- serial:/dev/serial/by-id/usb-Klipper_lpc1768_0F50010F612448AFA813285DC62000F5-if00
- [printer]
- kinematics: delta
- max_velocity: 400
- max_accel: 3000
- max_z_velocity: 250
- #delta_radius: 185
- square_corner_velocity: 5
- max_accel: 7000
- max_accel_to_decel: 7000
- minimum_z_position: -15
- [mcu rpi]
- serial: /tmp/klipper_host_mcu
- [adxl345]
- cs_pin: rpi:None
- [resonance_tester]
- accel_chip: adxl345
- probe_points:0,0,150
- [input_shaper]
- #max_smoothing
- [delta_calibrate]
- radius: 180
- speed: 80
- horizontal_move_z: 25
- [bed_mesh]
- speed: 80
- horizontal_move_z: 25
- round_probe_count: 9
- algorithm: bicubic
- mesh_origin: 0,0
- mesh_radius: 170
- fade_start: 1
- fade_end: 10
- [idle_timeout]
- timeout: 360
- [probe]
- pin:^P1.25
- z_offset:20
- speed: 5
- samples: 3
- sample_retract_dist: 3.0
- samples_tolerance: 0.05
- samples_tolerance_retries: 2
- [virtual_sdcard]
- path: ~/gcode_files
- [pause_resume]
- ########################################
- # EXTRUDER & BED configuration
- ########################################
- [extruder]
- step_pin: P2.13
- dir_pin: !P0.11
- enable_pin: !P2.12
- microsteps: 16
- step_distance: .00245
- nozzle_diameter: 0.600
- filament_diameter: 1.750
- heater_pin: P2.7
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: P0.24
- #control: pid
- #pid_Kp: 36.656
- #pid_Ki: 2.546
- #pid_Kd: 131.963
- min_temp: 0
- max_temp: 300
- pressure_advance = 0.16
- [fan]
- pin: P2.3
- kick_start_time: 0.100
- [heater_fan my_nozzle_fan]
- pin:P2.4
- heater: extruder
- heater_temp: 50.0
- fan_speed: 1.0
- [filament_switch_sensor filament_sensor]
- pause_on_runout: True
- runout_gcode:
- event_delay: 3.0
- switch_pin: !P1.27
- [heater_bed]
- heater_pin: P2.5
- sensor_type: ATC Semitec 104GT-2
- sensor_pin: P0.23
- #control: pid
- #pid_Kp: 74.506
- #pid_Ki: 2.169
- #pid_Kd: 639.824
- min_temp: 0
- max_temp: 130
- ########################################
- # TMC2209 configuration
- ########################################
- [tmc2209 stepper_a]
- uart_pin: P1.17
- interpolate: True
- run_current: 2.0
- hold_current: 1.9
- #sense_resistor: 0.110
- stealthchop_threshold: 300
- [tmc2209 stepper_b]
- uart_pin: P1.15
- interpolate: True
- run_current: 2.0
- hold_current: 1.9
- #sense_resistor: 0.110
- stealthchop_threshold: 300
- [tmc2209 stepper_c]
- uart_pin: P1.10
- interpolate: True
- run_current: 2.0
- hold_current: 1.9
- #sense_resistor: 0.110
- stealthchop_threshold: 300
- [tmc2209 extruder]
- uart_pin: P1.8
- interpolate: True
- run_current: 1
- #hold_current: 0.4
- stealthchop_threshold: 1
- ########################################
- # DISPLAY configuration
- ########################################
- [display]
- lcd_type: uc1701
- cs_pin: EXP1_3
- a0_pin: EXP1_4
- rst_pin: EXP1_5
- contrast: 60
- encoder_pins: ^EXP2_5, ^EXP2_3
- click_pin: ^!EXP1_2
- #kill_pin: ^!EXP2_8
- [output_pin beeper]
- pin: EXP1_1
- [neopixel ML]
- pin: EXP1_6
- chain_count: 3
- color_order: RGB
- initial_RED: 0.4
- initial_GREEN: 0.4
- initial_BLUE: 0.5
- ########################################
- # MACRO configuration
- ########################################
- [gcode_macro M105]
- rename_existing: M105.1
- gcode:
- # ML <- NEOPIX LED)
- {% if printer.extruder.target == 0 %}
- {% if printer.extruder.temperature > 60.0 %}
- SET_LED LED=ML RED=0.95 GREEN=0.1 BLUE=0.1 INDEX=3
- SET_LED LED=ML RED=0.95 GREEN=0.1 BLUE=0.1 INDEX=2
- {% else %}
- SET_LED LED=ML RED=0 GREEN=0 BLUE=1 INDEX=3
- SET_LED LED=ML RED=0 GREEN=0 BLUE=1 INDEX=2
- {% endif %}
- {% else %}
- {% if printer.extruder.temperature >= printer.extruder.target - 1.0 %}
- SET_LED LED=ML RED=0 GREEN=1 BLUE=0 INDEX=3
- SET_LED LED=ML RED=0 GREEN=1 BLUE=0 INDEX=2
- {% else %}
- {% set scaler = printer.extruder.temperature|float / printer.extruder.target|float %}
- SET_LED LED=ML RED={ scaler|float * 1 } GREEN=0 BLUE=0 INDEX=3
- SET_LED LED=ML RED={ scaler|float * 1 } GREEN=0 BLUE=0 INDEX=2
- {% endif %}
- {% endif %}
- [gcode_macro PAUSE]
- rename_existing: BASE_PAUSE
- default_parameter_X: 230 # edit to your preferred park position
- default_parameter_Y: 230 # edit to your preferred park position
- default_parameter_Z: 10 # edit to your preferred park position
- default_parameter_E: 1 # edit to your preferred retract length
- gcode:
- SAVE_GCODE_STATE NAME=PAUSE_state
- BASE_PAUSE
- G91
- G1 E-{E} F2100
- G1 Z{Z}
- G90
- G1 X{X} Y{Y} F6000
- [gcode_macro RESUME]
- rename_existing: BASE_RESUME
- default_parameter_E: 1 # edit to your preferred retract length
- gcode:
- G91
- G1 E{E} F2100
- G90
- RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
- BASE_RESUME
- [gcode_macro CANCEL_PRINT]
- rename_existing: BASE_CANCEL_PRINT
- gcode:
- TURN_OFF_HEATERS
- CLEAR_PAUSE
- SDCARD_RESET_FILE
- BASE_CANCEL_PRINT
- [gcode_macro DELTA_PROBE_CALI]
- gcode:
- G28
- G1 Z30
- probe_calibrate
- [gcode_macro DELTA_CALI]
- gcode:
- G28
- delta_calibrate
- G28
- save_config
- [gcode_macro DELTA_MESH]
- gcode:
- G28
- bed_mesh_calibrate
- G1 X0 Y0 Z15 F4200
- save_config
- [gcode_macro DELTA_SHAPE]
- gcode:
- G28
- SHAPER_CALIBRATE
- save_config
- [gcode_macro PAUSE]
- rename_existing: BASE_PAUSE
- default_parameter_X: 230 #edit to your park position
- default_parameter_Y: 230 #edit to your park position
- default_parameter_Z: 10 #edit to your park position
- default_parameter_E: 1 #edit to your retract length
- gcode:
- SAVE_GCODE_STATE NAME=PAUSE_state
- BASE_PAUSE
- G91
- G1 E-{E} F2100
- G1 Z{Z}
- G90
- G1 X{X} Y{Y} F6000
- [gcode_macro PA_OFF]
- default_parameter_J=0
- default_parameter_S=0.00
- gcode: SET_PRESSURE_ADVANCE ADVANCE={J} smooth_time={S}
- [gcode_macro PA_ON]
- default_parameter_P= 0.16
- default_parameter_S= 0.08
- gcode: SET_PRESSURE_ADVANCE ADVANCE={P} smooth_time={S}
- [gcode_macro RESUME]
- rename_existing: BASE_RESUME
- default_parameter_E: 1 #edit to your retract length
- gcode:
- G91
- G1 E{E} F2100
- G90
- RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
- BASE_RESUME
- [gcode_macro CANCEL_PRINT]
- rename_existing: BASE_CANCEL_PRINT
- gcode:
- TURN_OFF_HEATERS
- CLEAR_PAUSE
- SDCARD_RESET_FILE
- BASE_CANCEL_PRINT
- [gcode_macro START_PRINT]
- default_parameter_BED_TEMP: 60
- default_parameter_EXTRUDER_TEMP: 205
- gcode:
- # Use absolute coordinates
- G90
- # Reset the G-Code Z offset (adjust Z offset if needed)
- SET_GCODE_OFFSET Z=-0.15 #-0.12
- # Home the printer
- G28
- # Load default bed mesh
- BED_MESH_PROFILE LOAD=default
- # Start bed heating
- M140 S{BED_TEMP}
- # Wait for bed to reach temperature
- M190 S{BED_TEMP}
- # Set and wait for nozzle to reach temperature
- M109 S{EXTRUDER_TEMP}
- #M104 S{material_print_temperature_layer_0} T0 ; heat nozzle
- #M190 S{material_bed_temperature_layer_0} T0 ; heat bed and wait
- #M109 S{material_print_temperature_layer_0} T0 ; wait for nozzle
- G1 X-50 Y-180 Z5 F2000
- G1 Z0.3
- #;Prime the extruder
- G92 E0
- G1 E15 F500
- G92 E0
- G1 X0.0 E10 F1000
- G1 X50 E14 F3200
- G92 E0
- [gcode_macro END_PRINT]
- gcode:
- # Turn off bed, extruder, and fan
- M140 S0
- M104 S0
- M106 S0
- # Move nozzle away from print while retracting
- G28
- G91
- G1 E-10 F300
- # Raise nozzle by 10mm
- G90
- # Disable steppers
- #M84
- ########################################
- # EXP1 / EXP2 (display) pins
- ########################################
- [board_pins]
- aliases:
- # EXP1 header
- EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
- EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
- # EXP2 header
- EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
- EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
- # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [printer]
- #*# delta_radius = 228.372928
- #*#
- #*# [stepper_a]
- #*# angle = 209.972002
- #*# arm_length = 440.000000
- #*# position_endstop = 454.327598
- #*#
- #*# [stepper_b]
- #*# angle = 330.145302
- #*# arm_length = 440.000000
- #*# position_endstop = 456.229357
- #*#
- #*# [stepper_c]
- #*# angle = 90.000000
- #*# arm_length = 440.000000
- #*# position_endstop = 455.836977
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 0.123343, 0.123343, 0.123343, 0.123343, 0.123343, 0.123343, 0.123343, 0.123343, 0.123343
- #*# 0.133051, 0.133051, 0.133051, 0.073273, 0.155110, 0.248503, 0.367288, 0.367288, 0.367288
- #*# 0.287166, 0.287166, 0.181159, 0.162360, 0.240621, 0.262601, 0.305059, 0.354504, 0.354504
- #*# 0.294233, 0.294233, 0.241881, 0.282357, 0.344722, 0.340832, 0.321965, 0.313040, 0.313040
- #*# 0.313333, 0.222611, 0.232843, 0.315949, 0.377139, 0.380802, 0.345238, 0.293339, 0.222586
- #*# 0.236235, 0.236235, 0.292003, 0.329075, 0.370251, 0.348358, 0.331570, 0.251978, 0.251978
- #*# 0.224967, 0.224967, 0.255541, 0.290490, 0.333257, 0.341768, 0.303468, 0.153474, 0.153474
- #*# 0.275975, 0.275975, 0.275975, 0.273738, 0.305832, 0.299663, 0.250361, 0.250361, 0.250361
- #*# 0.356101, 0.356101, 0.356101, 0.356101, 0.356101, 0.356101, 0.356101, 0.356101, 0.356101
- #*# tension = 0.2
- #*# min_x = -170.0
- #*# algo = bicubic
- #*# y_count = 9
- #*# mesh_y_pps = 2
- #*# min_y = -170.0
- #*# x_count = 9
- #*# max_y = 170.0
- #*# mesh_x_pps = 2
- #*# max_x = 170.0
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 38.371
- #*# pid_ki = 2.665
- #*# pid_kd = 138.136
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 73.695
- #*# pid_ki = 1.997
- #*# pid_kd = 679.836
- #*#
- #*# [input_shaper]
- #*# shaper_freq_x = 29.6
- #*# shaper_freq_y = 29.2
- #*# shaper_type_x = zv
- #*# shaper_type_y = zv
- #*#
- #*# [delta_calibrate]
- #*# height0 = 20.0
- #*# height0_pos = 34745.000,34900.000,34861.000
- #*# height1 = 20.0
- #*# height1_pos = 43160.667,43300.667,30052.667
- #*# height2 = 20.0
- #*# height2_pos = 33624.667,48709.667,33745.667
- #*# height3 = 20.0
- #*# height3_pos = 30152.000,41919.000,41862.000
- #*# height4 = 20.0
- #*# height4_pos = 33414.333,33577.333,44065.333
- #*# height5 = 20.0
- #*# height5_pos = 40495.000,30585.000,40607.000
- #*# height6 = 20.0
- #*# height6_pos = 46053.333,33627.333,33602.333
Add Comment
Please, Sign In to add comment