2018-01-07 18:20:36 +01:00
|
|
|
# This file contains pin mappings for the Anycubic i3 Mega with
|
|
|
|
# Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1
|
|
|
|
# prior to the Ultrabase if you comment out the definition of the
|
|
|
|
# endstop_pin in the stepper_z1 section.) 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-01-07 18:20:36 +01:00
|
|
|
|
|
|
|
[stepper_x]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PF0
|
|
|
|
dir_pin: !PF1
|
|
|
|
enable_pin: !PD7
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^!PE5
|
2018-01-07 18:20:36 +01:00
|
|
|
position_min: -5
|
|
|
|
position_endstop: -5
|
|
|
|
position_max: 210
|
|
|
|
homing_speed: 30.0
|
|
|
|
|
|
|
|
[stepper_y]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PF6
|
|
|
|
dir_pin: PF7
|
|
|
|
enable_pin: !PF2
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^!PL7
|
2018-01-07 18:20:36 +01:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 210
|
|
|
|
homing_speed: 30.0
|
|
|
|
|
|
|
|
[stepper_z]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PL3
|
|
|
|
dir_pin: PL1
|
|
|
|
enable_pin: !PK0
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^!PD3
|
2018-01-07 18:20:36 +01:00
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 205
|
|
|
|
homing_speed: 5.0
|
|
|
|
|
|
|
|
[stepper_z1]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PC1
|
|
|
|
dir_pin: PC3
|
|
|
|
enable_pin: !PC7
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2021-03-19 17:52:21 +01:00
|
|
|
endstop_pin: ^!PL6
|
2018-01-07 18:20:36 +01:00
|
|
|
|
|
|
|
[extruder]
|
2021-03-19 17:52:21 +01:00
|
|
|
step_pin: PA4
|
|
|
|
dir_pin: PA6
|
|
|
|
enable_pin: !PA2
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 34.557
|
2018-01-07 18:20:36 +01:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
2021-03-19 17:52:21 +01:00
|
|
|
heater_pin: PB4
|
2018-01-22 00:47:34 +01:00
|
|
|
sensor_type: ATC Semitec 104GT-2
|
2021-03-19 17:52:21 +01:00
|
|
|
sensor_pin: PK5
|
2018-01-07 18:20:36 +01:00
|
|
|
control: pid
|
2018-01-22 00:47:34 +01:00
|
|
|
pid_Kp: 15.717
|
|
|
|
pid_Ki: 0.569
|
|
|
|
pid_Kd: 108.451
|
2018-01-07 18:20:36 +01:00
|
|
|
min_temp: 0
|
|
|
|
max_temp: 245
|
|
|
|
|
|
|
|
[heater_fan extruder_fan]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PL5
|
2018-01-07 18:20:36 +01:00
|
|
|
|
|
|
|
[heater_bed]
|
2021-03-19 17:52:21 +01:00
|
|
|
heater_pin: PH5
|
2018-01-22 00:47:34 +01:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2021-03-19 17:52:21 +01:00
|
|
|
sensor_pin: PK6
|
2018-01-22 00:47:34 +01:00
|
|
|
control: pid
|
|
|
|
pid_Kp: 74.883
|
|
|
|
pid_Ki: 1.809
|
|
|
|
pid_Kd: 775.038
|
2018-01-07 18:20:36 +01:00
|
|
|
min_temp: 0
|
|
|
|
max_temp: 110
|
|
|
|
|
|
|
|
[fan]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PH6
|
2018-01-07 18:20:36 +01:00
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/ttyUSB0
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 10
|
2018-01-22 00:47:34 +01:00
|
|
|
max_z_accel: 60
|
2018-01-22 17:28:20 +01:00
|
|
|
|
|
|
|
[heater_fan stepstick_fan]
|
2021-03-19 17:52:21 +01:00
|
|
|
pin: PH4
|