2021-09-21 18:56:30 +02:00
|
|
|
# Klipper firmware config file for Anycubic 4Max Pro 2.0. To use this config,
|
|
|
|
# the firmware should be compiled for the AVR atmega2560.
|
|
|
|
|
|
|
|
# You can build and flash firmware with commands in klipper directory:
|
|
|
|
# $ make clean
|
|
|
|
# $ make menuconfig
|
|
|
|
# $ make
|
|
|
|
# $ make flash FLASH_DEVICE={your serial port}
|
|
|
|
|
|
|
|
# For more precision, don't forget calibrate PIDs individually for your printer.
|
|
|
|
|
|
|
|
# For Anycubic 4Max Pro (not 2.0) owners:
|
|
|
|
# Be careful when using this config! This config tested only on Anycubic
|
|
|
|
# 4Max Pro 2.0 with klipper v0.9.1-667-g31761500! At first, you should
|
|
|
|
# set homing_speed on 5, and run homing and click on the endstops with
|
|
|
|
# your fingers. It is necessary to make sure that all the motors are
|
|
|
|
# spinning in the right direction, all the temperature sensors show the
|
|
|
|
# correct values, and all the endstops are triggered correctly.
|
|
|
|
|
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PF0
|
|
|
|
dir_pin: PF1
|
|
|
|
enable_pin: !PD7
|
|
|
|
rotation_distance: 32
|
|
|
|
microsteps: 16
|
|
|
|
endstop_pin: ^!PE5
|
|
|
|
position_min: -8
|
|
|
|
position_endstop: -8
|
|
|
|
position_max: 270
|
|
|
|
homing_speed: 50.0
|
|
|
|
homing_retract_dist: 5.0
|
|
|
|
second_homing_speed: 5.0
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PF6
|
|
|
|
dir_pin: !PF7
|
|
|
|
enable_pin: !PF2
|
|
|
|
rotation_distance: 40
|
|
|
|
microsteps: 16
|
|
|
|
endstop_pin: ^!PD2
|
|
|
|
position_max: 215
|
|
|
|
position_min: -1
|
|
|
|
position_endstop: -1
|
|
|
|
homing_speed: 50.0
|
|
|
|
homing_retract_dist: 5.0
|
|
|
|
second_homing_speed: 5.0
|
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: PL3
|
|
|
|
dir_pin: PL1
|
|
|
|
enable_pin: !PK0
|
|
|
|
rotation_distance: 4
|
|
|
|
microsteps: 16
|
|
|
|
endstop_pin: ^!PD3
|
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 195
|
|
|
|
homing_speed: 5.0
|
|
|
|
homing_retract_dist: 3.0
|
|
|
|
second_homing_speed: 0.8
|
|
|
|
homing_speed: 6.0
|
|
|
|
|
|
|
|
[extruder]
|
|
|
|
step_pin: PA4
|
|
|
|
dir_pin: !PA6
|
|
|
|
enable_pin: !PA2
|
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 7.488
|
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
instantaneous_corner_velocity: 1.5
|
|
|
|
max_extrude_only_distance: 500
|
|
|
|
heater_pin: PB4
|
|
|
|
sensor_type: ATC Semitec 104GT-2
|
|
|
|
sensor_pin: PK5
|
|
|
|
smooth_time: 2
|
|
|
|
control: pid
|
|
|
|
pid_kp: 29.735 # calibrate these PID values for your printer individually!
|
|
|
|
pid_ki: 1.304 # calibrate these PID values for your printer individually!
|
|
|
|
pid_kd: 169.491 # calibrate these PID values for your printer individually!
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 280
|
|
|
|
|
|
|
|
[heater_bed]
|
|
|
|
heater_pin: PH5
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: PK6
|
|
|
|
control: pid
|
|
|
|
pid_kp: 71.423 # calibrate these PID values for your printer individually!
|
|
|
|
pid_ki: 0.679 # calibrate these PID values for your printer individually!
|
|
|
|
pid_kd: 1877.522 # calibrate these PID values for your printer individually!
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 125
|
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: PH6
|
|
|
|
kick_start_time: 1.0
|
|
|
|
|
|
|
|
[heater_fan heatbreak_fan]
|
|
|
|
pin: PL5
|
|
|
|
kick_start_time: 1.0
|
|
|
|
max_power: 1.0
|
|
|
|
heater_temp: 40.0
|
|
|
|
heater: extruder
|
|
|
|
|
|
|
|
[controller_fan system_fan]
|
|
|
|
pin: PH4
|
|
|
|
hardware_pwm: True
|
|
|
|
kick_start_time: 1.0
|
|
|
|
max_power: 1.0
|
|
|
|
idle_timeout: 300
|
|
|
|
idle_speed: 0.5
|
|
|
|
shutdown_speed: 1.0
|
|
|
|
heater: heater_bed,extruder
|
|
|
|
|
|
|
|
[output_pin light]
|
|
|
|
value: 1
|
|
|
|
pin: PL4
|
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
|
|
|
|
restart_method: arduino
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 150
|
|
|
|
max_accel: 3000
|
|
|
|
max_accel_to_decel: 1500
|
|
|
|
max_z_velocity: 7
|
|
|
|
max_z_accel: 50
|
|
|
|
square_corner_velocity: 5
|
|
|
|
|
|
|
|
[bed_screws]
|
2022-01-10 03:13:53 +01:00
|
|
|
screw1: 5, 5
|
|
|
|
screw2: 265, 210
|
|
|
|
screw3: 5, 210
|
|
|
|
screw4: 265, 5
|
2021-09-21 18:56:30 +02:00
|
|
|
|
|
|
|
[filament_switch_sensor filament_sensor]
|
|
|
|
switch_pin: ^!PC4
|