2016-05-25 18:37:40 +03:00
|
|
|
# Support for Makergear M2 printers circa 2012 that have the RAMBo
|
2016-07-17 02:58:41 +03:00
|
|
|
# v1.0d electronics along with the V3A extruder. The electronics use
|
|
|
|
# Allegro A4984 stepper drivers with 1/8th micro-stepping. To use
|
|
|
|
# this config, the firmware should be compiled for the AVR atmega2560.
|
2016-05-25 18:37:40 +03:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PC0
|
2016-11-08 18:39:32 +03:00
|
|
|
dir_pin: !PL1
|
2016-05-25 18:37:40 +03:00
|
|
|
enable_pin: !PA7
|
|
|
|
step_distance: .0225
|
2016-11-08 17:29:38 +03:00
|
|
|
endstop_pin: ^!PB6
|
2016-05-25 18:37:40 +03:00
|
|
|
homing_speed: 50.0
|
2016-07-27 05:06:14 +03:00
|
|
|
homing_stepper_phases: 32
|
|
|
|
homing_endstop_accuracy: .200
|
2016-05-25 18:37:40 +03:00
|
|
|
position_min: -0.25
|
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 200
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PC1
|
2016-11-08 18:39:32 +03:00
|
|
|
dir_pin: PL0
|
2016-05-25 18:37:40 +03:00
|
|
|
enable_pin: !PA6
|
|
|
|
step_distance: .0225
|
2016-11-08 17:29:38 +03:00
|
|
|
endstop_pin: ^!PB5
|
2016-05-25 18:37:40 +03:00
|
|
|
homing_speed: 50.0
|
2016-07-27 05:06:14 +03:00
|
|
|
homing_stepper_phases: 32
|
|
|
|
homing_endstop_accuracy: .200
|
2016-05-25 18:37:40 +03:00
|
|
|
position_min: -0.25
|
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 250
|
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: PC2
|
2016-11-08 18:39:32 +03:00
|
|
|
dir_pin: !PL2
|
2016-05-25 18:37:40 +03:00
|
|
|
enable_pin: !PA5
|
|
|
|
step_distance: .005
|
2016-11-08 17:29:38 +03:00
|
|
|
endstop_pin: ^!PB4
|
2016-05-25 18:37:40 +03:00
|
|
|
homing_speed: 4.0
|
|
|
|
homing_retract_dist: 2.0
|
2016-07-27 05:06:14 +03:00
|
|
|
homing_stepper_phases: 32
|
|
|
|
homing_endstop_accuracy: .050
|
2016-05-25 18:37:40 +03:00
|
|
|
position_min: 0.1
|
|
|
|
position_endstop: 0.7
|
|
|
|
position_max: 200
|
|
|
|
|
2016-07-10 19:23:35 +03:00
|
|
|
[extruder]
|
2016-05-25 18:37:40 +03:00
|
|
|
step_pin: PC3
|
2016-11-08 18:39:32 +03:00
|
|
|
dir_pin: PL6
|
2016-05-25 18:37:40 +03:00
|
|
|
enable_pin: !PA4
|
|
|
|
step_distance: .004242
|
2017-01-03 02:21:39 +03:00
|
|
|
nozzle_diameter: 0.350
|
|
|
|
filament_diameter: 1.750
|
2016-07-17 02:58:41 +03:00
|
|
|
pressure_advance: 0.07
|
2016-05-25 18:37:40 +03:00
|
|
|
heater_pin: PH6
|
|
|
|
thermistor_pin: PF0
|
|
|
|
thermistor_type: EPCOS 100K B57560G104F
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 7.0
|
|
|
|
pid_Ki: 0.1
|
|
|
|
pid_Kd: 12
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 210
|
|
|
|
|
|
|
|
[heater_bed]
|
|
|
|
heater_pin: PE5
|
|
|
|
thermistor_pin: PF2
|
|
|
|
thermistor_type: EPCOS 100K B57560G104F
|
|
|
|
control: watermark
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 100
|
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: PH5
|
|
|
|
hard_pwm: 1
|
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/ttyACM0
|
|
|
|
custom:
|
|
|
|
# Nozzle fan
|
|
|
|
set_pwm_out pin=PH3 cycle_ticks=1 value=155
|
|
|
|
# Turn off yellow led
|
|
|
|
set_digital_out pin=PB7 value=0
|
|
|
|
# Stepper micro-step pins
|
|
|
|
set_digital_out pin=PG1 value=1
|
|
|
|
set_digital_out pin=PG0 value=1
|
|
|
|
set_digital_out pin=PK7 value=1
|
|
|
|
set_digital_out pin=PG2 value=1
|
|
|
|
set_digital_out pin=PK6 value=1
|
|
|
|
set_digital_out pin=PK5 value=1
|
|
|
|
set_digital_out pin=PK3 value=1
|
|
|
|
set_digital_out pin=PK4 value=1
|
|
|
|
# Initialize digipot
|
|
|
|
send_spi_message pin=PD7 msg=0487 # X = ~0.75A
|
|
|
|
send_spi_message pin=PD7 msg=0587 # Y = ~0.75A
|
|
|
|
send_spi_message pin=PD7 msg=0387 # Z = ~0.75A
|
|
|
|
send_spi_message pin=PD7 msg=00A5 # E0
|
|
|
|
send_spi_message pin=PD7 msg=017D # E1
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
2016-12-01 23:29:26 +03:00
|
|
|
max_velocity: 500
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 250
|
|
|
|
max_z_accel: 30
|
2016-05-25 18:37:40 +03:00
|
|
|
motor_off_time: 600
|