aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/thermistor.py
Commit message (Collapse)AuthorAgeFilesLines
* thermistor: Add Honeywell 100K and MGB18 thermistor definitionsKevin O'Connor2018-04-301-0/+2
| | | | | | Add two additional thermistors (as suggested by Tim Miller). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* thermistor: Fallback to using beta if Steinhart-Hart c3 is negativeKevin O'Connor2018-04-091-4/+11
| | | | | | | | If the c3 coefficient is negative it can cause the adc calculations to fail. The c3 shouldn't be negative in practice, so fallback to a simple beta calculation in that case. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* thermistor: Add support for defining custom thermistorsKevin O'Connor2018-04-091-0/+26
| | | | | | Add the ability to define a new thermistor type in the config file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Move Thermistor and Linear to their own files in extras/Kevin O'Connor2018-04-041-0/+95
Move the Thermistor code to a new thermistor.py module. Move the Linear code to a new adc_temperature.py module. This simplifies the heater.py code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>