mirror of https://github.com/Desuuuu/klipper.git
121 lines
2.1 KiB
INI
121 lines
2.1 KiB
INI
# This file contains pin mappings for the ADIMLab 3d printer 2018.
|
|
# To use this config, the firmware should be compiled for the AVR atmega2560.
|
|
|
|
# See the example.cfg file for a description of available parameters.
|
|
|
|
[stepper_x]
|
|
step_pin: ar25
|
|
dir_pin: !ar23
|
|
enable_pin: !ar27
|
|
step_distance: .0125
|
|
endstop_pin: ^!ar22
|
|
position_min: -5
|
|
position_endstop: -5
|
|
position_max: 310
|
|
homing_speed: 30.0
|
|
|
|
[stepper_y]
|
|
step_pin: ar32
|
|
dir_pin: !ar33
|
|
enable_pin: !ar31
|
|
step_distance: .0125
|
|
endstop_pin: ^!ar26
|
|
position_endstop: 0
|
|
position_max: 310
|
|
homing_speed: 30.0
|
|
|
|
[stepper_z]
|
|
step_pin: ar35
|
|
dir_pin: ar36
|
|
enable_pin: !ar34
|
|
step_distance: .0025
|
|
endstop_pin: ^!ar29
|
|
position_endstop: 0.0
|
|
position_max: 400
|
|
homing_speed: 5.0
|
|
|
|
[extruder]
|
|
step_pin: ar42
|
|
dir_pin: ar43
|
|
enable_pin: !ar37
|
|
step_distance: .010799
|
|
nozzle_diameter: 0.400
|
|
filament_diameter: 1.750
|
|
heater_pin: ar2
|
|
sensor_type: ATC Semitec 104GT-2
|
|
sensor_pin: analog8
|
|
control: pid
|
|
pid_Kp: 15.717
|
|
pid_Ki: 0.569
|
|
pid_Kd: 108.451
|
|
min_temp: 0
|
|
max_temp: 245
|
|
|
|
[heater_bed]
|
|
heater_pin: ar4
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
sensor_pin: analog10
|
|
control: pid
|
|
pid_Kp: 74.883
|
|
pid_Ki: 1.809
|
|
pid_Kd: 775.038
|
|
min_temp: 0
|
|
max_temp: 110
|
|
|
|
[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
|
|
|
|
[mcu]
|
|
serial: /dev/ttyUSB0
|
|
pin_map: arduino
|
|
|
|
[printer]
|
|
kinematics: cartesian
|
|
max_velocity: 300
|
|
max_accel: 3000
|
|
max_z_velocity: 10
|
|
max_z_accel: 60
|
|
|
|
[output_pin stepper_xy_current]
|
|
pin: ar44
|
|
pwm: True
|
|
scale: 2.0
|
|
cycle_time: .000030
|
|
hardware_pwm: True
|
|
static_value: 1.3
|
|
|
|
[output_pin stepper_z_current]
|
|
pin: ar45
|
|
pwm: True
|
|
scale: 2.0
|
|
cycle_time: .000030
|
|
hardware_pwm: True
|
|
static_value: 1.3
|
|
|
|
[output_pin stepper_e_current]
|
|
pin: ar46
|
|
pwm: True
|
|
scale: 2.0
|
|
cycle_time: .000030
|
|
hardware_pwm: True
|
|
static_value: 1.25
|
|
|
|
[display]
|
|
lcd_type: st7920
|
|
cs_pin: ar20
|
|
sclk_pin: ar14
|
|
sid_pin: ar15
|
|
encoder_pins: ^ar41, ^ar40
|
|
click_pin: ^!ar19
|
|
|
|
# The filament runout sensor (on pin ar24) is not currently supported
|
|
# in Klipper.
|
|
|
|
[output_pin case_light]
|
|
pin: ar7
|
|
value: 1
|