aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-07-10 12:23:35 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-07-10 22:49:02 -0400
commitaf99ab164543bc5e1ee68ef35b1b6f42f06ca887 (patch)
treeeff2482eb95523d99dd57e82fc1e767baf36c267 /config/example.cfg
parent4a527a46cedaa4a7932ba5c1080b7133c69602cd (diff)
downloadkutter-af99ab164543bc5e1ee68ef35b1b6f42f06ca887.tar.gz
kutter-af99ab164543bc5e1ee68ef35b1b6f42f06ca887.tar.xz
kutter-af99ab164543bc5e1ee68ef35b1b6f42f06ca887.zip
extruder: Create a new class and python file to track the printer extruder
Create a new python file (extruder.py) to control the extruder heater and stepper motors. This separates the extruder control logic from the cartesian robot code - making it easier to customize both the kinematic control of the robot as well as the extruder. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example.cfg')
-rw-r--r--config/example.cfg17
1 files changed, 8 insertions, 9 deletions
diff --git a/config/example.cfg b/config/example.cfg
index 3090ba15..d0b5eca8 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -77,19 +77,19 @@ position_min: 0.1
position_endstop: 0.5
position_max: 200
-# The stepper_e section is used to describe the stepper controlling
-# the printer extruder. It has the same settings as the stepper_x
-# section
-[stepper_e]
+# The extruder section is used to describe both the stepper
+# controlling the printer extruder and the heater parameters for the
+# nozzle. The stepper configuration has the same settings as the
+# stepper_x section and the heater configuration has the same settings
+# as the heater_bed section
+[extruder]
step_pin: ar19
dir_pin: ar18
enable_pin: !ar25
step_distance: .004242
max_velocity: 200000
max_accel: 3000
-
-# The heater_nozzle section describes the extruder and extruder heater
-[heater_nozzle]
+# The remaining variables describe the extruder heater
heater_pin: ar4
# PWM output pin controlling the heater
thermistor_pin: analog1
@@ -118,8 +118,7 @@ max_temp: 210
# this value)
# The heater_bed section describes a heated bed (if present - omit
-# section if not present). It has the same settings as the
-# heater_nozzle section
+# section if not present).
[heater_bed]
heater_pin: ar3
thermistor_pin: analog0