286 lines
7.3 KiB
INI
286 lines
7.3 KiB
INI
|
|
# AON3D M2+ - Dual MCU Configuration
|
||
|
|
# Azteeg X3: Sensors, Endstops, Probe, Fan, Hotend Heaters
|
||
|
|
# Octopus Pro: Motors + Bed/Chamber Heaters
|
||
|
|
# IDEX setup with heated chamber, external DM542T drivers
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Requirements
|
||
|
|
# ================================================================================
|
||
|
|
[pause_resume]
|
||
|
|
[display_status]
|
||
|
|
[virtual_sdcard]
|
||
|
|
path: ~/gcode_files
|
||
|
|
|
||
|
|
[include macros.cfg]
|
||
|
|
[include Controllino_aliases.cfg]
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# MCU Configuration
|
||
|
|
# ================================================================================
|
||
|
|
# Main MCU - Azteeg X3
|
||
|
|
[mcu]
|
||
|
|
serial: /dev/serial/by-id/usb-FTDI_FT231X_USB_UART_DN05SBA9-if00-port0
|
||
|
|
restart_method: command
|
||
|
|
|
||
|
|
# Secondary MCU - Octopus Pro (motors + heaters only)
|
||
|
|
[mcu octopus]
|
||
|
|
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_32000A000E50315939343520-if00
|
||
|
|
restart_method: command
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Printer Definition
|
||
|
|
# ================================================================================
|
||
|
|
[printer]
|
||
|
|
kinematics: cartesian
|
||
|
|
max_velocity: 250
|
||
|
|
max_accel: 3000
|
||
|
|
max_z_velocity: 12
|
||
|
|
max_z_accel: 30
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Stepper Configuration - Motors on Octopus, Endstops on Azteeg
|
||
|
|
# ================================================================================
|
||
|
|
|
||
|
|
# --- X Axis T0 (MOTOR0) ---
|
||
|
|
[stepper_x]
|
||
|
|
step_pin: octopus:PF13
|
||
|
|
dir_pin: !octopus:PF12
|
||
|
|
enable_pin: !octopus:PF14
|
||
|
|
microsteps: 16
|
||
|
|
rotation_distance: 80
|
||
|
|
endstop_pin: ar3 # Azteeg
|
||
|
|
position_endstop: -90
|
||
|
|
position_min: -90
|
||
|
|
position_max: 450
|
||
|
|
homing_speed: 100
|
||
|
|
step_pulse_duration: 0.000006
|
||
|
|
|
||
|
|
# --- Y Axis Left (MOTOR1) ---
|
||
|
|
[stepper_y]
|
||
|
|
step_pin: octopus:PG0
|
||
|
|
dir_pin: !octopus:PG1
|
||
|
|
enable_pin: !octopus:PF15
|
||
|
|
microsteps: 16
|
||
|
|
rotation_distance: 80
|
||
|
|
endstop_pin: ar14 # Azteeg
|
||
|
|
position_endstop: -44
|
||
|
|
position_min: -44
|
||
|
|
position_max: 450
|
||
|
|
homing_speed: 80
|
||
|
|
step_pulse_duration: 0.000006
|
||
|
|
|
||
|
|
# --- Z Axis Left (MOTOR2) ---
|
||
|
|
[stepper_z]
|
||
|
|
step_pin: octopus:PF11
|
||
|
|
dir_pin: octopus:PG3
|
||
|
|
enable_pin: !octopus:PG5
|
||
|
|
microsteps: 4
|
||
|
|
rotation_distance: 2
|
||
|
|
endstop_pin: ar18 # Azteeg
|
||
|
|
position_min: -11
|
||
|
|
position_max: 600
|
||
|
|
homing_retract_dist: 2
|
||
|
|
homing_speed: 5
|
||
|
|
step_pulse_duration: 0.000006
|
||
|
|
|
||
|
|
# --- Dual Carriage / X T1 (MOTOR5) ---
|
||
|
|
[dual_carriage]
|
||
|
|
axis: x
|
||
|
|
step_pin: octopus:PC13
|
||
|
|
dir_pin: !octopus:PF0
|
||
|
|
enable_pin: !octopus:PF1
|
||
|
|
microsteps: 16
|
||
|
|
rotation_distance: 80
|
||
|
|
endstop_pin: ar2 # Azteeg
|
||
|
|
position_endstop: 518.5
|
||
|
|
position_max: 518.5
|
||
|
|
homing_speed: 100
|
||
|
|
step_pulse_duration: 0.000006
|
||
|
|
|
||
|
|
# --- Y1 Axis Right (MOTOR6) ---
|
||
|
|
[stepper_y1]
|
||
|
|
step_pin: octopus:PE2
|
||
|
|
dir_pin: octopus:PE3
|
||
|
|
enable_pin: !octopus:PD4
|
||
|
|
microsteps: 16
|
||
|
|
rotation_distance: 80
|
||
|
|
endstop_pin: ar15 # Azteeg
|
||
|
|
step_pulse_duration: 0.000006
|
||
|
|
|
||
|
|
# --- Z1 Axis Right (MOTOR7) ---
|
||
|
|
[stepper_z1]
|
||
|
|
step_pin: octopus:PE6
|
||
|
|
dir_pin: octopus:PA14
|
||
|
|
enable_pin: !octopus:PE0
|
||
|
|
microsteps: 4
|
||
|
|
rotation_distance: 2
|
||
|
|
endstop_pin: ar19 # Azteeg
|
||
|
|
step_pulse_duration: 0.000006
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Extruder Configuration - Motors on Octopus, Heaters+Sensors on Azteeg
|
||
|
|
# ================================================================================
|
||
|
|
|
||
|
|
# --- Extruder 0 (MOTOR3) - Motor on Octopus, Heater on Azteeg ---
|
||
|
|
[extruder]
|
||
|
|
step_pin: octopus:PG4
|
||
|
|
dir_pin: octopus:PC1
|
||
|
|
enable_pin: !octopus:PA0
|
||
|
|
microsteps: 16
|
||
|
|
rotation_distance: 4.961
|
||
|
|
nozzle_diameter: 0.400
|
||
|
|
filament_diameter: 1.750
|
||
|
|
heater_pin: ar10 # Azteeg
|
||
|
|
sensor_type: thermistor20
|
||
|
|
sensor_pin: analog3 # Azteeg
|
||
|
|
min_temp: 0
|
||
|
|
max_temp: 500
|
||
|
|
pressure_advance: 0.06
|
||
|
|
pressure_advance_smooth_time: 0.12
|
||
|
|
max_extrude_cross_section: 10
|
||
|
|
control: pid
|
||
|
|
pid_kp: 17.123
|
||
|
|
pid_ki: 0.660
|
||
|
|
pid_kd: 111.088
|
||
|
|
|
||
|
|
# --- Extruder 1 (MOTOR4) - Motor on Octopus, Heater on Azteeg ---
|
||
|
|
[extruder1]
|
||
|
|
step_pin: octopus:PF9
|
||
|
|
dir_pin: octopus:PF10
|
||
|
|
enable_pin: !octopus:PG2
|
||
|
|
microsteps: 16
|
||
|
|
rotation_distance: 4.961
|
||
|
|
nozzle_diameter: 0.400
|
||
|
|
filament_diameter: 1.750
|
||
|
|
heater_pin: ar9 # Azteeg
|
||
|
|
sensor_type: thermistor20
|
||
|
|
sensor_pin: analog9 # Azteeg
|
||
|
|
min_temp: 0
|
||
|
|
max_temp: 400
|
||
|
|
pressure_advance: 0.06
|
||
|
|
pressure_advance_smooth_time: 0.12
|
||
|
|
control: pid
|
||
|
|
pid_kp: 15.157
|
||
|
|
pid_ki: 0.529
|
||
|
|
pid_kd: 108.559
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Custom Thermistor Definitions
|
||
|
|
# ================================================================================
|
||
|
|
|
||
|
|
[adc_temperature thermistor86]
|
||
|
|
temperature1: 20
|
||
|
|
voltage1: 4.8239
|
||
|
|
temperature2: 90
|
||
|
|
voltage2: 3.3005
|
||
|
|
temperature3: 180
|
||
|
|
voltage3: 0.7913
|
||
|
|
|
||
|
|
[adc_temperature thermistor20]
|
||
|
|
temperature1: 20
|
||
|
|
voltage1: 1.1926
|
||
|
|
temperature2: 200
|
||
|
|
voltage2: 1.921
|
||
|
|
temperature3: 600
|
||
|
|
voltage3: 3.328
|
||
|
|
|
||
|
|
[adc_temperature thermistor5]
|
||
|
|
temperature1: 20
|
||
|
|
voltage1: 4.817
|
||
|
|
temperature2: 150
|
||
|
|
voltage2: 1.122
|
||
|
|
temperature3: 300
|
||
|
|
voltage3: 0.0876
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Heated Bed - on Octopus (both SSRs wired to PA1)
|
||
|
|
# ================================================================================
|
||
|
|
[heater_bed]
|
||
|
|
heater_pin: octopus:PA1 # Octopus HB
|
||
|
|
sensor_type: thermistor5
|
||
|
|
sensor_pin: analog14 # Azteeg
|
||
|
|
control: pid
|
||
|
|
pid_Kp: 22.2
|
||
|
|
pid_Ki: 1.08
|
||
|
|
pid_Kd: 114
|
||
|
|
min_temp: -20
|
||
|
|
max_temp: 230
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Heated Chamber - on Octopus
|
||
|
|
# ================================================================================
|
||
|
|
[heater_generic chamber]
|
||
|
|
gcode_id: T2
|
||
|
|
heater_pin: octopus:PB10 # Octopus HE2
|
||
|
|
sensor_type: thermistor86
|
||
|
|
sensor_pin: analog13 # Azteeg
|
||
|
|
max_power: 1.0
|
||
|
|
pwm_cycle_time: 0.3
|
||
|
|
control: pid
|
||
|
|
pid_Kp: 100
|
||
|
|
pid_Ki: 1.8
|
||
|
|
pid_Kd: 300
|
||
|
|
min_temp: -20
|
||
|
|
max_temp: 175
|
||
|
|
|
||
|
|
[verify_heater chamber]
|
||
|
|
check_gain_time: 900
|
||
|
|
max_error: 200
|
||
|
|
|
||
|
|
[heater_fan Enclosure_fan]
|
||
|
|
pin: ar5 # Azteeg
|
||
|
|
fan_speed: 1.0
|
||
|
|
heater: chamber
|
||
|
|
kick_start_time: 10000
|
||
|
|
shutdown_speed: 0
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Probe and Bed Mesh - on Azteeg
|
||
|
|
# ================================================================================
|
||
|
|
[probe]
|
||
|
|
pin: ^ar22 # Azteeg
|
||
|
|
lift_speed: 10
|
||
|
|
speed: 6.0
|
||
|
|
|
||
|
|
[bed_mesh]
|
||
|
|
speed: 200
|
||
|
|
horizontal_move_z: 2
|
||
|
|
mesh_min: 60, 60
|
||
|
|
mesh_max: 380, 380
|
||
|
|
probe_count: 6, 6
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Additional Configuration
|
||
|
|
# ================================================================================
|
||
|
|
[force_move]
|
||
|
|
enable_force_move: True
|
||
|
|
|
||
|
|
[idle_timeout]
|
||
|
|
timeout: 14400
|
||
|
|
|
||
|
|
[save_variables]
|
||
|
|
filename: ~/savedVariables.cfg
|
||
|
|
|
||
|
|
# ================================================================================
|
||
|
|
# Temperature Monitoring
|
||
|
|
# ================================================================================
|
||
|
|
[temperature_sensor octopus_temp]
|
||
|
|
sensor_type: temperature_mcu
|
||
|
|
sensor_mcu: octopus
|
||
|
|
min_temp: 0
|
||
|
|
max_temp: 100
|
||
|
|
|
||
|
|
[temperature_sensor raspberry_pi]
|
||
|
|
sensor_type: temperature_host
|
||
|
|
min_temp: 10
|
||
|
|
max_temp: 100
|
||
|
|
|
||
|
|
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||
|
|
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||
|
|
#*#
|
||
|
|
#*# [probe]
|
||
|
|
#*# z_offset = 0.500
|
||
|
|
#*#
|
||
|
|
#*# [stepper_z]
|
||
|
|
#*# position_endstop = -1.590
|