mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-21 21:58:05 -06:00
pru: Add documentation and install scripts for running on the PRU
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
b32ba3727b
commit
2d173f51b1
5 changed files with 333 additions and 0 deletions
75
config/generic-cramps.cfg
Normal file
75
config/generic-cramps.cfg
Normal file
|
@ -0,0 +1,75 @@
|
|||
# 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!
|
||||
|
||||
# See the example.cfg file for a description of available parameters.
|
||||
|
||||
[stepper_x]
|
||||
step_pin: P8_13
|
||||
dir_pin: P8_12
|
||||
enable_pin: !P9_14
|
||||
step_distance: .0125
|
||||
endstop_pin: ^P8_8
|
||||
homing_speed: 50
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
[stepper_y]
|
||||
step_pin: P8_15
|
||||
dir_pin: P8_14
|
||||
enable_pin: !P9_14
|
||||
step_distance: .0125
|
||||
endstop_pin: ^P8_10
|
||||
homing_speed: 50
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
[stepper_z]
|
||||
step_pin: P8_19
|
||||
dir_pin: P8_18
|
||||
enable_pin: !P9_14
|
||||
step_distance: 0.00025
|
||||
endstop_pin: ^P9_13
|
||||
homing_speed: 5
|
||||
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
|
||||
sensor_pin: P9_36
|
||||
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
|
||||
sensor_pin: P9_33
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
|
||||
[fan]
|
||||
pin: P9_41
|
||||
|
||||
[mcu]
|
||||
serial: /dev/rpmsg_30
|
||||
pin_map: beaglebone
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
78
config/generic-replicape.cfg
Normal file
78
config/generic-replicape.cfg
Normal file
|
@ -0,0 +1,78 @@
|
|||
# This file contains an example configuration for the Beaglebone PRU
|
||||
# micro-controller.
|
||||
|
||||
# THIS FILE HAS NOT BEEN TESTED - PROCEED WITH CAUTION!
|
||||
|
||||
# See the example.cfg file for a description of available parameters.
|
||||
|
||||
[stepper_x]
|
||||
step_pin: P8_17
|
||||
dir_pin: P8_26
|
||||
enable_pin: !P9_41
|
||||
step_distance: .0125
|
||||
endstop_pin: ^P9_25
|
||||
homing_speed: 50
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
[stepper_y]
|
||||
step_pin: P8_12
|
||||
dir_pin: P8_19
|
||||
enable_pin: !P9_41
|
||||
step_distance: .0125
|
||||
endstop_pin: ^P9_23
|
||||
homing_speed: 50
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
[stepper_z]
|
||||
step_pin: P8_13
|
||||
dir_pin: P8_14
|
||||
enable_pin: !P9_41
|
||||
step_distance: 0.00025
|
||||
endstop_pin: ^P9_13
|
||||
homing_speed: 5
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
# XXX - Extruder heater hooked up to i2c mosfet
|
||||
#[extruder]
|
||||
#step_pin: P9_12
|
||||
#dir_pin: P8_15
|
||||
#enable_pin: !P9_41
|
||||
#step_distance: .002
|
||||
#nozzle_diameter: 0.400
|
||||
#filament_diameter: 1.750
|
||||
#heater_pin: ?
|
||||
#sensor_type: EPCOS 100K B57560G104F
|
||||
#sensor_pin: P9_39
|
||||
#control: pid
|
||||
#pid_Kp: 22.2
|
||||
#pid_Ki: 1.08
|
||||
#pid_Kd: 114
|
||||
#min_temp: 0
|
||||
#max_temp: 250
|
||||
|
||||
# XXX - Bed heater hooked up to i2c mosfet
|
||||
#[heater_bed]
|
||||
#heater_pin: ?
|
||||
#sensor_type: EPCOS 100K B57560G104F
|
||||
#sensor_pin: P9_40
|
||||
#control: watermark
|
||||
#min_temp: 0
|
||||
#max_temp: 130
|
||||
|
||||
# XXX - Fan power hooked up to i2c mosfet
|
||||
#[fan]
|
||||
#pin: ?
|
||||
|
||||
[mcu]
|
||||
serial: /dev/rpmsg_30
|
||||
pin_map: beaglebone
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
Loading…
Add table
Add a link
Reference in a new issue