# 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. ## Voron Design VORON2 250/300/350mm BigTreeTech OctoPus V1 TMC2209 UART config ## *** THINGS TO CHANGE/CHECK: *** ## MCU paths [mcu] section ## Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file ## Z Endstop Switch location [safe_z_home] section ## Homing end position [gcode_macro G32] section ## Z Endstop Switch offset for Z0 [stepper_z] section ## Probe points [quad_gantry_level] section ## Min & Max gantry corner postions [quad_gantry_level] section ## PID tune [extruder] and [heater_bed] sections ## Fine tune E steps [extruder] section [include ./TOOLHEAD/*.cfg] [include ./SYSTEM/*.cfg] [include ./CUSTOM/*.cfg] [mcu] ## [X in MOTOR0] - B Motor ## [Y in MOTOR1] - A Motor ## [E in MOTOR6] - Extruder ## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify ##-------------------------------------------------------------------- serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_360026001950534146373920-if00 restart_method: command ##-------------------------------------------------------------------- [printer] kinematics: corexy max_velocity: 500 max_accel: 4200 #Max 4000 #max_y_accel: 4200 #max_x_accel: 8000 #max_accel: 10000 #Testing - revert back to above line after! #max_accel_to_decel: 10000 #Testing - revert back to above line after! max_z_velocity: 30 #Max 15 for 12V TMC Drivers, can increase for 24V max_z_accel: 500 square_corner_velocity: 2.0 minimum_cruise_ratio: 0 [force_move] enable_force_move: True [skew_correction] [exclude_object] [firmware_retraction] [gcode_arcs] resolution: 0.1 ##################################################################### # Macros ##################################################################### [gcode_macro G32] description: Home XYZ mesh calibrate gcode: STATUS_HOMING BED_MESH_CLEAR G28 QUAD_GANTRY_LEVEL STATUS_MESHING BED_MESH_CALIBRATE G1 X{ printer.toolhead.axis_maximum.x/2 } Y{ printer.toolhead.axis_maximum.y/2 } Z30 F4500 CARTOGRAPHER_TOUCH STATUS_READY #-------------------------------------------------------------------- [gcode_macro PRINT_START] # Use PRINT_START for the slicer starting script - please customise for your slicer of choice gcode: RESPOND MSG="🚦 Waiting for bed/chamber readiness..." SET_MATERIAL {rawparams} FAST_CALIBRATE {rawparams} CLEAN_NOZZLE STATUS_PRINTING LINE_PURGE [gcode_macro PRINT_END] # Use PRINT_END for the slicer ending script - please customise for your slicer of choice gcode: M400 ; wait for buffer to clear G92 E0 ; zero the extruder G1 E-10.0 F3600 ; retract filament G91 ; relative positioning G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing TURN_OFF_HEATERS M107 ; turn off fan M106 S0 G1 Z5 F3000 ; move nozzle up 5mm G90 ; absolute positioning BED_MESH_CLEAR SET_PIN PIN=daylight VALUE=0.0 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [extruder] #*# control = pid #*# pid_kp = 15.921 #*# pid_ki = 3.553 #*# pid_kd = 12.717 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 38.431 #*# pid_ki = 1.601 #*# pid_kd = 230.586 #*# #*# [stepper_z] #*# position_endstop = -0.65 #*# #*# [input_shaper] #*# shaper_type_x = mzv #*# shaper_freq_x = 52.2 #*# shaper_type_y = mzv #*# shaper_freq_y = 37.8 #*# #*# [scanner] #*# mode = touch #*# scanner_touch_threshold = 2500 #*# scanner_touch_speed = 3 #*# #*# [scanner model default] #*# model_coef = 1.503616458401332, #*# 1.8307346475213917, #*# 0.7262664387406956, #*# 0.2835099604869052, #*# 0.49907486591585376, #*# 0.6866272569538326, #*# -0.4090974133486076, #*# -0.7852408625740519, #*# 0.33079701878632656, #*# 0.4362887326279605 #*# model_domain = 3.241918166319436e-07,3.3488126441795064e-07 #*# model_range = 0.200000,5.100000 #*# model_temp = 32.343261 #*# model_offset = -0.0250 #*# model_mode = touch #*# model_fw_version = CARTOGRAPHER 5.1.0 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# 0.072398, 0.066187, 0.119609, 0.134320, 0.132330, 0.124682, 0.100382, 0.086712, 0.077852, 0.074655 #*# 0.039626, 0.036818, 0.092077, 0.101400, 0.103115, 0.087366, 0.059710, 0.045081, 0.039742, 0.020377 #*# 0.007233, 0.011211, 0.055786, 0.061958, 0.054488, 0.046772, 0.017405, 0.006026, 0.001332, -0.019181 #*# -0.015451, -0.008911, 0.036741, 0.037070, 0.022559, 0.018322, -0.002258, -0.016678, -0.023943, -0.036462 #*# -0.032068, -0.040985, 0.033854, 0.035543, 0.009602, -0.000700, -0.021671, -0.027756, -0.038461, -0.058526 #*# -0.036397, -0.034285, 0.032927, 0.026578, -0.003679, -0.002466, -0.023670, -0.034656, -0.036612, -0.054150 #*# -0.021564, -0.030095, 0.022793, 0.029899, 0.010114, 0.000905, -0.013579, -0.025803, -0.025878, -0.035988 #*# 0.007332, 0.002438, 0.063747, 0.059245, 0.045247, 0.033976, 0.020512, 0.012343, 0.014880, -0.002763 #*# 0.044449, 0.033778, 0.080687, 0.087097, 0.085445, 0.074759, 0.065539, 0.054285, 0.054044, 0.039216 #*# 0.045665, 0.049666, 0.111007, 0.114869, 0.103424, 0.098449, 0.091647, 0.084339, 0.083037, 0.062745 #*# x_count = 10 #*# y_count = 10 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 15.0 #*# max_x = 334.95 #*# min_y = 25.0 #*# max_y = 334.96