config: Add printer-anet-a4-2018.cfg config file

Reported by @Alkarasu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-12-15 22:11:34 -05:00
parent 1d05a34cd7
commit ab5540bd34
2 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,94 @@
# This file contains common pin mappings for Anet A4 printer from
# 2018. 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_a]
step_pin: PD7
dir_pin: !PC5
enable_pin: !PD6
step_distance: .01
endstop_pin: ^!PC2
position_endstop: 215
arm_length: 215
homing_speed: 50
[stepper_b]
step_pin: PC6
dir_pin: !PC7
enable_pin: !PD6
step_distance: .01
endstop_pin: ^!PC3
[stepper_c]
step_pin: PB3
dir_pin: !PB2
enable_pin: !PA5
step_distance: .01
endstop_pin: ^!PC4
homing_speed: 20
[extruder]
step_pin: PB1
dir_pin: PB0
enable_pin: !PD6
step_distance: .01045
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PD5
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA7
control: pid
pid_Kp: 30.48
pid_Ki: 2.71
pid_Kd: 85.52
min_temp: 0
max_temp: 250
[heater_bed]
heater_pin: PD4
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA6
control: watermark
min_temp: 0
max_temp: 130
[fan]
pin: PB4
[mcu]
serial: /dev/ttyUSB0
[printer]
kinematics: delta
max_velocity: 300
max_accel: 1000
max_z_velocity: 20
delta_radius: 113
[delta_calibrate]
radius: 70
[display]
lcd_type: hd44780
rs_pin: PA3
e_pin: PA2
d4_pin: PD2
d5_pin: PD3
d6_pin: PC0
d7_pin: PC1
up_pin: PA1
analog_range_up_pin: 9000, 13000
down_pin: PA1
analog_range_down_pin: 800, 1300
click_pin: PA1
analog_range_click_pin: 2000, 2500
back_pin: PA1
analog_range_back_pin: 4500, 5000
#kill_pin: PA1
#analog_range_kill_pin: 400, 600

View File

@ -46,6 +46,7 @@ CONFIG ../../config/generic-minitronics1.cfg
# Printers using the atmega1284p
DICTIONARY atmega1284p.dict
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-creality-cr10-2017.cfg