2019-05-01 21:48:37 +03:00
|
|
|
# ZAV3D MAX config. To use this config, the firmware should be
|
|
|
|
# compiled for the AVR atmega2560.
|
2019-05-01 21:40:17 +03:00
|
|
|
|
2019-05-01 21:48:37 +03: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 21:40:17 +03:00
|
|
|
# Created by "Nurmukhamed Artykaly"
|
|
|
|
|
|
|
|
# This file is only an example - be sure to review and update it
|
|
|
|
# according to the specifics of your printer. See the example.cfg and
|
|
|
|
# example-extras.cfg files for a description of available Klipper parameters.
|
|
|
|
|
|
|
|
# AND PLEASE READ THROUGH THE KLIPPER DOCUMENTATION FIRST!
|
2019-05-01 21:48:37 +03:00
|
|
|
# https://www.klipper3d.org/Overview.html
|
2019-05-01 21:40:17 +03: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]
|
|
|
|
step_pin: ar54
|
|
|
|
dir_pin: ar55
|
|
|
|
enable_pin: !ar38
|
|
|
|
step_distance: .01
|
|
|
|
endstop_pin: ^ar3
|
|
|
|
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]
|
|
|
|
step_pin: ar60
|
|
|
|
dir_pin: ar61
|
|
|
|
enable_pin: !ar56
|
|
|
|
step_distance: .01
|
|
|
|
endstop_pin: ^ar14
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
## Configuration with Z Endstop, without Probe tool like BLTOUCH or others.
|
|
|
|
#[stepper_z]
|
|
|
|
#step_pin: ar46
|
|
|
|
#dir_pin: ar48
|
|
|
|
#enable_pin: !ar62
|
|
|
|
#step_distance: .0025
|
|
|
|
## I used Z_MAX_ENDSTOP
|
|
|
|
#endstop_pin: ^ar19
|
|
|
|
## 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 21:48:37 +03:00
|
|
|
## Read more about BLTOUCH here https://www.klipper3d.org/BLTouch.html
|
2019-05-01 21:40:17 +03:00
|
|
|
[stepper_z]
|
|
|
|
step_pin: ar46
|
|
|
|
dir_pin: ar48
|
|
|
|
enable_pin: !ar62
|
|
|
|
step_distance: .0025
|
|
|
|
position_min: -3
|
|
|
|
position_max: 230
|
|
|
|
endstop_pin: probe:z_virtual_endstop
|
|
|
|
|
|
|
|
## Configuration with PID Calibration.
|
2019-05-01 21:48:37 +03:00
|
|
|
## Read more here https://www.klipper3d.org/Config_checks.html
|
2019-05-01 21:40:17 +03:00
|
|
|
[extruder]
|
|
|
|
step_pin: ar26
|
|
|
|
dir_pin: !ar28
|
|
|
|
enable_pin: !ar24
|
|
|
|
step_distance: .004242
|
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
heater_pin: ar10
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: analog13
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
2019-05-01 21:48:37 +03:00
|
|
|
control: pid
|
|
|
|
pid_kp: 26.596
|
|
|
|
pid_ki: 1.166
|
|
|
|
pid_kd: 151.598
|
2019-05-01 21:40:17 +03:00
|
|
|
|
|
|
|
## Configuration with PID Calibration.
|
2019-05-01 21:48:37 +03:00
|
|
|
## Read more here https://www.klipper3d.org/Config_checks.html
|
2019-05-01 21:40:17 +03:00
|
|
|
[heater_bed]
|
|
|
|
heater_pin: ar8
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: analog14
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
2019-05-01 21:48:37 +03:00
|
|
|
control: pid
|
|
|
|
pid_kp: 73.517
|
|
|
|
pid_ki: 1.822
|
|
|
|
pid_kd: 741.600
|
2019-05-01 21:40:17 +03:00
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: ar9
|
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/ttyACM0
|
|
|
|
pin_map: arduino
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: corexy
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 25
|
|
|
|
max_z_accel: 30
|
|
|
|
|
|
|
|
[bltouch]
|
|
|
|
sensor_pin: ^ar18
|
|
|
|
control_pin: ar7
|
|
|
|
x_offset: 39
|
|
|
|
y_offset: 11
|
|
|
|
z_offset: 0.9
|
|
|
|
pin_up_touch_mode_reports_triggered: false
|
|
|
|
|
|
|
|
[bed_mesh]
|
|
|
|
speed: 100
|
|
|
|
horizontal_move_z: 5
|
|
|
|
samples: 2
|
|
|
|
sample_retract_dist: 3.0
|
|
|
|
min_point: 30,30
|
|
|
|
max_point: 150,150
|
|
|
|
probe_count: 3,3
|
|
|
|
|
|
|
|
[homing_override]
|
2019-05-01 21:48:37 +03:00
|
|
|
set_position_z: 6
|
2019-05-01 21:40:17 +03:00
|
|
|
axes: z
|
|
|
|
gcode:
|
|
|
|
G90
|
|
|
|
G1 Z10 F6000
|
|
|
|
G28 X Y
|
|
|
|
G1 X100 Y100 F6000
|
|
|
|
G28 Z0
|
|
|
|
G1 X100 Y100 Z10a
|
2019-05-01 21:48:37 +03:00
|
|
|
|
2019-05-01 21:40:17 +03:00
|
|
|
[gcode_macro G29]
|
|
|
|
gcode:
|
|
|
|
G28
|
|
|
|
G1 Z10 F600
|
|
|
|
BED_MESH_CALIBRATE
|