From 493d74acda26e533ca2685a6502db7adf880b23b Mon Sep 17 00:00:00 2001
From: Nurmukhamed Artykaly <nurmukh@nbc.kz>
Date: Thu, 2 May 2019 00:40:17 +0600
Subject: [PATCH] config: Zav3d example config (#1571)

Zav3d - a popular russian corexy plywood printer.

Official web site is https://www.zav3d.ru/

Social network community is https://vk.com/zav3d

Signed-off-by: Nurmukhamed Artykaly <nurmukhamed.artykaly@hdfilm.kz>
---
 config/kit-zav3d-2019.cfg | 174 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 174 insertions(+)
 create mode 100644 config/kit-zav3d-2019.cfg

diff --git a/config/kit-zav3d-2019.cfg b/config/kit-zav3d-2019.cfg
new file mode 100644
index 000000000..a6e60c054
--- /dev/null
+++ b/config/kit-zav3d-2019.cfg
@@ -0,0 +1,174 @@
+# ZAV3D MAX config
+
+# 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.
+# 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!
+# https://github.com/KevinOConnor/klipper/tree/master/docs
+
+# *** 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.
+## Read more about BLTOUCH here https://github.com/KevinOConnor/klipper/blob/master/docs/BLTouch.md
+[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.
+## Read more here https://github.com/KevinOConnor/klipper/blob/master/docs/Config_checks.md
+[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
+
+## Configuration with PID Calibration.
+## Read more here https://github.com/KevinOConnor/klipper/blob/master/docs/Config_checks.md
+[heater_bed]
+heater_pin: ar8
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: analog14
+min_temp: 0
+max_temp: 130
+
+[fan]
+pin: ar9
+
+[mcu]
+serial: /dev/ttyACM0
+pin_map: arduino
+
+[printer]
+kinematics: corexy
+#   This option must be "corexy" for corexy printers.
+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]
+set_position_z:6
+axes: z
+gcode:
+        G90
+        G1 Z10 F6000
+        G28 X Y
+        G1 X100 Y100 F6000
+        G28 Z0
+        G1 X100 Y100 Z10a
+[gcode_macro G29]
+gcode:
+        G28
+        G1 Z10 F600
+        BED_MESH_CALIBRATE
+
+#*# <---------------------- SAVE_CONFIG ---------------------->
+#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
+#*#
+#*# [bed_mesh default]
+#*# points =
+#*#       0.522500, 0.010000, -0.533750
+#*#       0.662500, 0.115000, -0.406250
+#*#       0.645000, -2.923750, -0.357500
+#*# x_count = 3
+#*# y_count = 3
+#*# min_x = 30.0
+#*# max_x = 150.0
+#*# min_y = 30.0
+#*# max_y = 150.0
+#*# x_offset = 39.0
+#*# y_offset = 11.0
+#*# mesh_x_pps = 2
+#*# mesh_y_pps = 2
+#*# algo = lagrange
+#*# tension = 0.2
+#*#
+#*# [extruder]
+#*# control = pid
+#*# pid_kp = 26.596
+#*# pid_ki = 1.166
+#*# pid_kd = 151.598
+#*#
+#*# [heater_bed]
+#*# control = pid
+#*# pid_kp = 73.517
+#*# pid_ki = 1.822
+#*# pid_kd = 741.600