2017-08-26 06:31:58 +03:00
|
|
|
# This file contains an example configuration for the Replicape rev B3
|
|
|
|
# board. To use this config, one must compile and install the
|
|
|
|
# micro-controller code for the "Beaglebone PRU", and then compile and
|
|
|
|
# install the micro-controller code a second time for a "Linux
|
|
|
|
# process".
|
2017-07-05 20:21:02 +03:00
|
|
|
|
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.
|
|
|
|
# Typically the correct settings are automatically applied when the
|
|
|
|
# Beaglebone detects the Replicape board, but if changes are needed
|
|
|
|
# they must be specified in a "device tree overlay" or via 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
|
|
|
|
2018-01-20 08:18:28 +03:00
|
|
|
[mcu]
|
|
|
|
serial: /dev/rpmsg_pru30
|
|
|
|
pin_map: beaglebone
|
|
|
|
|
|
|
|
[mcu host]
|
|
|
|
serial: /tmp/klipper_host_mcu
|
|
|
|
|
|
|
|
[replicape]
|
|
|
|
revision: B3
|
|
|
|
host_mcu: host
|
|
|
|
stepper_x_microstep_mode: spread16
|
|
|
|
stepper_x_current: 0.5
|
|
|
|
stepper_y_microstep_mode: spread16
|
|
|
|
stepper_y_current: 0.5
|
|
|
|
stepper_z_microstep_mode: spread16
|
|
|
|
stepper_z_current: 0.5
|
|
|
|
stepper_e_microstep_mode: 16
|
|
|
|
stepper_e_current: 0.5
|
|
|
|
|
2017-07-05 20:21:02 +03:00
|
|
|
[stepper_x]
|
|
|
|
step_pin: P8_17
|
|
|
|
dir_pin: P8_26
|
2017-08-26 06:31:58 +03:00
|
|
|
enable_pin: replicape:stepper_x_enable
|
2017-07-05 20:21:02 +03:00
|
|
|
step_distance: .0125
|
|
|
|
endstop_pin: ^P9_25
|
|
|
|
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_12
|
|
|
|
dir_pin: P8_19
|
2017-08-26 06:31:58 +03:00
|
|
|
enable_pin: replicape:stepper_y_enable
|
2017-07-05 20:21:02 +03:00
|
|
|
step_distance: .0125
|
|
|
|
endstop_pin: ^P9_23
|
|
|
|
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_13
|
|
|
|
dir_pin: P8_14
|
2017-08-26 06:31:58 +03:00
|
|
|
enable_pin: replicape:stepper_z_enable
|
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
|
|
|
|
|
2018-01-20 08:18:28 +03:00
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 25
|
|
|
|
max_z_accel: 30
|
|
|
|
|
2017-08-26 06:31:58 +03:00
|
|
|
[extruder]
|
|
|
|
step_pin: P9_12
|
|
|
|
dir_pin: P8_15
|
|
|
|
enable_pin: replicape:stepper_e_enable
|
|
|
|
step_distance: .002
|
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
heater_pin: replicape:power_e
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: host:analog4
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 22.2
|
|
|
|
pid_Ki: 1.08
|
|
|
|
pid_Kd: 114
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
2017-07-05 20:21:02 +03:00
|
|
|
|
2017-08-26 06:31:58 +03:00
|
|
|
[heater_bed]
|
|
|
|
heater_pin: replicape:power_hotbed
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: host:analog6
|
|
|
|
control: watermark
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
2017-07-05 20:21:02 +03:00
|
|
|
|
2017-08-26 06:31:58 +03:00
|
|
|
[fan]
|
|
|
|
pin: replicape:power_fan0
|
2019-04-06 20:51:51 +03:00
|
|
|
|
|
|
|
# The alternative servo pins channels on the endstops x2 and y2 can be used
|
|
|
|
# via the special relicape pins servo0 (P9_14) and servo1 (P9_16).
|
|
|
|
#[servo servo_x2]
|
|
|
|
#pin: replicape:servo0
|
|
|
|
# PWM output pin controlling the servo. This parameter must be
|
|
|
|
# provided.
|
|
|
|
#...
|
2020-09-01 18:00:48 +03:00
|
|
|
|
|
|
|
# Providing an example of a switch filament sensor using the Linux MCU for replicape, instead of the PRU which does not have enough memory:
|
|
|
|
#[filament_switch_sensor switch_sensor]
|
|
|
|
#switch_pin: HOST_X2_STOP
|
|
|
|
|
2020-10-12 02:23:46 +03:00
|
|
|
# providing board pin aliases for PRU firmware
|
2020-09-01 18:00:48 +03:00
|
|
|
[board_pins]
|
|
|
|
aliases:
|
|
|
|
# step/dir pins
|
|
|
|
X_DIR=P8_26, X_STEP=P8_17, Y_DIR=P8_19, Y_STEP=P8_12, Z_DIR=P8_14, Z_STEP=P8_13,
|
|
|
|
E_DIR=P8_15, E_STEP=P9_12, H_DIR=P8_16, H_STEP=P8_11,
|
|
|
|
# stepper fault pins
|
|
|
|
FAULT_X=P8_10, FAULT_Y=P8_9, FAULT_Z=P9_24, FAULT_E=P8_18, FAULT_H=P8_8,
|
|
|
|
# endstops
|
|
|
|
STOP_X1=P9_25, STOP_X2=P9_11, STOP_Y1=P9_23, STOP_Y2=P9_28, STOP_Z1=P9_13, STOP_Z2=P9_18,
|
|
|
|
# enable steppers (all on one pin)
|
|
|
|
STEPPER_ENABLE=P9_41,
|
|
|
|
# servos
|
|
|
|
SERVO_0=P9_14, SERVO_1=P9_16,
|
|
|
|
|
|
|
|
[board_pins host]
|
2020-11-20 19:36:36 +03:00
|
|
|
mcu: host
|
|
|
|
aliases_foo:
|
2020-09-01 18:00:48 +03:00
|
|
|
# Host aliases for Linux MCU
|
|
|
|
HOST_X2_STOP=gpio30, HOST_Y2_STOP=gpio113, HOST_Z2_STOP=gpio4
|
2020-10-12 02:23:46 +03:00
|
|
|
# Thermistors
|
|
|
|
THERM_E=analog4, THERM_H=analog5, THERM_BED=analog6
|
|
|
|
# D1W pin
|
|
|
|
DALLAS=gpio2
|