2017-07-05 19:21:02 +02: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 17:01:36 +02: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 00:47:32 +01:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2017-07-05 19:21:02 +02:00
|
|
|
|
|
|
|
[stepper_x]
|
2021-03-19 17:28:35 +01:00
|
|
|
step_pin: gpio0_23
|
|
|
|
dir_pin: gpio1_12
|
|
|
|
enable_pin: !gpio1_18
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2021-03-19 17:28:35 +01:00
|
|
|
endstop_pin: ^gpio2_3
|
2017-07-05 19:21:02 +02:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
2017-07-24 20:12:17 +02:00
|
|
|
homing_speed: 50
|
2017-07-05 19:21:02 +02:00
|
|
|
|
|
|
|
[stepper_y]
|
2021-03-19 17:28:35 +01:00
|
|
|
step_pin: gpio1_15
|
|
|
|
dir_pin: gpio0_26
|
|
|
|
enable_pin: !gpio1_18
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2021-03-19 17:28:35 +01:00
|
|
|
endstop_pin: ^gpio2_4
|
2017-07-05 19:21:02 +02:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
2017-07-24 20:12:17 +02:00
|
|
|
homing_speed: 50
|
2017-07-05 19:21:02 +02:00
|
|
|
|
|
|
|
[stepper_z]
|
2021-03-19 17:28:35 +01:00
|
|
|
step_pin: gpio0_22
|
|
|
|
dir_pin: gpio2_1
|
|
|
|
enable_pin: !gpio1_18
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2021-03-19 17:28:35 +01:00
|
|
|
endstop_pin: ^gpio0_31
|
2017-07-05 19:21:02 +02:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
|
|
|
|
[extruder]
|
2021-03-19 17:28:35 +01:00
|
|
|
step_pin: gpio1_19
|
|
|
|
dir_pin: gpio1_28
|
|
|
|
enable_pin: !gpio1_18
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 33.500
|
2017-07-05 19:21:02 +02:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
2021-03-19 17:28:35 +01:00
|
|
|
heater_pin: gpio1_16
|
2017-07-05 19:21:02 +02:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2018-03-17 19:18:49 +01:00
|
|
|
pullup_resistor: 2000
|
2018-06-27 18:04:26 +02:00
|
|
|
sensor_pin: host:analog5
|
2017-07-05 19:21:02 +02:00
|
|
|
control: pid
|
|
|
|
pid_Kp: 22.2
|
|
|
|
pid_Ki: 1.08
|
|
|
|
pid_Kd: 114
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
|
|
|
|
|
|
|
[heater_bed]
|
2021-03-19 17:28:35 +01:00
|
|
|
heater_pin: gpio1_13
|
2017-07-05 19:21:02 +02:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2018-03-17 19:18:49 +01:00
|
|
|
pullup_resistor: 2000
|
2018-06-27 18:04:26 +02:00
|
|
|
sensor_pin: host:analog4
|
2017-07-05 19:21:02 +02:00
|
|
|
control: watermark
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
|
|
|
|
|
|
|
[fan]
|
2021-03-19 17:28:35 +01:00
|
|
|
pin: gpio0_20
|
2017-07-05 19:21:02 +02:00
|
|
|
|
|
|
|
[mcu]
|
2017-07-06 18:04:26 +02:00
|
|
|
serial: /dev/rpmsg_pru30
|
2017-07-05 19:21:02 +02:00
|
|
|
|
2018-06-27 18:04:26 +02:00
|
|
|
[mcu host]
|
|
|
|
serial: /tmp/klipper_host_mcu
|
|
|
|
|
2017-07-05 19:21:02 +02:00
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 5
|
|
|
|
max_z_accel: 100
|
2018-03-18 15:33:40 +01:00
|
|
|
|
|
|
|
[output_pin machine_enable]
|
2021-03-19 17:28:35 +01:00
|
|
|
pin: gpio1_17
|
2018-03-18 15:33:40 +01:00
|
|
|
value: 1
|
|
|
|
shutdown_value: 0
|