From 72074078f9603ba240e55ca6a467f32d9a4e227f Mon Sep 17 00:00:00 2001 From: Douglas Hammond Date: Tue, 16 Jan 2018 00:20:56 -0500 Subject: [PATCH] config: Add tronxy x5s config Signed-off-by: Douglas Hammond Signed-off-by: Kevin O'Connor --- config/tronxy-x5s-2017.cfg | 79 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 config/tronxy-x5s-2017.cfg diff --git a/config/tronxy-x5s-2017.cfg b/config/tronxy-x5s-2017.cfg new file mode 100644 index 00000000..19d2b432 --- /dev/null +++ b/config/tronxy-x5s-2017.cfg @@ -0,0 +1,79 @@ +# This file contains pin mappings for the Tronxy X5S (circa 2017). To +# use this config, the firmware should be compiled for the AVR +# atmega1284p. + +# Note, a number of Melzi boards are shipped without a bootloader. In +# that case, an external programmer will be needed to flash a +# bootloader to the board (for example, see +# http://www.instructables.com/id/Flashing-a-Bootloader-to-the-CR-10/ +# ). Once that is done, one should be able to use the standard "make +# flash" command to flash Klipper. + +# See the example.cfg file for a description of available parameters. + +[stepper_x] +step_pin: PD7 +dir_pin: !PC5 +enable_pin: !PD6 +step_distance: .0125 +endstop_pin: ^!PC2 +position_endstop: 0 +position_max: 330 +homing_speed: 50 + +[stepper_y] +step_pin: PC6 +dir_pin: !PC7 +enable_pin: !PD6 +step_distance: .0125 +endstop_pin: ^!PC3 +position_endstop: 0 +position_max: 310 +homing_speed: 50 + +[stepper_z] +step_pin: PB3 +dir_pin: PB2 +enable_pin: !PD6 +step_distance: 0.0025 +endstop_pin: ^!PC4 +position_endstop: 0.5 +position_max: 400 + +[extruder] +step_pin: PB1 +dir_pin: PB0 +enable_pin: !PD6 +step_distance: .0111 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PD5 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PA7 +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 +min_temp: 0 +max_temp: 275 + +[heater_bed] +heater_pin: PD4 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PA6 +control: watermark +min_temp: 0 +max_temp: 150 + +[fan] +pin: PB4 + +[mcu] +serial: /dev/ttyUSB0 + +[printer] +kinematics: corexy +max_velocity: 300 +max_accel: 1000 +max_z_velocity: 20 +max_z_accel: 100