printer.cfg

 avatar
unknown
makefile
a year ago
11 kB
30
No Index
# This file contains common pin mappings for the BigTreeTech Octopus
# Pro v1.0 board.

# Important! Do not use this config with an Octopus Pro v1.1 board as
# doing so could result in a heater being inadvertently enabled.

# To use this config, start by identifying the micro-controller on the
# board - it may be an STM32F446, STM32F429, or an STM32H723.  Select
# the appropriate micro-controller in "make menuconfig" and select
# "Enable low-level configuration options". For STM32F446 boards the
# firmware should be compiled with a "32KiB bootloader" and a "12MHz
# crystal" clock reference. For STM32F429 boards use a "32KiB
# bootloader" and an "8MHz crystal". For STM32H723 boards use a
# "128KiB bootloader" and a "25Mhz crystal".

# See docs/Config_Reference.md for a description of parameters.

[include mainsail.cfg]

# Driver0
[stepper_x]
step_pin: PF13
dir_pin: !PF12
enable_pin: !PF14
microsteps: 8
rotation_distance: 40
endstop_pin: PG6
position_endstop: 0
position_max: 215
homing_speed: 50

# Driver1
[stepper_y]
step_pin: PG0
dir_pin: !PG1
enable_pin: !PF15
microsteps: 8
rotation_distance: 40
endstop_pin: PG9
position_endstop: 0
position_max: 205
homing_speed: 50

# Driver2
[stepper_z]
step_pin: PF11
dir_pin: !PG3
enable_pin: !PG5
microsteps: 80
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_min: -2
position_max: 150

# Driver4
[extruder]
step_pin: PE6
dir_pin: PA14
enable_pin: !PE0
rotation_distance: 14.28 #30.82 #33.5
microsteps: 36 #80

nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA2 # HE0
sensor_pin:  PF4 # T0
sensor_type: EPCOS 100K B57560G104F
min_temp: 0
max_temp: 300
pressure_advance: 0.055

[heater_bed]
heater_pin: PA1
sensor_pin: PF3 # TB
sensor_type: ATC Semitec 104GT-2
min_temp: 0
max_temp: 130

[fan]
pin: PA8

[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f429xx_310041000750314B33323220-if00
# CAN bus is also available on this board

[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 2
max_z_accel: 1000

[safe_z_home]
home_xy_position: 100, 110
speed: 50
z_hop: 10                 # Move up 10mm
z_hop_speed: 5

[force_move]
enable_force_move: True

[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=PC5

[mcu eddy]
serial: /dev/serial/by-id/usb-Klipper_rp2040_4550357128894FD8-if00

[probe_eddy_current btt_eddy]

[temperature_sensor btt_eddy_mcu]
sensor_type: temperature_mcu
sensor_mcu: eddy
min_temp: 10
max_temp: 100

[probe_eddy_current btt_eddy]
sensor_type: ldc1612
i2c_mcu: eddy
i2c_bus: i2c0f
x_offset:0 # Set actual offset relative to nozzle 
y_offset: -30 # Set actual offset relative to nozzle
data_rate: 500

[temperature_probe btt_eddy]
sensor_type: Generic 3950
sensor_pin: eddy:gpio26
horizontal_move_z: 2.5

[bed_mesh]
horizontal_move_z: 2
#The parameter `horizontal_move_z` in [bed_mesh] should be set to 2 to bring 
#Eddy as close to the bed as possible during scanning. 
speed: 50 
#   Defines the minimum X, Y coordinate of the mesh for rectangular
#   The speed (in mm/s) of non-probing moves during the calibration.
#   The default is 50.
horizontal_move_z: 2
# Height (in mm) to which the head is moved before starting the scanning 
# operation 
#   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: 10, 10
# For rectangular beds, defines the minimum X, Y coordinates of the grid. This 
#coordinate is relative to the Eddy's location. This will be the first scanning point, 
#closest to the origin. This parameter must be provided for rectangular beds. 
#   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: 190, 210 
mesh_max: 180, 175
# For rectangular beds, defines the maximum X, Y coordinates of the grid. 
#Following the same principle as mesh_min, but this will be the scanning point 
#farthest from the bed origin. This parameter must be provided for rectangular 
#beds. 
#   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: 5, 5 
# For rectangular beds, this is a pair of comma-separated integers X, Y, 
#defining the number of points probed along each axis. A single value is also 
#valid, in which case the value will be applied to both axes. 
#   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.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.
#zero_reference_position:
#   An optional X,Y coordinate that specifies the location on the bed
#   where Z = 0.  When this option is specified the mesh will be offset
#   so that zero Z adjustment occurs at this location.  The default is
#   no zero reference.
#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.
#adaptive_margin:
#   An optional margin (in mm) to be added around the bed area used by
#   the defined print objects when generating an adaptive mesh.

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [probe_eddy_current btt_eddy]
#*# reg_drive_current = 15
#*# calibrate =
#*# 	0.050000:3220682.742,0.100000:3220028.282,0.150000:3219059.766,
#*# 	0.200000:3218437.685,0.250000:3217470.490,0.300000:3216586.269,
#*# 	0.350000:3215648.047,0.400000:3215044.837,0.450000:3214065.592,
#*# 	0.500000:3213582.119,0.550000:3212737.944,0.600000:3212159.732,
#*# 	0.650000:3211298.347,0.700000:3210454.844,0.750000:3209668.687,
#*# 	0.800000:3209153.545,0.850000:3208406.930,0.900000:3207907.465,
#*# 	0.950000:3207255.218,1.000000:3206787.066,1.050000:3206150.209,
#*# 	1.100000:3205543.390,1.150000:3204956.705,1.200000:3204479.800,
#*# 	1.250000:3203864.357,1.300000:3203458.079,1.350000:3202895.760,
#*# 	1.400000:3202501.080,1.450000:3201881.029,1.500000:3201478.595,
#*# 	1.550000:3200931.625,1.600000:3200350.066,1.650000:3199741.073,
#*# 	1.700000:3199376.386,1.750000:3198876.455,1.800000:3198491.661,
#*# 	1.850000:3198012.985,1.900000:3197554.579,1.950000:3197105.557,
#*# 	2.000000:3196680.113,2.050000:3196239.147,2.100000:3195851.023,
#*# 	2.150000:3195427.809,2.200000:3195169.907,2.250000:3194741.835,
#*# 	2.300000:3194297.723,2.350000:3193888.519,2.400000:3193521.893,
#*# 	2.450000:3193169.300,2.500000:3192845.395,2.550000:3192468.076,
#*# 	2.600000:3192220.557,2.650000:3191863.895,2.700000:3191491.318,
#*# 	2.750000:3191195.037,2.800000:3190877.735,2.850000:3190590.157,
#*# 	2.900000:3190383.265,2.950000:3190091.602,3.000000:3189857.651,
#*# 	3.050000:3189553.435,3.100000:3189272.934,3.150000:3188953.634,
#*# 	3.200000:3188642.928,3.250000:3188355.815,3.300000:3188141.094,
#*# 	3.350000:3187853.974,3.400000:3187677.409,3.450000:3187427.600,
#*# 	3.500000:3187140.396,3.550000:3186859.714,3.600000:3186640.913,
#*# 	3.650000:3186419.347,3.700000:3186273.780,3.750000:3186013.273,
#*# 	3.800000:3185898.237,3.850000:3185664.957,3.900000:3185492.686,
#*# 	3.950000:3185297.528,4.000000:3185105.751,4.050000:3184853.705
#*# calibration_temp = 35.000053
#*# z_offset = 1.970
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 68.986
#*# pid_ki = 1.451
#*# pid_kd = 820.075
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 12.874
#*# pid_ki = 0.335
#*# pid_kd = 123.589
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 	-1.014796, -0.958822, -0.936294, -1.041141, -1.165152
#*# 	-0.822169, -0.752036, -0.722833, -0.682641, -0.928071
#*# 	-0.824111, -0.716143, -0.617918, -0.631342, -0.832380
#*# 	-0.825916, -0.725135, -0.600951, -0.538368, -0.756806
#*# 	-0.780433, -0.701438, -0.603297, -0.524454, -0.575845
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 10.0
#*# max_x = 180.0
#*# min_y = 10.0
#*# max_y = 175.0
Editor is loading...