Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Mainsail settings
- [include mainsail.cfg]
- # Other settings..
- # This file contains common pin mappings for the BigTreeTech OctoPus V1.
- # To use this config, the firmware should be compiled for the STM32F446 with a "32KiB bootloader"
- # Enable "extra low-level configuration options" and select the "12MHz crystal" as clock reference
- # after running "make", copy the generated "klipper/out/klipper.bin" file to a
- # file named "firmware.bin" on an SD card and then restart the OctoPus with that SD card.
- # See docs/Config_Reference.md for a description of parameters.
- [stepper_x]
- step_pin: PF13
- dir_pin: !PF12
- enable_pin: !PF14
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PG6
- position_endstop: 0
- position_max: 420
- homing_speed: 50
- [stepper_y]
- step_pin: PG0
- dir_pin: !PG1
- enable_pin: !PF15
- microsteps: 16
- rotation_distance: 40
- endstop_pin: PG9
- position_endstop: -1.5
- position_min: -1.5
- position_max: 420
- homing_speed: 50
- [stepper_z]
- step_pin: PG4 #PF11
- dir_pin: PC1 #PG3
- enable_pin: !PA0 #!PG5
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop
- #position_endstop: 0
- position_min: -1.5
- position_max: 450
- homing_speed: 10
- second_homing_speed: 1
- [stepper_z1]
- step_pin: PF11 #PG4
- dir_pin: PG3 #PC1
- enable_pin: !PG5 #!PA0
- microsteps: 16
- rotation_distance: 8
- #endstop_pin: probe:z_virtual_endstop
- #position_endstop: 0
- #position_max: 220
- #homing_speed: 10
- #second_homing_speed: 1
- [extruder]
- step_pin: PF9
- dir_pin: !PF10
- enable_pin: !PG2
- heater_pin: PA2 # HE0
- sensor_pin: PF4
- microsteps: 16
- rotation_distance: 3.5028
- pressure_advance = .055
- # Measure 120mm, then extrude 100mm
- # G1 E100 F100
- # rotation_distance = old_rotation * ((120 - distance_to_mark) / 100)
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- max_extrude_only_distance: 110
- sensor_type: EPCOS 100K B57560G104F
- #control: pid
- #pid_Kp: 22.2
- #pid_Ki: 1.08
- #pid_Kd: 144.00
- min_temp: 0
- max_temp: 290
- [tmc2209 extruder]
- uart_pin: PF2
- run_current: 0.800
- hold_current: 0.500
- stealthchop_threshold: 999999
- [heater_bed]
- heater_pin: PA1
- sensor_pin: PF5
- sensor_type: EPCOS 100K B57560G104F
- #control: pid
- #pid_Kp: 109.81
- #pid_Ki: 18.80
- #pid_Kd: 427.51
- min_temp: 0
- max_temp: 130
- [fan]
- pin: PA8 # FAN0 PE5
- [heater_fan fan1]
- pin: PE5 # FAN1 PA8
- [controller_fan fan2]
- pin: PD12 # FAN2 PD12
- #[heater_fan fan3]
- #pin: PD13 # FAN3
- #[heater_fan fan4]
- #pin: PD14 # FAN4
- #[heater_fan fan5]
- #pin: PD15 # FAN5
- [temperature_sensor mcu_temp]
- sensor_type: temperature_mcu
- [mcu]
- serial: /dev/ttyAMA0
- restart_method: command
- # setup for PA9, PA10 USART1_tx / rx directly connected to the RPI GPIO TX / RX pins
- # These are the pins the OctoPus uses for its built in RPI 40 pin connector
- # only connect GND, TX, RX - supply 5v power to the RPI separately
- # do not cross over TX/RX - it is done internally on the OctoPus PCB.
- # Use "sudo raspi-config" to disable the serial terminal - but enable the serial port.
- # When running "make menuconfig" you must un-select the USB Serial check box
- [printer]
- kinematics: cartesian
- max_velocity: 500
- max_accel: 3500
- max_z_velocity: 12
- max_z_accel: 5
- [bltouch]
- sensor_pin: ^PB7
- control_pin: PB6
- x_offset: -40
- z_offset: 1.35
- #[input_shaper]
- # Not ready yet. Need the ADXL sensor.
- #shaper_freq_x: 104.2
- #shaper_freq_y: 64.12
- [safe_z_home]
- home_xy_position: 250, 200 # Change coordinates to the center of your print bed
- speed: 50
- z_hop: 10 # Move up 10mm
- z_hop_speed: 5
- [bed_mesh]
- speed: 50
- # The speed (in mm/s) of non-probing moves during the calibration.
- # The default is 50.
- horizontal_move_z: 8
- # The height (in mm) that the head should be commanded to move to
- # just prior to starting a probe operation. The default is 5.
- #mesh_radius:
- # Defines the radius of the mesh to probe for round beds. Note that
- # the radius is relative to the coordinate specified by the
- # mesh_origin option. This parameter must be provided for round beds
- # and omitted for rectangular beds.
- #mesh_origin:
- # Defines the center X, Y coordinate of the mesh for round beds. This
- # coordinate is relative to the probe's location. It may be useful
- # to adjust the mesh_origin in an effort to maximize the size of the
- # mesh radius. Default is 0, 0. This parameter must be omitted for
- # rectangular beds.
- mesh_min: 15,20
- # Defines the minimum X, Y coordinate of the mesh for rectangular
- # beds. This coordinate is relative to the probe's location. This
- # will be the first point probed, nearest to the origin. This
- # parameter must be provided for rectangular beds.
- mesh_max: 360,380
- # Defines the maximum X, Y coordinate of the mesh for rectangular
- # beds. Adheres to the same principle as mesh_min, however this will
- # be the furthest point probed from the bed's origin. This parameter
- # must be provided for rectangular beds.
- probe_count: 6
- # For rectangular beds, this is a comma separate pair of integer
- # values X, Y defining the number of points to probe along each
- # axis. A single value is also valid, in which case that value will
- # be applied to both axes. Default is 3, 3.
- #round_probe_count: 5
- # For round beds, this integer value defines the maximum number of
- # points to probe along each axis. This value must be an odd number.
- # Default is 5.
- fade_start: 1.0
- # The gcode z position in which to start phasing out z-adjustment
- # when fade is enabled. Default is 1.0.
- fade_end: 0
- # The gcode z position in which phasing out completes. When set to a
- # value below fade_start, fade is disabled. It should be noted that
- # fade may add unwanted scaling along the z-axis of a print. If a
- # user wishes to enable fade, a value of 10.0 is recommended.
- # Default is 0.0, which disables fade.
- #fade_target:
- # The z position in which fade should converge. When this value is
- # set to a non-zero value it must be within the range of z-values in
- # the mesh. Users that wish to converge to the z homing position
- # should set this to 0. Default is the average z value of the mesh.
- #split_delta_z: .025
- # The amount of Z difference (in mm) along a move that will trigger
- # a split. Default is .025.
- #move_check_distance: 5.0
- # The distance (in mm) along a move to check for split_delta_z.
- # This is also the minimum length that a move can be split. Default
- # is 5.0.
- #mesh_pps: 2, 2
- # A comma separated pair of integers X, Y defining the number of
- # points per segment to interpolate in the mesh along each axis. A
- # "segment" can be defined as the space between each probed point.
- # The user may enter a single value which will be applied to both
- # axes. Default is 2, 2.
- algorithm: lagrange
- # The interpolation algorithm to use. May be either "lagrange" or
- # "bicubic". This option will not affect 3x3 grids, which are forced
- # to use lagrange sampling. Default is lagrange.
- #bicubic_tension: .2
- # When using the bicubic algorithm the tension parameter above may
- # be applied to change the amount of slope interpolated. Larger
- # numbers will increase the amount of slope, which results in more
- # curvature in the mesh. Default is .2.
- #relative_reference_index:
- # A point index in the mesh to reference all z values to. Enabling
- # this parameter produces a mesh relative to the probed z position
- # at the provided index.
- #faulty_region_1_min:
- #faulty_region_1_max:
- # Optional points that define a faulty region. See docs/Bed_Mesh.md
- # for details on faulty regions. Up to 99 faulty regions may be added.
- # By default no faulty regions are set.
- [z_tilt]
- z_positions: 60,200
- 400,200
- # A list of X, Y coordinates (one per line; subsequent lines
- # indented) describing the location of each bed "pivot point". The
- # "pivot point" is the point where the bed attaches to the given Z
- # stepper. It is described using nozzle coordinates (the X, Y position
- # of the nozzle if it could move directly above the point). The
- # first entry corresponds to stepper_z, the second to stepper_z1,
- # the third to stepper_z2, etc. This parameter must be provided.
- points: 60,200
- 400,200
- # A list of X, Y coordinates (one per line; subsequent lines
- # indented) that should be probed during a Z_TILT_ADJUST command.
- # Specify coordinates of the nozzle and be sure the probe is above
- # the bed at the given nozzle coordinates. This parameter must be
- # provided.
- speed: 100
- # The speed (in mm/s) of non-probing moves during the calibration.
- # The default is 50.
- horizontal_move_z: 5
- # The height (in mm) that the head should be commanded to move to
- # just prior to starting a probe operation. The default is 5.
- retries: 10
- # Number of times to retry if the probed points aren't within
- # tolerance.
- retry_tolerance: 0.01
- # If retries are enabled then retry if largest and smallest probed
- # points differ more than retry_tolerance. Note the smallest unit of
- # change here would be a single step. However if you are probing
- # more points than steppers then you will likely have a fixed
- # minimum value for the range of probed points which you can learn
- # by observing command output.
- [idle_timeout]
- #gcode:
- # A list of G-Code commands to execute on an idle timeout. See
- # docs/Command_Templates.md for G-Code format. The default is to run
- # "TURN_OFF_HEATERS" and "M84".
- timeout: 600
- # Idle time (in seconds) to wait before running the above G-Code
- # commands. The default is 600 seconds.
- [gcode_arcs]
- #resolution: 1.0
- # An arc will be split into segments. Each segment's length will
- # equal the resolution in mm set above. Lower values will produce a
- # finer arc, but also more work for your machine. Arcs smaller than
- # the configured value will become straight lines. The default is
- # 1mm.
- ########################################
- # TMC2208 configuration
- ########################################
- [tmc2209 stepper_x]
- uart_pin: PC4
- run_current: 0.800
- hold_current: 0.500
- stealthchop_threshold: 999999
- [tmc2209 stepper_y]
- uart_pin: PD11
- run_current: 0.800
- hold_current: 0.500
- stealthchop_threshold: 999999
- [tmc2209 stepper_z]
- uart_pin: PC6
- run_current: 0.650
- hold_current: 0.450
- stealthchop_threshold: 999999
- [tmc2209 stepper_z1]
- uart_pin: PC7
- run_current: 0.650
- hold_current: 0.450
- stealthchop_threshold: 999999
- #[tmc2208 extruder3]
- #uart_pin: PE1
- #run_current: 0.8
- #hold_current: 0.5
- #stealthchop_threshold: 999999
- #[tmc2208 extruder4]
- #uart_pin: PD3
- #run_current: 0.8
- #hold_current: 0.5
- #stealthchop_threshold: 999999
- ########################################
- # TMC2130 configuration
- ########################################
- #[tmc2130 stepper_x]
- #cs_pin: PC4
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[tmc2130 stepper_y]
- #cs_pin: PD11
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[tmc2130 stepper_z]
- #cs_pin: PC6
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[tmc2130 extruder]
- #cs_pin: PC7
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[tmc2130 extruder1]
- #cs_pin: PF2
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[tmc2130 extruder2]
- #cs_pin: PE4
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[tmc2130 extruder3]
- #cs_pin: PE1
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[tmc2130 extruder4]
- #cs_pin: PD3
- #run_current: 0.800
- #hold_current: 0.500
- #stealthchop_threshold: 0
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- ########################################
- # EXP1 / EXP2 (display) pins
- ########################################
- [board_pins]
- aliases:
- # EXP1 header
- EXP1_1=PE8, EXP1_2=PE7,
- EXP1_3=PE9, EXP1_4=PE10,
- EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
- EXP1_7=PE14, EXP1_8=PE15,
- EXP1_9=<GND>, EXP1_10=<5V>,
- # EXP2 header
- EXP2_1=PA6, EXP2_2=PA5,
- EXP2_3=PB1, EXP2_4=PA4,
- EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
- EXP2_7=PC15, EXP2_8=<RST>,
- EXP2_9=<GND>, EXP2_10=<5V>
- # See the sample-lcd.cfg file for definitions of common LCD displays.
- ######################################################################
- # "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
- ######################################################################
- [display]
- lcd_type: st7920
- cs_pin: EXP1_7
- sclk_pin: EXP1_6
- sid_pin: EXP1_8
- encoder_pins: ^EXP1_5, ^EXP1_3
- click_pin: ^!EXP1_2
- [output_pin beeper]
- pin: EXP1_1
- ######################################################################
- # "RepRapDiscount 2004 Smart Controller" type displays
- ######################################################################
- #[display]
- #lcd_type: hd44780
- #rs_pin: EXP1_4
- #e_pin: EXP1_3
- #d4_pin: EXP1_5
- #d5_pin: EXP1_6
- #d6_pin: EXP1_7
- #d7_pin: EXP1_8
- #encoder_pins: ^EXP2_3, ^EXP2_5
- #click_pin: ^!EXP1_2
- #kill_pin: ^!EXP2_8
- #[output_pin beeper]
- #pin: EXP1_1
- ######################################################################
- # Mini 12864Panel (with neopixel backlight leds)
- ######################################################################
- #[display]
- #lcd_type: uc1701
- #cs_pin: EXP1_3
- #a0_pin: EXP1_4
- #rst_pin: EXP1_5
- #encoder_pins: ^EXP2_5, ^EXP2_3
- #click_pin: ^!EXP1_2
- ## Some micro-controller boards may require an spi bus to be specified:
- #spi_bus: spi
- ## Alternatively, some micro-controller boards may work with software spi:
- #contrast: 63
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #spi_software_sclk_pin: PA5
- #[output_pin beeper]
- #pin: EXP1_1
- #[neopixel btt_mini12864]
- #pin: EXP1_6
- #chain_count: 3
- #color_order: RGB
- #initial_RED: 0.4
- #initial_GREEN: 0.4
- #initial_BLUE: 0.4
- ######################################################################
- # BigTreeTtech TFT TouchSCreen emulated 12864 mode
- ######################################################################
- #[display]
- #lcd_type: emulated_st7920
- #spi_software_miso_pin: PA6
- #spi_software_mosi_pin: EXP1_3
- #spi_software_sclk_pin: EXP1_5
- #en_pin: EXP1_4
- #encoder_pins: ^EXP2_5, ^EXP2_3
- #click_pin: ^!EXP1_2
- #[output_pin beeper]
- #pin: EXP1_1
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 20.975
- #*# pid_ki = 0.926
- #*# pid_kd = 118.770
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 41.863
- #*# pid_ki = 0.422
- #*# pid_kd = 1039.243
- #*#
- #*# [bltouch]
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 0.285000, 0.110000, -0.027500, 0.247500, 0.337500, 0.117500
- #*# 0.477500, -0.025000, -0.197500, 0.220000, 0.452500, 0.165000
- #*# 0.392500, -0.122500, -0.290000, 0.145000, 0.470000, 0.222500
- #*# 0.257500, -0.205000, -0.347500, 0.127500, 0.515000, 0.255000
- #*# 0.330000, 0.010000, -0.107500, 0.335000, 0.627500, 0.310000
- #*# 0.402500, 0.117500, 0.027500, 0.345000, 0.500000, 0.167500
- #*# tension = 0.2
- #*# min_x = 15.0
- #*# algo = lagrange
- #*# y_count = 6
- #*# mesh_y_pps = 2
- #*# min_y = 20.0
- #*# x_count = 6
- #*# max_y = 380.0
- #*# mesh_x_pps = 2
- #*# max_x = 360.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement