From c3b973319f1c76407d25efd8e75e4e0504bffc23 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 11 May 2020 12:33:43 -0400 Subject: [PATCH] config: Add printer-anet-e16-2019.cfg example config file Reported by @dstack. Signed-off-by: Kevin O'Connor --- config/printer-anet-e16-2019.cfg | 90 ++++++++++++++++++++++++++++++++ test/klippy/printers.test | 1 + 2 files changed, 91 insertions(+) create mode 100644 config/printer-anet-e16-2019.cfg diff --git a/config/printer-anet-e16-2019.cfg b/config/printer-anet-e16-2019.cfg new file mode 100644 index 00000000..2d6981ff --- /dev/null +++ b/config/printer-anet-e16-2019.cfg @@ -0,0 +1,90 @@ +# This file contains common pin mappings for Anet E16 printer from +# 2019. To use this config, the firmware should be compiled for the +# AVR atmega1284p. + +# Note that the "make flash" command does not work with Anet boards - +# the boards are typically flashed with this command: +# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex + +# 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: -3 +position_max: 300 +position_min: -3 +homing_speed: 50 + +[stepper_y] +step_pin: PC6 +dir_pin: !PC7 +enable_pin: !PD6 +step_distance: .0125 +endstop_pin: ^!PC3 +position_endstop: -22 +position_min: -22 +position_max: 300 +homing_speed: 50 + +[stepper_z] +step_pin: PB3 +dir_pin: !PB2 +enable_pin: !PA5 +step_distance: .0025 +endstop_pin: ^!PC4 +position_endstop: 0.5 +position_max: 400 +homing_speed: 20 + +[extruder] +step_pin: PB1 +dir_pin: !PB0 +enable_pin: !PD6 +step_distance: 0.01 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PD5 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: PA7 +control: pid +pid_Kp: 27.0 +pid_Ki: 1.3 +pid_Kd: 136.09 +min_temp: 10 +max_temp: 250 + +[heater_bed] +heater_pin: PD4 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: PA6 +control: pid +pid_Kp: 72.8 +pid_Ki: 1.2 +pid_Kd: 1100 +min_temp: 10 +max_temp: 130 + +[fan] +pin: PB4 + +[mcu] +serial: /dev/ttyUSB0 + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 1000 +max_z_velocity: 20 +max_z_accel: 1000 + +[display] +lcd_type: st7920 +cs_pin: PA4 +sclk_pin: PA1 +sid_pin:PA3 +encoder_pins: ^PD2, ^PD3 +click_pin: ^!PC0 diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 08e26320..51ec5126 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -55,6 +55,7 @@ CONFIG ../../config/generic-melzi.cfg CONFIG ../../config/printer-anet-a4-2018.cfg CONFIG ../../config/printer-anet-a8-2017.cfg CONFIG ../../config/printer-anet-e10-2018.cfg +CONFIG ../../config/printer-anet-e16-2019.cfg CONFIG ../../config/printer-creality-cr10-2017.cfg CONFIG ../../config/printer-creality-cr10mini-2017.cfg CONFIG ../../config/printer-creality-ender2-2017.cfg