mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-07 14:04:17 -06:00
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>
This commit is contained in:
parent
4a527a46ce
commit
af99ab1645
8 changed files with 88 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue