Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains common pin mappings for the BIGTREETECH SKR V1.3
- # board. To use this config, the firmware should be compiled for the
- # LPC1768.
- # See the example.cfg file for a description of available parameters.
- [stepper_x]
- step_pin: P2.2
- dir_pin: !P2.6
- enable_pin: !P2.1
- step_distance: 0.0125
- endstop_pin: P1.29 #P1.28 for X-max
- position_endstop: 0
- position_max: 235
- homing_speed: 100
- [stepper_y]
- step_pin: P0.19
- dir_pin: !P0.20
- enable_pin: !P2.8
- step_distance: 0.0125
- endstop_pin: P1.27 #P1.26 for Y-max
- position_endstop: -25
- position_min: -26
- position_max: 215
- homing_speed: 100
- [stepper_z]
- step_pin: P0.22
- dir_pin: P2.11
- enable_pin: !P0.21
- step_distance: 0.0025
- endstop_pin: probe: P1.25 #for Z-min, P1.24 for Z-max
- #position_endstop: 0.5
- position_min: -5
- position_max: 235
- [extruder]
- max_extrude_only_distance: 500
- step_pin: P2.13
- dir_pin: !P0.11
- enable_pin: !P2.12
- step_distance: 0.00140
- 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: 22.2
- #pid_Ki: 1.08
- #pid_Kd: 114
- min_temp: 0
- max_temp: 300
- pressure_advance: 0.05
- #[extruder1]
- #step_pin: P0.1
- #dir_pin: P0.0
- #enable_pin: !P0.10
- #heater_pin: P2.4
- #sensor_pin: P0.25
- #...
- [heater_bed]
- heater_pin: P2.5
- sensor_type: ATC Semitec 104GT-2
- sensor_pin: P0.23
- control: watermark
- min_temp: 0
- max_temp: 130
- [heater_fan extruder_fan]
- pin: P2.4
- heater: extruder
- heater_temp: 50.0
- fan_speed: 1.0
- [fan]
- pin: P2.3
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 2000
- max_z_velocity: 25
- max_z_accel: 100
- ########################################
- # TMC2208 configuration
- ########################################
- # For TMC2208 UART
- # 1) Remove all of the jumpers below the stepper drivers
- # 2) Place jumpers on the red pin headers labeled XUART (XUART, YUART etc.)
- [tmc2208 stepper_x]
- uart_pin: P1.17
- microsteps: 16
- run_current: 0.540
- hold_current: 0.340
- stealthchop_threshold: 250
- [tmc2208 stepper_y]
- uart_pin: P1.15
- microsteps: 16
- run_current: 0.540
- hold_current: 0.340
- stealthchop_threshold: 250
- [tmc2208 stepper_z]
- uart_pin: P1.10
- microsteps: 16
- run_current: 0.540
- hold_current: 0.340
- stealthchop_threshold: 30
- [tmc2208 extruder]
- uart_pin: P1.8
- microsteps: 16
- run_current: 0.750
- hold_current: 0.500
- stealthchop_threshold: 0
- #[tmc2208 extruder1]
- #uart_pin: P1.1
- #microsteps: 16
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 5
- # Support manually moving stepper motors for diagnostic purposes.
- # Note, using this feature may place the printer in an invalid state -
- # see docs/G-Codes.md for important details.
- [force_move]
- enable_force_move: True
- # Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
- # extended G-Code commands. The default is false.
- # Support for a display attached to the micro-controller.
- [display]
- lcd_type: st7920
- # 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.
- # be provided when using an hd44780 display.
- cs_pin: P1.19
- sclk_pin: P1.21
- sid_pin: P1.23
- # The pins connected to an st7920 type lcd. These parameters must be
- # provided when using an st7920 display.
- #contrast:
- # The contrast to set when using a uc1701/st7567 type displays. The value
- # may range from 0 to 63. Default is 40 for uc1701 and 60 for st7567.
- #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: ^P1.18, ^P1.20
- # The pins connected to encoder. 2 pins must be provided when
- # using encoder. This parameter must be provided when using menu.
- click_pin: !P0.28
- # The pin connected to 'enter' button or encoder 'click'. This parameter
- # must be provided when using menu. The presence of an 'analog_range_click_pin'
- # config parameter turns this parameter from digital to analog.
- #back_pin:
- # The pin connected to 'back' button. This parameter is optional, menu
- # can be used without it. The presence of an 'analog_range_back_pin'
- # config parameter turns this parameter from digital to analog.
- #up_pin:
- # The pin connected to 'up' button. This parameter must be provided
- # when using menu without encoder. The presence of an 'analog_range_up_pin'
- # config parameter turns this parameter from digital to analog.
- #down_pin:
- # The pin connected to 'down' button. This parameter must be provided
- # when using menu without encoder. The presence of an 'analog_range_down_pin'
- # config parameter turns this parameter from digital to analog.
- #kill_pin:
- # The pin connected to 'kill' button. This button will call emergency stop.
- # The presence of an 'analog_range_kill_pin' config parameter turns this
- # parameter from digital to analog.
- #analog_pullup_resistor: 4700
- # The resistance (in ohms) of the pullup attached to the analog button.
- # The default is 4700 ohms.
- #analog_pin_debug:
- # When enabled it will output analog (ADC) button readings to the log.
- # It's useful for finding analog button resistance range values.
- # The default is False (disabled)
- #analog_range_click_pin:
- # The resistance range for a 'enter' button. Range minimum and maximum
- # comma-separated values must be provided when using analog button.
- #analog_range_back_pin:
- # The resistance range for a 'back' button. Range minimum and maximum
- # comma-separated values must be provided when using analog button.
- #analog_range_up_pin:
- # The resistance range for a 'up' button. Range minimum and maximum
- # comma-separated values must be provided when using analog button.
- #analog_range_down_pin:
- # The resistance range for a 'down' button. Range minimum and maximum
- # comma-separated values must be provided when using analog button.
- #analog_range_kill_pin:
- # The resistance range for a 'kill' button. Range minimum and maximum
- # comma-separated values must be provided when using analog button.
- # A virtual sdcard may be useful if the host machine is not fast
- # enough to run OctoPrint well. It allows the Klipper host software to
- # directly print gcode files stored in a directory on the host using
- # standard sdcard G-Code commands (eg, M24).
- [virtual_sdcard]
- path: ~/.octoprint/uploads/
- # The path of the local directory on the host machine to look for
- # g-code files. This is a read-only directory (sdcard file writes
- # are not supported). One may point this to OctoPrint's upload
- # directory (generally ~/.octoprint/uploads/ ). This parameter must
- # be provided.
- # Pause/Resume functionality with support of position capture and restore
- [pause_resume]
- recover_velocity: 50.
- # When capture/restore is enabled, the speed at which to return to
- # the captured position (in mm/s). Default is 50.0 mm/s.
- [gcode_macro M600]
- default_parameter_X: 200
- default_parameter_Y: 0
- default_parameter_Z: 10
- gcode:
- PAUSE
- SET_IDLE_TIMEOUT [TIMEOUT=21600]
- G91
- G1 E-.8 F2700
- G1 Z{Z}
- G90
- G1 X{X} Y{Y} F3000
- G1 E5 F1000
- G1 E-100 F1000
- #[delayed_gcode printer_start]
- #initial_duration: 0
- #gcode:
- [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"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement