THERMISTOR(1)
π THERMISTOR(1) β a HAL component, bestie β¨
okay so this is the manual page for thermistor, a HAL component. yes it's in section 1. yes it's giving "niche but iconic." let's get into it π«Ά
β¨ NAME β¨
thermistor β she computes the temperature that a thermistor is telling you about π‘οΈπ
π SYNOPSIS π
thermistor
that's it. that's the whole thing. no flags, no args, she just exists and waits for you to feed her pins πΈ
π¦ DESCRIPTION π¦
So here's the vibe: this component takes a thermistor sitting in a voltage-divider ladder and figures out what temperature it's reporting. π₯
The math it uses is the Beta-parameter variant of the Steinhart-Hart equation β yes, that's a real name, no I will not be pronouncing it confidently. It's described over here:
http://en.wikipedia.org/wiki/Thermistor
like, go read it, iykyk πβ¨
π PINS π
Every pin lives under a thermistor.N. prefix (the .N is the instance number, so you can have multiple thermistors being main characters at the same time π―). Here's the whole roster:
π the inputs (the ones you have to set, bestie)
thermistor.N.t0-cfloat in β Reference temperature of the thermistor, in degrees Celsius (typically25 C). This must be set before the component can compute the thermistor temperature. The reference temperature info? Comes straight from the thermistor manufacturer. πthermistor.N.r0float in β Resistance of the thermistor at the reference temperature. Again: must be set before the component can compute the thermistor temperature. Also from the manufacturer. πthermistor.N.betafloat in β The Beta parameter of the thermistor (sometimes people just call it B, cute nickname honestly). Must be set before the component can compute the thermistor temperature. Yep β manufacturer supplies it. πthermistor.N.r-otherfloat in β Resistance of the other resistor in the voltage-divider ladder. the supporting character. Must be set before the component can compute the thermistor temperature. πͺthermistor.N.v-totalfloat in β Supply voltage of the voltage-divider ladder. β‘thermistor.N.v-thermistorfloat in β Voltage drop across the termistor. π
β οΈ bestie listen βt0-c,r0,betaandr-otherall HAVE to be set before she can compute anything. she's not being difficult, she just literally cannot do the math without them π
π the outputs (the slay)
thermistor.N.temperature-cfloat out β Temperature sensed by the thermistor, in degrees Celsius. π¨thermistor.N.temperature-kfloat out β Temperature sensed by the thermistor, in Kelvins. π§ͺthermistor.N.temperature-ffloat out β Temperature sensed by the thermistor, in degrees Fahrenheit. πΊπΈthermistor.N.resistancefloat out β Computed resistance of the thermistor. π―
three temperature units and a resistance, she's serving range fr fr π
π LICENSE π
GPL β that's the whole license line, periodt. β
and that's the page!! go forth and measure temperatures, you've got this πβ¨ππ¦πΈ
this was THERMISTOR(1) from the good people at LinuxCNC Documentation, dated 2026-03-17. mwah, bye bestie π«Άπ
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms