Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9dd235ab91 |
No files matched your search
@@ -8,6 +8,11 @@ All dates in this document are approximate.
|
|||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
|
20230820: The heater `smooth_time` now defaults to not perform any
|
||||||
|
additional temperature smoothing. To return to the previous behavior
|
||||||
|
of one second smoothing, set `smooth_time: 1.0` in the heater config
|
||||||
|
section.
|
||||||
|
|
||||||
20230810: The flash-sdcard.sh script now supports both variants of the
|
20230810: The flash-sdcard.sh script now supports both variants of the
|
||||||
Bigtreetech SKR-3, STM32H743 and STM32H723. For this, the original tag
|
Bigtreetech SKR-3, STM32H743 and STM32H723. For this, the original tag
|
||||||
of btt-skr-3 now has changed to be either btt-skr-3-h743 or btt-skr-3-h723.
|
of btt-skr-3 now has changed to be either btt-skr-3-h743 or btt-skr-3-h723.
|
||||||
|
|||||||
@@ -798,10 +798,10 @@ sensor_pin:
|
|||||||
# The resistance (in ohms) of the pullup attached to the thermistor.
|
# The resistance (in ohms) of the pullup attached to the thermistor.
|
||||||
# This parameter is only valid when the sensor is a thermistor. The
|
# This parameter is only valid when the sensor is a thermistor. The
|
||||||
# default is 4700 ohms.
|
# default is 4700 ohms.
|
||||||
#smooth_time: 1.0
|
#smooth_time:
|
||||||
# A time value (in seconds) over which temperature measurements will
|
# A time value (in seconds) over which temperature measurements will
|
||||||
# be smoothed to reduce the impact of measurement noise. The default
|
# be smoothed to reduce the impact of measurement noise. The default
|
||||||
# is 1 seconds.
|
# is to not perform any additional temperature smoothing.
|
||||||
control:
|
control:
|
||||||
# Control algorithm (either pid or watermark). This parameter must
|
# Control algorithm (either pid or watermark). This parameter must
|
||||||
# be provided.
|
# be provided.
|
||||||
|
|||||||
@@ -34,7 +34,8 @@ class Heater:
|
|||||||
is not None)
|
is not None)
|
||||||
self.can_extrude = self.min_extrude_temp <= 0. or is_fileoutput
|
self.can_extrude = self.min_extrude_temp <= 0. or is_fileoutput
|
||||||
self.max_power = config.getfloat('max_power', 1., above=0., maxval=1.)
|
self.max_power = config.getfloat('max_power', 1., above=0., maxval=1.)
|
||||||
self.smooth_time = config.getfloat('smooth_time', 1., above=0.)
|
self.smooth_time = config.getfloat('smooth_time', self.pwm_delay,
|
||||||
|
above=0.)
|
||||||
self.inv_smooth_time = 1. / self.smooth_time
|
self.inv_smooth_time = 1. / self.smooth_time
|
||||||
self.lock = threading.Lock()
|
self.lock = threading.Lock()
|
||||||
self.last_temp = self.smoothed_temp = self.target_temp = 0.
|
self.last_temp = self.smoothed_temp = self.target_temp = 0.
|
||||||
|
|||||||
Reference in new issue
Block a user