Skip to content

Instantly share code, notes, and snippets.

@cjhmdm
Created August 8, 2024 13:55
Show Gist options
  • Save cjhmdm/81e754e32d0893192abff41e1c844892 to your computer and use it in GitHub Desktop.
Save cjhmdm/81e754e32d0893192abff41e1c844892 to your computer and use it in GitHub Desktop.
### NOTE: After running thermal comp
[include mainsail.cfg]
[mcu]
canbus_uuid: c13e26853be4
[mcu EBBCan]
canbus_uuid: 26bfe88ca99d
# Enable arcs support
[gcode_arcs]
resolution: 0.1
[include neopx.cfg]
[include knomi.cfg]
[include eddy.cfg]
[include macros.cfg]
[exclude_object]
[stepper_x] # M7
step_pin: PD4
dir_pin: PD3
enable_pin: !PD6
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: EBBCan: gpio24
position_endstop: 370
position_max: 370
homing_speed: 200
homing_retract_dist: 10
[tmc2209 stepper_x]
uart_pin: PD5
run_current: 0.7
sense_resistor: 0.110
[stepper_y] # M2
step_pin: PE2
dir_pin: PE1
enable_pin: !PE4
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^PF4
position_endstop: 300
position_max: 300
homing_speed: 200
homing_retract_dist: 10
[tmc2209 stepper_y]
uart_pin: PE3
run_current: 0.7
sense_resistor: 0.110
[stepper_z] # M8 Left
step_pin: PC7
dir_pin: !PC8
enable_pin: !PD2
microsteps: 16
rotation_distance: 2
full_steps_per_rotation: 200
endstop_pin: probe:z_virtual_endstop
position_max: 350
position_min: -10
homing_speed: 10
second_homing_speed: 3
[tmc2209 stepper_z]
uart_pin: PC6
run_current: 0.7
sense_resistor: 0.110
[stepper_z1] # M5 Center
step_pin: PG13
dir_pin: !PG12
enable_pin: !PG15
microsteps: 16
rotation_distance: 2
full_steps_per_rotation: 200
[tmc2209 stepper_z1]
uart_pin: PG14
run_current: 0.7
sense_resistor: 0.110
interpolate: False
[stepper_z2] # M1 Right
step_pin: PE6
dir_pin: !PE5
enable_pin: !PC14
microsteps: 16
rotation_distance: 2
full_steps_per_rotation: 200
[tmc2209 stepper_z2]
uart_pin: PC13
run_current: 0.7
sense_resistor: 0.110
interpolate: False
[heater_bed]
heater_pin: PA0
sensor_pin: PB1
sensor_type: EPCOS 100K B57560G104F
min_temp: 0
max_temp: 130
control: watermark
[temperature_sensor EBB_NTC]
sensor_type: Generic 3950
sensor_pin: EBBCan:gpio28
[adxl345]
cs_pin: EBBCan:gpio1
spi_software_sclk_pin: EBBCan:gpio2
spi_software_mosi_pin: EBBCan:gpio0
spi_software_miso_pin: EBBCan:gpio3
axes_map: z,-y,x
[resonance_tester]
probe_points: 185, 150, 20
accel_chip: adxl345
[extruder]
step_pin: EBBCan:gpio18
dir_pin: EBBCan:gpio19
enable_pin: !EBBCan:gpio17
microsteps: 16
rotation_distance: 4.482
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: EBBCan:gpio7
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 300
sensor_type: MAX31865
sensor_pin: EBBCan:gpio9
spi_software_sclk_pin: EBBCan:gpio10
spi_software_mosi_pin: EBBCan:gpio8
spi_software_miso_pin: EBBCan:gpio11
rtd_nominal_r: 100
rtd_reference_r: 430
rtd_num_of_wires: 2
pressure_advance: 0.04
[tmc2209 extruder]
uart_pin: EBBCan:gpio20
run_current: 0.650
[temperature_sensor host_temp]
sensor_type: temperature_host
min_temp: 0
max_temp: 100
[multi_pin my_enable_pin]
pins: PF6, PF8
[temperature_fan SoC_fan]
pin: multi_pin:my_enable_pin
kick_start_time: 0.8
off_below: 0.1
max_power: 1.0
sensor_type: temperature_mcu
control: pid
pid_kp: 1.0
pid_ki: 0.5
pid_kd: 2.0
min_temp: 10
max_temp: 100
min_speed: 0.0
max_speed: 1.0
target_temp: 45
[fan]
pin: EBBCan:gpio13
[heater_fan hotend_fan]
pin: EBBCan:gpio14
heater: extruder
heater_temp: 50.0
# [fan_generic 4W_FAN0]
# pin: EBBCan:gpio15
# tachometer_pin: EBBCan:gpio12
# tachometer_ppr: 1
[neopixel sb_leds]
pin: EBBCan:gpio16
chain_count: 3
color_order: GRBW
initial_RED: 0.5
initial_GREEN: 0.0
initial_BLUE: 1.0
initial_WHITE: 0.0
[z_tilt]
z_positions: 15,15 #Left Front
185,300 # Center Rear
355,15 # Right Front
points: 30,30 # Left Front
185,300 # Center Rear
340,30 # Right Front
speed: 200
horizontal_move_z: 10
retries: 5
retry_tolerance:0.1
[printer]
kinematics: corexy
max_velocity: 500
max_accel: 10000
square_corner_velocity: 5.0
max_z_velocity: 10
max_z_accel: 100
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [input_shaper]
#*# shaper_type_x = zv
#*# shaper_freq_x = 61.6
#*# shaper_type_y = 3hump_ei
#*# shaper_freq_y = 63.4
#*#
#*# [probe_eddy_current btt_eddy]
#*# reg_drive_current = 15
#*# calibrate =
#*# 0.050000:3245043.047,0.100000:3244064.389,0.150000:3243047.682,
#*# 0.200000:3242047.934,0.250000:3241131.345,0.300000:3240218.397,
#*# 0.350000:3239302.326,0.400000:3238428.393,0.450000:3237544.264,
#*# 0.500000:3236707.451,0.550000:3235854.527,0.600000:3235051.821,
#*# 0.650000:3234244.891,0.700000:3233442.327,0.750000:3232683.326,
#*# 0.800000:3231898.941,0.850000:3231146.199,0.900000:3230399.542,
#*# 0.950000:3229655.215,1.000000:3228983.872,1.050000:3228244.849,
#*# 1.100000:3227562.308,1.150000:3226906.967,1.200000:3226240.049,
#*# 1.250000:3225617.779,1.300000:3224972.557,1.350000:3224351.293,
#*# 1.400000:3223732.379,1.450000:3223143.866,1.500000:3222554.009,
#*# 1.550000:3221976.641,1.600000:3221379.249,1.650000:3220832.926,
#*# 1.700000:3220253.049,1.750000:3219718.078,1.800000:3219187.865,
#*# 1.850000:3218656.357,1.900000:3218174.641,1.950000:3217670.892,
#*# 2.000000:3217174.990,2.050000:3216676.402,2.100000:3216223.390,
#*# 2.150000:3215758.261,2.200000:3215297.927,2.250000:3214829.449,
#*# 2.300000:3214377.622,2.350000:3214000.339,2.400000:3213559.424,
#*# 2.450000:3213151.175,2.500000:3212752.455,2.550000:3212359.672,
#*# 2.600000:3211958.474,2.650000:3211555.563,2.700000:3211153.254,
#*# 2.750000:3210795.049,2.800000:3210421.190,2.850000:3210050.403,
#*# 2.900000:3209689.298,2.950000:3209357.728,3.000000:3208985.360,
#*# 3.050000:3208640.237,3.100000:3208350.709,3.150000:3208002.012,
#*# 3.200000:3207691.829,3.250000:3207380.227,3.300000:3207076.713,
#*# 3.350000:3206798.283,3.400000:3206491.512,3.450000:3206193.925,
#*# 3.500000:3205933.075,3.550000:3205667.684,3.600000:3205390.881,
#*# 3.650000:3205128.904,3.700000:3204869.678,3.750000:3204644.053,
#*# 3.800000:3204361.219,3.850000:3204117.172,3.900000:3203862.142,
#*# 3.950000:3203631.171,4.000000:3203412.843,4.050000:3203191.857
#*# calibration_temp = 39.611858
#*# drift_calibration =
#*# 3304712.316257, -2333.726400, 20.618385
#*# 3287605.635182, -2028.995932, 18.036039
#*# 3270109.002159, -1628.766662, 14.298698
#*# 3253882.934929, -1230.794047, 10.613482
#*# 3241150.481418, -934.271148, 7.925877
#*# 3230541.106672, -682.167288, 5.591094
#*# 3221704.382823, -478.897020, 3.759093
#*# 3214834.050814, -324.034436, 2.341163
#*# 3208911.210446, -188.086629, 1.106117
#*# drift_calibration_min_temp = 37.94820506161528
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.728444, -0.736034, -0.739741, -0.753500, -0.744794, -0.744278, -0.710720, -0.721794, -0.732295, -0.719285, -0.713714, -0.728631, -0.732557, -0.719528, -0.730865, -0.705948, -0.701761, -0.682728, -0.676229, -0.666261
#*# -0.701574, -0.738614, -0.741760, -0.751063, -0.744622, -0.751307, -0.736522, -0.731667, -0.732557, -0.722590, -0.719663, -0.728594, -0.726973, -0.729854, -0.736522, -0.737118, -0.729199, -0.698536, -0.678748, -0.719285
#*# -0.703959, -0.711013, -0.707016, -0.728348, -0.738587, -0.733818, -0.754285, -0.747339, -0.734785, -0.724384, -0.736832, -0.732749, -0.738401, -0.732538, -0.731464, -0.723219, -0.728349, -0.721955, -0.721457, -0.730533
#*# -0.659180, -0.710071, -0.715553, -0.718395, -0.729767, -0.734343, -0.725678, -0.731456, -0.725191, -0.733841, -0.728444, -0.740245, -0.727055, -0.738160, -0.735389, -0.726293, -0.737574, -0.727055, -0.720164, -0.767637
#*# -0.678926, -0.688496, -0.721862, -0.728260, -0.732749, -0.731423, -0.729968, -0.743831, -0.742650, -0.731277, -0.744851, -0.751021, -0.748113, -0.755879, -0.754914, -0.748930, -0.753142, -0.763470, -0.763625, -0.776334
#*# -0.661180, -0.694836, -0.696079, -0.715724, -0.734634, -0.738459, -0.731019, -0.744834, -0.745528, -0.740244, -0.749582, -0.753045, -0.748849, -0.757440, -0.754499, -0.757607, -0.759835, -0.761897, -0.768176, -0.795458
#*# -0.688110, -0.702663, -0.701078, -0.724759, -0.734741, -0.744731, -0.738443, -0.743701, -0.747998, -0.754755, -0.751363, -0.759297, -0.755638, -0.769604, -0.767234, -0.777874, -0.779777, -0.787746, -0.796505, -0.808401
#*# -0.699441, -0.736765, -0.755408, -0.760245, -0.766001, -0.766110, -0.770264, -0.776905, -0.779542, -0.779234, -0.773950, -0.783814, -0.792261, -0.794616, -0.811380, -0.815934, -0.823247, -0.831496, -0.828441, -0.871368
#*# -0.739964, -0.736934, -0.759521, -0.758174, -0.769759, -0.774885, -0.777785, -0.789145, -0.774728, -0.789417, -0.787154, -0.785030, -0.793494, -0.808783, -0.817568, -0.826732, -0.836951, -0.843292, -0.850814, -0.869826
#*# -0.716631, -0.722023, -0.729199, -0.746817, -0.754205, -0.754499, -0.765699, -0.764997, -0.759279, -0.762120, -0.772166, -0.772166, -0.772167, -0.783309, -0.810961, -0.806320, -0.819685, -0.829893, -0.826733, -0.871531
#*# -0.703040, -0.685662, -0.711857, -0.717825, -0.727862, -0.739141, -0.744067, -0.748396, -0.749587, -0.746859, -0.753055, -0.746295, -0.746567, -0.780862, -0.788862, -0.799174, -0.815946, -0.823256, -0.816530, -0.843693
#*# -0.664386, -0.659044, -0.676002, -0.694610, -0.699573, -0.705807, -0.718153, -0.730212, -0.724140, -0.726601, -0.731275, -0.736117, -0.733053, -0.765734, -0.773642, -0.779619, -0.799162, -0.803655, -0.804217, -0.841581
#*# -0.642458, -0.622048, -0.663069, -0.672857, -0.676981, -0.685260, -0.693395, -0.707296, -0.717083, -0.718340, -0.722115, -0.723575, -0.733421, -0.749881, -0.763120, -0.760432, -0.773888, -0.789530, -0.788113, -0.817359
#*# -0.579131, -0.593700, -0.628524, -0.635529, -0.646264, -0.646302, -0.657332, -0.660178, -0.674374, -0.680733, -0.680839, -0.687995, -0.687601, -0.713378, -0.726648, -0.726933, -0.746258, -0.755121, -0.753024, -0.796000
#*# -0.577907, -0.573984, -0.609208, -0.624094, -0.635455, -0.646537, -0.648968, -0.660675, -0.673746, -0.678123, -0.688313, -0.688320, -0.705403, -0.726553, -0.732283, -0.745006, -0.752528, -0.762926, -0.777836, -0.795123
#*# -0.572920, -0.592467, -0.604785, -0.629535, -0.634553, -0.646797, -0.663601, -0.661978, -0.686046, -0.687144, -0.686695, -0.708362, -0.709561, -0.719932, -0.741620, -0.738142, -0.763651, -0.782945, -0.788230, -0.830644
#*# -0.590670, -0.604472, -0.631937, -0.631813, -0.648946, -0.651726, -0.659672, -0.680586, -0.692533, -0.702160, -0.703698, -0.712245, -0.730999, -0.742212, -0.754882, -0.773978, -0.775740, -0.801832, -0.811443, -0.846573
#*# -0.582205, -0.601508, -0.614046, -0.628243, -0.646069, -0.642002, -0.667711, -0.684330, -0.688806, -0.693437, -0.703271, -0.720580, -0.731828, -0.749815, -0.759288, -0.776516, -0.784124, -0.818352, -0.809554, -0.868718
#*# -0.592275, -0.598770, -0.616760, -0.627073, -0.628388, -0.645813, -0.663502, -0.683375, -0.700912, -0.704561, -0.714940, -0.736118, -0.743128, -0.757129, -0.774651, -0.787605, -0.801813, -0.820619, -0.846460, -0.866961
#*# -0.574669, -0.585490, -0.605246, -0.610199, -0.623198, -0.627935, -0.653045, -0.666578, -0.687961, -0.695467, -0.706546, -0.736241, -0.737898, -0.746637, -0.766617, -0.786584, -0.790830, -0.829058, -0.848492, -0.898153
#*# x_count = 20
#*# y_count = 20
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 10.0
#*# max_x = 359.98
#*# min_y = 22.0
#*# max_y = 319.92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment