2017-07-05 20:21:02 +03:00
|
|
|
# This file contains an example configuration for a Beaglebone PRU
|
|
|
|
# micro-controller attached to a CRAMPS board.
|
|
|
|
|
|
|
|
# THIS FILE HAS NOT BEEN TESTED - PROCEED WITH CAUTION!
|
|
|
|
|
2017-10-25 18:01:36 +03:00
|
|
|
# NOTE: Klipper does not alter the input/output state of the
|
|
|
|
# Beaglebone pins and it does not control their pull-up resistors. In
|
|
|
|
# order to set the pin state one must use a "device tree overlay" or
|
|
|
|
# use the config-pin program.
|
|
|
|
|
2020-11-17 02:47:32 +03:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2017-07-05 20:21:02 +03:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: P8_13
|
|
|
|
dir_pin: P8_12
|
|
|
|
enable_pin: !P9_14
|
|
|
|
step_distance: .0125
|
|
|
|
endstop_pin: ^P8_8
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
2017-07-24 21:12:17 +03:00
|
|
|
homing_speed: 50
|
2017-07-05 20:21:02 +03:00
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: P8_15
|
|
|
|
dir_pin: P8_14
|
|
|
|
enable_pin: !P9_14
|
|
|
|
step_distance: .0125
|
|
|
|
endstop_pin: ^P8_10
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
2017-07-24 21:12:17 +03:00
|
|
|
homing_speed: 50
|
2017-07-05 20:21:02 +03:00
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: P8_19
|
|
|
|
dir_pin: P8_18
|
|
|
|
enable_pin: !P9_14
|
2018-02-26 00:00:55 +03:00
|
|
|
step_distance: .0025
|
2017-07-05 20:21:02 +03:00
|
|
|
endstop_pin: ^P9_13
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
|
|
|
|
[extruder]
|
|
|
|
step_pin: P9_16
|
|
|
|
dir_pin: P9_12
|
|
|
|
enable_pin: !P9_14
|
|
|
|
step_distance: .002
|
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
heater_pin: P9_15
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2018-03-17 21:18:49 +03:00
|
|
|
pullup_resistor: 2000
|
2018-06-27 19:04:26 +03:00
|
|
|
sensor_pin: host:analog5
|
2017-07-05 20:21:02 +03:00
|
|
|
control: pid
|
|
|
|
pid_Kp: 22.2
|
|
|
|
pid_Ki: 1.08
|
|
|
|
pid_Kd: 114
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
|
|
|
|
|
|
|
[heater_bed]
|
|
|
|
heater_pin: P8_11
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2018-03-17 21:18:49 +03:00
|
|
|
pullup_resistor: 2000
|
2018-06-27 19:04:26 +03:00
|
|
|
sensor_pin: host:analog4
|
2017-07-05 20:21:02 +03:00
|
|
|
control: watermark
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: P9_41
|
|
|
|
|
|
|
|
[mcu]
|
2017-07-06 19:04:26 +03:00
|
|
|
serial: /dev/rpmsg_pru30
|
2017-07-05 20:21:02 +03:00
|
|
|
pin_map: beaglebone
|
|
|
|
|
2018-06-27 19:04:26 +03:00
|
|
|
[mcu host]
|
|
|
|
serial: /tmp/klipper_host_mcu
|
|
|
|
|
2017-07-05 20:21:02 +03:00
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 5
|
|
|
|
max_z_accel: 100
|
2018-03-18 17:33:40 +03:00
|
|
|
|
|
|
|
[output_pin machine_enable]
|
|
|
|
pin: P9_23
|
|
|
|
value: 1
|
|
|
|
shutdown_value: 0
|