octoprint-containers/klipper/klipper_cfg/printer/printer.cfg

227 lines
5.1 KiB
INI

[stepper_x]
step_pin: ar37
dir_pin: !ar39
enable_pin: !ar35
step_distance: .01245
endstop_pin: ^!ar24
position_endstop: 0
position_max: 235
homing_speed: 50.0
[stepper_y]
step_pin: ar31
dir_pin: !ar33
enable_pin: !ar29
step_distance: .01245
endstop_pin: ^!ar28
position_endstop: 0
position_max: 235
homing_speed: 50.0
[stepper_z]
step_pin: ar25
dir_pin: ar23
enable_pin: !ar27
step_distance: .0025
endstop_pin: ^!ar30
position_endstop: 0
#endstop_pin: probe:z_virtual_endstop
position_max: 250
position_min: -2
[extruder]
step_pin: ar46
dir_pin: ar44
enable_pin: !ar12
step_distance: .002304147
nozzle_diameter: 0.400
filament_diameter: 1.750
max_extrude_only_distance: 100.0
#pressure_advance: 0.12
#pressure_advance_lookahead_time: 0.020
heater_pin: ar10
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog11
pullup_resistor: 4700
control: pid
pid_Kp: 29.667
pid_Ki: 2.355
pid_Kd: 93.451
#min_extrude_temp: 170
min_temp: 0
max_temp: 255
[extruder1]
step_pin: ar49
dir_pin: ar47
enable_pin: !ar48
step_distance: .002304147
nozzle_diameter: 0.400
filament_diameter: 1.750
max_extrude_only_distance: 100.0
#pressure_advance: 0.12
#pressure_advance_lookahead_time: 0.020
shared_heater: extruder
#[extruder2]
#step_pin: ar43
#dir_pin: ar45
#enable_pin: !ar41
#step_distance: .002304147
#nozzle_diameter: 0.400
#filament_diameter: 1.750
#max_extrude_only_distance: 100.0
##pressure_advance: 0.12
##pressure_advance_lookahead_time: 0.020
#shared_heater: extruder
[heater_bed]
heater_pin: ar4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog10
control: pid
pid_Kp: 73.964
pid_Ki: 2.315
pid_Kd: 590.784
min_temp: 0
max_temp: 120
[fan]
pin: ar9
[mcu]
#serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
serial: /dev/ttyUSB0
pin_map: arduino
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_accel_to_decel: 1250
max_z_velocity: 5
max_z_accel: 100
square_corner_velocity: 1.0
[display]
lcd_type: hd44780
# The type of LCD chip in use. This may be "hd44780" (which is used
# in "RepRapDiscount 2004 Smart Controller" type displays), "st7920"
# (which is used in "RepRapDiscount 12864 Full Graphic Smart
# Controller" type displays), "uc1701" (which is used in "MKS Mini
# 12864" type displays), or "ssd1306". This parameter must be
# provided.
rs_pin: ar20
e_pin: ar17
d4_pin: ar16
d5_pin: ar21
d6_pin: ar5
d7_pin: ar36
# The pins connected to an hd44780 type lcd. These parameters must
# be provided when using an hd44780 display.
#cs_pin:
#sclk_pin:
#sid_pin:
# The pins connected to an st7920 type lcd. These parameters must be
# provided when using an st7920 display.
#cs_pin:
#a0_pin:
# The pins connected to an uc1701 type lcd. These parameters must be
# provided when using an uc1701 display.
#cs_pin:
#dc_pin:
# The pins connected to an ssd1306 type lcd when in "4-wire" spi
# mode. The default is to use i2c mode for ssd1306 displays.
#menu_root:
# Entry point for menu, root menu container name. If this parameter
# is not provided then default menu root is used. When provided
# menu entry is 'deck' type then it'll be initiated immediately at startup.
# Description of menu items is located in example-menu.cfg file.
#menu_timeout:
# Timeout for menu. Being inactive this amount of seconds will trigger
# menu exit or return to root menu when having autorun enabled.
# The default is 0 seconds (disabled)
encoder_pins: ^ar40, ^ar42
# The pins connected to encoder. 2 pins must be provided when
# using encoder. This parameter must be provided when using menu.
click_pin: ^!ar19
# The pin connected to 'enter' button or encoder 'click'. This parameter
# must be provided when using menu.
#back_pin:
# The pin connected to 'back' button. This parameter is optional, menu
# can be used without it.
#up_pin:
# The pin connected to 'up' button. This parameter must be provided
# when using menu without encoder.
#down_pin:
# The pin connected to 'down' button. This parameter must be provided
# when using menu without encoder.
#kill_pin:
# The pin connected to 'kill' button. This button will call
# emergency stop.
# BLTOUCH - Remove if you don't have it -----------------------------------------
#[homing_override]
#gcode:
# G91
# G1 Z20 F600
# G90
# G28 X0 Y0
# G1 X117 Y117 F3600
# G28 Z0
# G1 Z20
#axes: z
#set_position_z: 5
[bltouch]
sensor_pin: ar30
control_pin: ar11
pin_move_time: 0.320
pin_up_reports_not_triggered: False
pin_up_touch_mode_reports_triggered: False
x_offset: -37
y_offset: 0
z_offset: 1.45
[bed_mesh]
speed: 50
horizontal_move_z: 6
samples: 3
sample_retract_dist: 2.5
min_point: 54,15
max_point: 233,220
probe_count: 4,4
algorithm: lagrange
[gcode_macro G29]
gcode:
G28
G1 Z10 F600
BED_MESH_CALIBRATE
# M300 : Play tone, Beeper support, as commonly found on usual LCD displays
# Usage: M300 [P<ms>] [S<Hz>] P is the tone duration, S the tone frequency.
#[output_pin BEEPER_pin]
#pin: ar18
#pwm: True
#value: 0
#shutdown_value: 0
#cycle_time: 0.001
#scale: 1000
#[gcode_macro M300]
#default_parameter_S=1000
#default_parameter_P=100
#gcode: SET_PIN PIN=BEEPER_pin VALUE={S}
# G4 P{P}
# SET_PIN PIN=BEEPER_pin VALUE=0