From 2d173f51b1531ffbde3723655bae0adb9bca5ecb Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 5 Jul 2017 13:21:02 -0400 Subject: pru: Add documentation and install scripts for running on the PRU Signed-off-by: Kevin O'Connor --- config/generic-cramps.cfg | 75 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 config/generic-cramps.cfg (limited to 'config/generic-cramps.cfg') diff --git a/config/generic-cramps.cfg b/config/generic-cramps.cfg new file mode 100644 index 00000000..969faaf2 --- /dev/null +++ b/config/generic-cramps.cfg @@ -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 -- cgit v1.2.3-70-g09d2