This library is designed to work with devices like the LM335 temperature sensor. There are only two requirements for compatibility: 1) The device must be a sensor device that has an analog voltage output. 2) The physical quantity measured must vary linearly with the analog voltage. The LM335 creates an analog voltage proportional to temperature. It can work very well with this library using the nominal multiplier of 0.0050354 and offset of -273.15 or by providing two user defined calibration points to the constructor. It uses a median filter to remove unwanted noise from ADC readings.

Dependents:   mbed_measuring_temperature

Download repository: zip gz

Files at revision 2:989048937c77

Name Size Actions
[up]
LinearTemp.cpp 2744 Revisions Annotate
LinearTemp.h 4278 Revisions Annotate