Skip to main content

Sensors - RTD Temperature (Tibbit 22)

Loading...

This project shows how to use Tibbit #22 with an RTD sensor.

RTD sensors excel in applications that require a broad measurement range. Certain RTDs supported by TPS can measure from –200°C to +1000°C, covering temperatures that integrated-circuit (IC) sensors cannot handle.

In this project, there are two variables:

  • temp_rtd, a "float" data type variable.
    • Automatically generated when Tibbit #22 is added to the board.
    • Corresponds to the connected RTD sensor's temperature.
  • max_temp, a "value(number)" data type variable.
    • User-defined.
    • Used for triggering a warning when temperatures exceed its value.

The logic behind this project is simple. Every five seconds, if temp_rtd is above max_temp, a warning message is printed and TPS beeps three times. If if temp_rtd is below max_temp, then max_temp is printed with no beeping.