2018-10-16 18:07:47 +02:00
|
|
|
# This file contains pin mappings for the ADIMLab 3d printer 2018.
|
|
|
|
# To use this config, the firmware should be compiled for the AVR atmega2560.
|
|
|
|
|
2020-11-17 00:47:32 +01:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2018-10-16 18:07:47 +02:00
|
|
|
|
|
|
|
[stepper_x]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PA3
|
|
|
|
dir_pin: !PA1
|
|
|
|
enable_pin: !PA5
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^!PA0
|
2018-10-16 18:07:47 +02:00
|
|
|
position_min: -5
|
|
|
|
position_endstop: -5
|
|
|
|
position_max: 310
|
|
|
|
homing_speed: 30.0
|
|
|
|
|
|
|
|
[stepper_y]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PC5
|
|
|
|
dir_pin: !PC4
|
|
|
|
enable_pin: !PC6
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^!PA4
|
2018-10-16 18:07:47 +02:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 310
|
|
|
|
homing_speed: 30.0
|
|
|
|
|
|
|
|
[stepper_z]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PC2
|
|
|
|
dir_pin: PC1
|
|
|
|
enable_pin: !PC3
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^!PA7
|
2018-10-16 18:07:47 +02:00
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 400
|
|
|
|
homing_speed: 5.0
|
|
|
|
|
|
|
|
[extruder]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PL7
|
|
|
|
dir_pin: PL6
|
|
|
|
enable_pin: !PC0
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 34.557
|
2018-10-16 18:07:47 +02:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
2021-03-19 17:52:21 +01:00
|
|
|
heater_pin: PE4
|
2018-10-16 18:07:47 +02:00
|
|
|
sensor_type: ATC Semitec 104GT-2
|
2021-03-19 17:52:21 +01:00
|
|
|
sensor_pin: PK0
|
2018-10-16 18:07:47 +02:00
|
|
|
control: pid
|
|
|
|
pid_Kp: 15.717
|
|
|
|
pid_Ki: 0.569
|
|
|
|
pid_Kd: 108.451
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 245
|
|
|
|
|
|
|
|
[heater_bed]
|
2021-03-19 17:52:21 +01:00
|
|
|
heater_pin: PG5
|
2018-10-16 18:07:47 +02:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2021-03-19 17:52:21 +01:00
|
|
|
sensor_pin: PK2
|
2018-10-16 18:07:47 +02:00
|
|
|
control: pid
|
|
|
|
pid_Kp: 74.883
|
|
|
|
pid_Ki: 1.809
|
|
|
|
pid_Kd: 775.038
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 110
|
|
|
|
|
2018-10-18 03:31:16 +02:00
|
|
|
[verify_heater heater_bed]
|
|
|
|
# adjust for personal bed setup, this prevents stock heated bed from issuing
|
|
|
|
# false positive heating errors due to slow temperature increase
|
|
|
|
# 1 deg per 2 minutes.
|
|
|
|
heating_gain: 1
|
|
|
|
check_gain_time: 120
|
|
|
|
|
2018-10-16 18:07:47 +02:00
|
|
|
[mcu]
|
|
|
|
serial: /dev/ttyUSB0
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 10
|
|
|
|
max_z_accel: 60
|
|
|
|
|
|
|
|
[output_pin stepper_xy_current]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PL5
|
2018-10-16 18:07:47 +02:00
|
|
|
pwm: True
|
|
|
|
scale: 2.0
|
|
|
|
cycle_time: .000030
|
|
|
|
hardware_pwm: True
|
|
|
|
static_value: 1.3
|
|
|
|
|
|
|
|
[output_pin stepper_z_current]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PL4
|
2018-10-16 18:07:47 +02:00
|
|
|
pwm: True
|
|
|
|
scale: 2.0
|
|
|
|
cycle_time: .000030
|
|
|
|
hardware_pwm: True
|
|
|
|
static_value: 1.3
|
|
|
|
|
|
|
|
[output_pin stepper_e_current]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PL3
|
2018-10-16 18:07:47 +02:00
|
|
|
pwm: True
|
|
|
|
scale: 2.0
|
|
|
|
cycle_time: .000030
|
|
|
|
hardware_pwm: True
|
|
|
|
static_value: 1.25
|
|
|
|
|
|
|
|
[display]
|
|
|
|
lcd_type: st7920
|
2021-03-19 17:52:21 +01:00
|
|
|
cs_pin: PD1
|
|
|
|
sclk_pin: PJ1
|
|
|
|
sid_pin: PJ0
|
|
|
|
encoder_pins: ^PG0, ^PG1
|
|
|
|
click_pin: ^!PD2
|
2018-10-18 03:31:16 +02:00
|
|
|
|
2021-03-19 17:52:21 +01:00
|
|
|
# The filament runout sensor (on pin PA2) is not currently supported
|
2018-10-18 03:31:16 +02:00
|
|
|
# in Klipper.
|
|
|
|
|
|
|
|
[output_pin case_light]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PH4
|
2018-10-18 03:31:16 +02:00
|
|
|
value: 1
|