# This file contains common pin mappings for the BigTreeTech Octopus # (non-Pro) boards. # 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, or STM32F429. 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". # See docs/Config_Reference.md for a description of parameters. [include fluidd.cfg] [virtual_sdcard] path: /home/michal/printer_data/gcodes [gcode_macro CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: TURN_OFF_HEATERS CANCEL_PRINT_BASE [display_status] # Driver0 [stepper_x] step_pin: PF13 dir_pin: PF12 enable_pin: !PF14 microsteps: 128 rotation_distance: 32 endstop_pin: !PG6 position_endstop: 0 position_max: 250 homing_speed: 50 [tmc2209 stepper_x] uart_pin: PC4 interpolate: True run_current: 0.9 hold_current: 0.5 stealthchop_threshold: 60 # 0 or 200 # Driver1 [stepper_y] step_pin: PG0 dir_pin: !PG1 enable_pin: !PF15 microsteps: 128 rotation_distance: 32 endstop_pin: PG9 position_endstop: 0 position_max: 210 homing_speed: 50 [tmc2209 stepper_y] uart_pin: PD11 interpolate: True run_current: 0.9 hold_current: 0.5 stealthchop_threshold: 60 # 0 or 200 # Driver2 [stepper_z] step_pin: PF9 dir_pin: PF10 enable_pin: !PG2 microsteps: 64 rotation_distance: 8 #endstop_pin: PG10 #position_endstop: 0.5 endstop_pin: probe:z_virtual_endstop position_max: 220 [tmc2209 stepper_z] uart_pin: PF2 interpolate: True run_current: 0.8 hold_current: 0.5 stealthchop_threshold: 60 # 0 or 200 # Driver3 # The Octopus only has 4 heater outputs which leaves an extra stepper # This can be used for a second Z stepper, dual_carriage, extruder co-stepper, # or other accesory such as an MMU [stepper_z1] step_pin: PC13 dir_pin: PF0 enable_pin: !PF1 microsteps: 32 rotation_distance: 8 #endstop_pin: PG11 #... [tmc2209 stepper_z1] uart_pin: PE4 interpolate: True run_current: 0.8 hold_current: 0.5 stealthchop_threshold: 60 # 0 or 200 # Driver4 [extruder] step_pin: PE2 dir_pin: PE3 enable_pin: !PD4 microsteps: 32 rotation_distance: 4.58689 full_steps_per_rotation: 200 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PA2 # HE0 sensor_pin: PF4 # T0 sensor_type: Generic 3950 control = pid pid_kp = 14.033 pid_ki = 0.585 pid_kd = 84.197 min_temp: 0 max_temp: 300 pressure_advance = 0.055 max_extrude_only_distance: 350.0 [tmc2209 extruder] uart_pin: PE1 interpolate: True run_current: 0.8 hold_current: 0.5 stealthchop_threshold: 60 # 0 or 200 #[filament_switch_sensor material_0] #switch_pin: PG12 # Driver5 #[extruder1] #step_pin: PC13 #dir_pin: PF0 #enable_pin: !PF1 #heater_pin: PA3 # HE1 #sensor_pin: PF5 # T1 #... #[filament_switch_sensor material_1] #switch_pin: PG13 # Driver6 #[extruder2] #step_pin: PE2 #dir_pin: PE3 #enable_pin: !PD4 #heater_pin: PB10 # HE2 #sensor_pin: PF6 # T2 #... #[filament_switch_sensor material_2] #switch_pin: PG14 # Driver7 #[extruder3] #step_pin: PE6 #dir_pin: PA14 #enable_pin: !PE0 #heater_pin: PB11 # HE3 #sensor_pin: PF7 # T3 #... #[filament_switch_sensor material_3] #switch_pin: PG15 [heater_bed] heater_pin: PA1 sensor_pin: PF3 # TB sensor_type: Generic 3950 control: watermark min_temp: 0 max_temp: 130 [verify_heater heater_bed] heating_gain: 2 check_gain_time:110 hysteresis: 10 max_error: 130 [fan] pin: PA8 kick_start_time: 0.5 off_below: 0.10 [heater_fan fan_extruder] pin: PE5 max_power: 1.0 kick_start_time: 0.5 #[heater_fan fan2] #pin: PD12 #[heater_fan fan3] #pin: PD13 #[heater_fan fan4] #pin: PD14 #[controller_fan fan5] #pin: PD15 [mcu] serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_1A001B00095053424E363420-if00 # CAN bus is also available on this board [temperature_sensor mcu_temp] sensor_type: temperature_mcu min_temp: 0 max_temp: 100 [printer] kinematics: cartesian max_velocity: 1500 max_accel: 10000 max_z_velocity: 5 max_z_accel: 200 max_accel_to_decel: 10000 square_corner_velocity: 5.0 [input_shaper] shaper_freq_x: 49.4 shaper_freq_y: 32.9 [z_tilt] z_positions: 5, 125 210, 125 points: 5, 125 210, 125 speed: 150 horizontal_move_z: 5 retries: 20 retry_tolerance: .0025 [bed_mesh] speed: 120 horizontal_move_z: 10 mesh_min: 29,2 mesh_max: 215, 184 probe_count: 4,4 mesh_pps: 2,3 algorithm: bicubic fade_start: 1 fade_end: 10 fade_target: 0 # bicubic_tension: 0.2 # move_check_distance: 5 # split_delta_z: .025 [bltouch] sensor_pin: PG11 control_pin: PB6 x_offset:26.99 y_offset:-1 z_offset: 1.1 # samples: 3 # pin_move_time: 0.8 # pin_up_reports_not_triggered: true # pin_up_touch_mode_reports_triggered: true [filament_switch_sensor RUNOUT] pause_on_runout: True runout_gcode: G1 E10 F5000 G1 E-100 F5000 insert_gcode: event_delay: 3.0 pause_delay: 0.5 switch_pin: PC5 [gcode_macro M600] gcode: {% set X = params.X|default(50)|float %} {% set Y = params.Y|default(0)|float %} {% set Z = params.Z|default(10)|float %} SAVE_GCODE_STATE NAME=M600_state PAUSE G91 G1 E-.8 F2700 G1 Z{Z} G90 G1 X{X} Y{Y} F3000 G91 G1 E-50 F1000 RESTORE_GCODE_STATE NAME=M600_state [gcode_macro G99] gcode: G28 G1 X42 Z220 G28 Z [safe_z_home] home_xy_position: 98,116 speed: 80 z_hop: 10 z_hop_speed: 5 [gcode_macro G29] gcode: BED_MESH_CALIBRATE # M600 Filament change: [pause_resume] #recover_velocity: 50. ######################################## # TMC2209 configuration ######################################## #[tmc2209 stepper_x] #uart_pin: PC4 ##diag_pin: PG6 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2209 stepper_y] #uart_pin: PD11 ##diag_pin: PG9 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2209 stepper_z] #uart_pin: PC6 ##diag_pin: PG10 #run_current: 0.650 #stealthchop_threshold: 999999 #[tmc2209 stepper_] #uart_pin: PC7 ##diag_pin: PG11 #run_current: 0.650 #stealthchop_threshold: 999999 #[tmc2209 extruder] #uart_pin: PF2 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2209 extruder1] #uart_pin: PE4 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2209 extruder2] #uart_pin: PE1 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2209 extruder3] #uart_pin: PD3 #run_current: 0.800 #stealthchop_threshold: 999999 ######################################## # TMC2130 configuration ######################################## #[tmc2130 stepper_x] #cs_pin: PC4 #spi_bus: spi1 ##diag1_pin: PG6 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2130 stepper_y] #cs_pin: PD11 #spi_bus: spi1 ##diag1_pin: PG9 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2130 stepper_z] #cs_pin: PC6 #spi_bus: spi1 ##diag1_pin: PG10 #run_current: 0.650 #stealthchop_threshold: 999999 #[tmc2130 stepper_] #cs_pin: PC7 #spi_bus: spi1 ##diag1_pin: PG11 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2130 extruder] #cs_pin: PF2 #spi_bus: spi1 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2130 extruder1] #cs_pin: PE4 #spi_bus: spi1 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2130 extruder2] #cs_pin: PE1 #spi_bus: spi1 #run_current: 0.800 #stealthchop_threshold: 999999 #[tmc2130 extruder3] #cs_pin: PD3 #spi_bus: spi1 #run_current: 0.800 #stealthchop_threshold: 999999 [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=, 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=, EXP2_9=, EXP2_10=PC5 # See the sample-lcd.cfg file for definitions of common LCD displays. # A [probe] section can be defined instead with a pin: setting identical # to the sensor_pin: for a bltouch #[bltouch] #sensor_pin: PB7 #control_pin: PB6 #z_offset: 0 #[neopixel my_neopixel] #pin: PB0