ESP-LiveControl  1.99.1
HTTP server, AJAX API backend and Vue.js web application implementing self-contained, zero-install WiFi remote control of hardware modules attached to the Espressif ESP32 SoC
Public Member Functions | List of all members
SensorKTY81_121 Class Reference

KTY81-121 type silicon temperature sensor readout using the ESP32 ADC in its high-linearity region. More...

#include <sensor_kty81_1xx.hpp>

Inheritance diagram for SensorKTY81_121:
Inheritance graph
[legend]
Collaboration diagram for SensorKTY81_121:
Collaboration graph
[legend]

Public Member Functions

 SensorKTY81_121 (adc1_channel_t channel)
 
- Public Member Functions inherited from SensorKTY81_1xx
 SensorKTY81_1xx (adc1_channel_t channel, EquidistantPWLUInt16< _common_conf.lut_size > *interpolator)
 Initialize the analog ADC channel for use with the sensor. More...
 
void update_filter ()
 Updates the moving average with a new sampled value from ADC. More...
 
float get_temp_pwl ()
 Excellent precision temperature sensing using piecewise linear interpolation of Look-Up-Table values for a KTY81-121 type sensor. Use this if temperatures above 100°C ore below 0°C are to be measured. More...
 
float get_temp_lin ()
 Fairly precise temperature conversion if the temperature sensor voltage has good linearisation. Worst results at temperature extremes. More...
 

Additional Inherited Members

- Public Attributes inherited from SensorKTY81_1xx
ESP32ADCChannelFiltered< _common_conf.moving_average_filter_len > adc_ch
 
- Static Public Attributes inherited from SensorKTY81_1xx
static constexpr auto _common_conf = KTY81_1xxCommonConfig{}
 
- Protected Attributes inherited from SensorKTY81_1xx
EquidistantPWLUInt16< _common_conf.lut_size > * _interpolator
 

Detailed Description

KTY81-121 type silicon temperature sensor readout using the ESP32 ADC in its high-linearity region.

Usage and details: See base class description KTY81_1xx.


The documentation for this class was generated from the following file: