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: 120
- 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: 300
- max_accel: 3000
- max_z_velocity: 200
- delta_radius: 180
- square_corner_velocity: 5.0
- minimum_z_position: -15
- [delta_calibrate]
- radius: 160
- speed: 50
- horizontal_move_z: 50
- [idle_timeout]
- timeout: 360
- [probe]
- pin:^P1.25
- z_offset:20
- speed: 30
- samples: 3
- sample_retract_dist: 3.0
- samples_tolerance: 0.100
- samples_tolerance_retries: 2
- ########################################
- # EXTRUDER & BED configuration
- ########################################
- [extruder]
- step_pin: P2.13
- dir_pin: !P0.11
- enable_pin: !P2.12
- microsteps: 16
- rotation_distance: 33.500
- nozzle_diameter: 0.400
- 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
- [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 my_sensor]
- pause_on_runout: True
- #runout_gcode:
- #insert_gcode:
- event_delay: 3.0
- pause_delay: 0.5
- 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: 1.2
- hold_current: 1.0
- #sense_resistor: 0.110
- stealthchop_threshold: 160
- [tmc2209 stepper_b]
- uart_pin: P1.15
- interpolate: True
- run_current: 1.2
- hold_current: 1.0
- #sense_resistor: 0.110
- stealthchop_threshold: 160
- [tmc2209 stepper_c]
- uart_pin: P1.10
- interpolate: True
- run_current: 1.2
- hold_current: 1.0
- #sense_resistor: 0.110
- stealthchop_threshold: 160
- ########################################
- # 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:
- M105.1
- # 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 %}
- ########################################
- # 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"
Add Comment
Please, Sign In to add comment