temperature_sensors: Deprecate "NTC 100K beta 3950" thermistor
It seems the common "beta 3950" thermistors generally follow a temperature table defined by the new "Generic 3950" definition. Using a table that actually follows the "beta 3950" temperature curve is generally less accurate. Deprecate the existing "NTC 100K beta 3950" definition to avoid this common issue. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
19aac4055d
commit
c179db3d43
|
@ -73,7 +73,7 @@ max_temp: 250
|
||||||
|
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: PD7
|
heater_pin: PD7
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: PA1
|
sensor_pin: PA1
|
||||||
control: watermark
|
control: watermark
|
||||||
min_temp: 0
|
min_temp: 0
|
||||||
|
|
|
@ -123,7 +123,7 @@ sense_resistor: 0.056
|
||||||
|
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: PB17 #out1
|
heater_pin: PB17 #out1
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: vref_scaled:PC0
|
sensor_pin: vref_scaled:PC0
|
||||||
control: pid
|
control: pid
|
||||||
pullup_resistor: 2200
|
pullup_resistor: 2200
|
||||||
|
|
|
@ -72,7 +72,7 @@ max_temp: 250
|
||||||
|
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: PA1
|
heater_pin: PA1
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: PC0
|
sensor_pin: PC0
|
||||||
control: watermark
|
control: watermark
|
||||||
min_temp: 0
|
min_temp: 0
|
||||||
|
|
|
@ -74,7 +74,7 @@ max_temp: 250
|
||||||
|
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: PH6
|
heater_pin: PH6
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: PK3
|
sensor_pin: PK3
|
||||||
control: watermark
|
control: watermark
|
||||||
min_temp: 0
|
min_temp: 0
|
||||||
|
|
|
@ -141,7 +141,7 @@ max_extrude_only_distance: 780.0
|
||||||
heater_pin: PB4
|
heater_pin: PB4
|
||||||
# D10 on mcu_xye
|
# D10 on mcu_xye
|
||||||
max_power: 1.0
|
max_power: 1.0
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: PK5
|
sensor_pin: PK5
|
||||||
# T0 on mcu_xye
|
# T0 on mcu_xye
|
||||||
smooth_time: 3.0
|
smooth_time: 3.0
|
||||||
|
|
|
@ -79,7 +79,7 @@ max_temp: 275
|
||||||
|
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: PE5
|
heater_pin: PE5
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: PF2
|
sensor_pin: PF2
|
||||||
control: watermark
|
control: watermark
|
||||||
min_temp: 0
|
min_temp: 0
|
||||||
|
|
|
@ -127,7 +127,7 @@ rotation_distance: 29.888
|
||||||
nozzle_diameter: 0.400
|
nozzle_diameter: 0.400
|
||||||
filament_diameter: 1.750
|
filament_diameter: 1.750
|
||||||
heater_pin: PD5
|
heater_pin: PD5
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: PA7
|
sensor_pin: PA7
|
||||||
control: pid
|
control: pid
|
||||||
pid_Kp: 18.214030
|
pid_Kp: 18.214030
|
||||||
|
@ -138,7 +138,7 @@ max_temp: 230
|
||||||
|
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: PD4
|
heater_pin: PD4
|
||||||
sensor_type: NTC 100K beta 3950
|
sensor_type: Generic 3950
|
||||||
sensor_pin: PA6
|
sensor_pin: PA6
|
||||||
control: pid
|
control: pid
|
||||||
pid_Kp: 71.321
|
pid_Kp: 71.321
|
||||||
|
|
|
@ -8,6 +8,13 @@ All dates in this document are approximate.
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
|
20211110: The "NTC 100K beta 3950" temperature sensor is deprecated.
|
||||||
|
This sensor will be removed in the near future. Most users will find
|
||||||
|
the "Generic 3950" temperature sensor more accurate. To continue to
|
||||||
|
use the older (typically less accurate) definition, define a custom
|
||||||
|
[thermistor](Config_Reference.md#thermistor) with `temperature1: 25`,
|
||||||
|
`resistance1: 100000`, and `beta: 3950`.
|
||||||
|
|
||||||
20211104: The "step pulse duration" option in "make menuconfig" has
|
20211104: The "step pulse duration" option in "make menuconfig" has
|
||||||
been removed. A new `step_pulse_duration` setting in the
|
been removed. A new `step_pulse_duration` setting in the
|
||||||
[stepper config section](Config_Reference.md#stepper) should be set
|
[stepper config section](Config_Reference.md#stepper) should be set
|
||||||
|
|
|
@ -701,7 +701,7 @@ heater_pin:
|
||||||
# periods) to the heater. The default is 1.0.
|
# periods) to the heater. The default is 1.0.
|
||||||
sensor_type:
|
sensor_type:
|
||||||
# Type of sensor - common thermistors are "EPCOS 100K B57560G104F",
|
# Type of sensor - common thermistors are "EPCOS 100K B57560G104F",
|
||||||
# "ATC Semitec 104GT-2", "NTC 100K beta 3950", "Honeywell 100K
|
# "ATC Semitec 104GT-2", "Generic 3950", "Honeywell 100K
|
||||||
# 135-104LAG-J01", "NTC 100K MGB18-104F39050L32", "SliceEngineering
|
# 135-104LAG-J01", "NTC 100K MGB18-104F39050L32", "SliceEngineering
|
||||||
# 450", and "TDK NTCG104LH104JT1". See the "Temperature sensors"
|
# 450", and "TDK NTCG104LH104JT1". See the "Temperature sensors"
|
||||||
# section for other sensors. This parameter must be provided.
|
# section for other sensors. This parameter must be provided.
|
||||||
|
@ -2058,7 +2058,7 @@ sections that use one of these sensors.
|
||||||
```
|
```
|
||||||
sensor_type:
|
sensor_type:
|
||||||
# One of "EPCOS 100K B57560G104F", "ATC Semitec 104GT-2",
|
# One of "EPCOS 100K B57560G104F", "ATC Semitec 104GT-2",
|
||||||
# "NTC 100K beta 3950", "Honeywell 100K 135-104LAG-J01",
|
# "Generic 3950", "Honeywell 100K 135-104LAG-J01",
|
||||||
# "NTC 100K MGB18-104F39050L32", "SliceEngineering 450", or
|
# "NTC 100K MGB18-104F39050L32", "SliceEngineering 450", or
|
||||||
# "TDK NTCG104LH104JT1"
|
# "TDK NTCG104LH104JT1"
|
||||||
sensor_pin:
|
sensor_pin:
|
||||||
|
|
|
@ -280,6 +280,8 @@ class PrinterHeaters:
|
||||||
if sensor_type not in self.sensor_factories:
|
if sensor_type not in self.sensor_factories:
|
||||||
raise self.printer.config_error(
|
raise self.printer.config_error(
|
||||||
"Unknown temperature sensor '%s'" % (sensor_type,))
|
"Unknown temperature sensor '%s'" % (sensor_type,))
|
||||||
|
if sensor_type == 'NTC 100K beta 3950':
|
||||||
|
config.deprecate('sensor_type', 'NTC 100K beta 3950')
|
||||||
return self.sensor_factories[sensor_type](config)
|
return self.sensor_factories[sensor_type](config)
|
||||||
def register_sensor(self, config, psensor, gcode_id=None):
|
def register_sensor(self, config, psensor, gcode_id=None):
|
||||||
self.available_sensors.append(config.get_name())
|
self.available_sensors.append(config.get_name())
|
||||||
|
|
|
@ -87,7 +87,7 @@ temperature1: 25
|
||||||
resistance1: 100000
|
resistance1: 100000
|
||||||
beta: 3974
|
beta: 3974
|
||||||
|
|
||||||
# Definition inherent from name
|
# Definition inherent from name. This sensor is deprecated!
|
||||||
[thermistor NTC 100K beta 3950]
|
[thermistor NTC 100K beta 3950]
|
||||||
temperature1: 25
|
temperature1: 25
|
||||||
resistance1: 100000
|
resistance1: 100000
|
||||||
|
|
Loading…
Reference in New Issue