2019-05-01 20:48:37 +02:00
|
|
|
# ZAV3D MAX config. To use this config, the firmware should be
|
|
|
|
# compiled for the AVR atmega2560.
|
2019-05-01 20:40:17 +02:00
|
|
|
|
2019-05-01 20:48:37 +02:00
|
|
|
# This is a base printer.cfg file for the ZAV3D Max printer and
|
|
|
|
# matches the manual/build guide exactly for controllers used (MKS
|
|
|
|
# MINI-B V1.0) and pin layout for all connected components.
|
2019-05-01 20:40:17 +02:00
|
|
|
# Created by "Nurmukhamed Artykaly"
|
|
|
|
|
|
|
|
# This file is only an example - be sure to review and update it
|
2020-11-17 00:47:32 +01:00
|
|
|
# according to the specifics of your printer.
|
|
|
|
|
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2019-05-01 20:40:17 +02:00
|
|
|
|
|
|
|
# AND PLEASE READ THROUGH THE KLIPPER DOCUMENTATION FIRST!
|
2019-05-01 20:48:37 +02:00
|
|
|
# https://www.klipper3d.org/Overview.html
|
2019-05-01 20:40:17 +02:00
|
|
|
|
|
|
|
# *** THINGS TO CHANGE/CHECK: ***
|
|
|
|
# Arduino paths [mcu] section
|
|
|
|
# Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file
|
|
|
|
# FSR switch (z endstop) location [homing_override] section
|
|
|
|
# FSR switch (z endstop) 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
|
|
|
|
|
|
|
|
|
|
|
|
[stepper_x]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PF0
|
|
|
|
dir_pin: PF1
|
|
|
|
enable_pin: !PD7
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 32
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^PE5
|
2019-05-01 20:40:17 +02:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
# The stepper_y section is used to describe the Y axis as well as the
|
|
|
|
# stepper controlling the X-Y movement.
|
|
|
|
[stepper_y]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PF6
|
|
|
|
dir_pin: PF7
|
|
|
|
enable_pin: !PF2
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 32
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^PJ1
|
2019-05-01 20:40:17 +02:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
## Configuration with Z Endstop, without Probe tool like BLTOUCH or others.
|
|
|
|
#[stepper_z]
|
2021-03-19 17:52:21 +01:00
|
|
|
#step_pin: PL3
|
|
|
|
#dir_pin: PL1
|
|
|
|
#enable_pin: !PK0
|
2020-12-14 15:09:19 +01:00
|
|
|
#microsteps: 16
|
|
|
|
#rotation_distance: 8
|
2019-05-01 20:40:17 +02:00
|
|
|
## I used Z_MAX_ENDSTOP
|
2021-03-19 17:52:21 +01:00
|
|
|
#endstop_pin: ^PD2
|
2019-05-01 20:40:17 +02:00
|
|
|
## More about z-calibration is here https://vk.com/topic-107680682_34101598
|
|
|
|
#position_endstop: 235
|
|
|
|
#position_max: 235
|
|
|
|
#homing_positive_dir: true
|
|
|
|
|
|
|
|
## Configuration for Bltouch probe tool.
|
2019-05-01 20:48:37 +02:00
|
|
|
## Read more about BLTOUCH here https://www.klipper3d.org/BLTouch.html
|
2019-05-01 20:40:17 +02:00
|
|
|
[stepper_z]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PL3
|
|
|
|
dir_pin: PL1
|
|
|
|
enable_pin: !PK0
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2019-05-01 20:40:17 +02:00
|
|
|
position_min: -3
|
|
|
|
position_max: 230
|
|
|
|
endstop_pin: probe:z_virtual_endstop
|
|
|
|
|
|
|
|
## Configuration with PID Calibration.
|
2019-05-01 20:48:37 +02:00
|
|
|
## Read more here https://www.klipper3d.org/Config_checks.html
|
2019-05-01 20:40:17 +02:00
|
|
|
[extruder]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PA4
|
|
|
|
dir_pin: !PA6
|
|
|
|
enable_pin: !PA2
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 13.5744
|
2019-05-01 20:40:17 +02:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
2021-03-19 17:52:21 +01:00
|
|
|
heater_pin: PB4
|
2019-05-01 20:40:17 +02:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2021-03-19 17:52:21 +01:00
|
|
|
sensor_pin: PK5
|
2019-05-01 20:40:17 +02:00
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
2019-05-01 20:48:37 +02:00
|
|
|
control: pid
|
|
|
|
pid_kp: 26.596
|
|
|
|
pid_ki: 1.166
|
|
|
|
pid_kd: 151.598
|
2019-05-01 20:40:17 +02:00
|
|
|
|
|
|
|
## Configuration with PID Calibration.
|
2019-05-01 20:48:37 +02:00
|
|
|
## Read more here https://www.klipper3d.org/Config_checks.html
|
2019-05-01 20:40:17 +02:00
|
|
|
[heater_bed]
|
2021-03-19 17:52:21 +01:00
|
|
|
heater_pin: PH5
|
2019-05-01 20:40:17 +02:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2021-03-19 17:52:21 +01:00
|
|
|
sensor_pin: PK6
|
2019-05-01 20:40:17 +02:00
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
2019-05-01 20:48:37 +02:00
|
|
|
control: pid
|
|
|
|
pid_kp: 73.517
|
|
|
|
pid_ki: 1.822
|
|
|
|
pid_kd: 741.600
|
2019-05-01 20:40:17 +02:00
|
|
|
|
|
|
|
[fan]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PH6
|
2019-05-01 20:40:17 +02:00
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/ttyACM0
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: corexy
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 25
|
|
|
|
max_z_accel: 30
|
|
|
|
|
|
|
|
[bltouch]
|
2021-03-19 17:52:21 +01:00
|
|
|
sensor_pin: ^PD3
|
|
|
|
control_pin: PH4
|
2019-05-01 20:40:17 +02:00
|
|
|
x_offset: 39
|
|
|
|
y_offset: 11
|
|
|
|
z_offset: 0.9
|
|
|
|
pin_up_touch_mode_reports_triggered: false
|
2019-05-31 19:47:15 +02:00
|
|
|
samples: 2
|
|
|
|
sample_retract_dist: 3.0
|
2019-05-01 20:40:17 +02:00
|
|
|
|
|
|
|
[bed_mesh]
|
|
|
|
speed: 100
|
|
|
|
horizontal_move_z: 5
|
2022-01-10 03:13:53 +01:00
|
|
|
mesh_min: 69, 41
|
|
|
|
mesh_max: 189, 161
|
|
|
|
probe_count: 3, 3
|
2019-05-01 20:40:17 +02:00
|
|
|
|
|
|
|
[homing_override]
|
2019-05-01 20:48:37 +02:00
|
|
|
set_position_z: 6
|
2019-05-01 20:40:17 +02:00
|
|
|
axes: z
|
|
|
|
gcode:
|
|
|
|
G90
|
|
|
|
G1 Z10 F6000
|
|
|
|
G28 X Y
|
|
|
|
G1 X100 Y100 F6000
|
|
|
|
G28 Z0
|
|
|
|
G1 X100 Y100 Z10a
|
2019-05-01 20:48:37 +02:00
|
|
|
|
2019-05-01 20:40:17 +02:00
|
|
|
[gcode_macro G29]
|
|
|
|
gcode:
|
|
|
|
G28
|
|
|
|
G1 Z10 F600
|
|
|
|
BED_MESH_CALIBRATE
|