Remarks
The default settings for this object are correct for the TMP35.
Characteristic | Locus |
---|---|
Inheritance | object > AnalogTemperature.Calibration |
Inherited Members | object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() |
Namespace | Meadow.Foundation.Sensors.Temperature |
Assembly | Meadow.Foundation.dll |
Syntax
public class AnalogTemperature.Calibration
Constructors
Calibration()
Default constructor. Create a new Calibration object with default values for the properties.
Declaration
public Calibration()
Remarks
The default settings for this object are correct for the TMP35.
Calibration(double, double, double)
Create a new Calibration object using the specified values.
Declaration
public Calibration(double degreesCelsiusSampleReading, double millivoltsAtSampleReading, double millivoltsPerDegreeCentigrade)
Parameters
Type | Name | Description |
---|---|---|
double | degreesCelsiusSampleReading | Sample reading from the data sheet. |
double | millivoltsAtSampleReading | Millivolts output at the sample reading (from the data sheet). |
double | millivoltsPerDegreeCentigrade | Millivolt change per degree centigrade (from the data sheet). |
Remarks
The default settings for this object are correct for the TMP35.
Properties
MillivoltsAtSampleReading
Millivolt reading the sensor will generate when the sensor is at the SampleReading temperature. This value can be obtained from the data sheet.
Declaration
public double MillivoltsAtSampleReading { get; protected set; }
Property Value
Type | Description |
---|---|
double |
Remarks
The default settings for this object are correct for the TMP35.
MillivoltsPerDegreeCentigrade
Linear change in the sensor output (in millivolts) per 1 degree C change in temperature.
Declaration
public double MillivoltsPerDegreeCentigrade { get; protected set; }
Property Value
Type | Description |
---|---|
double |
Remarks
The default settings for this object are correct for the TMP35.
SampleReading
Sample reading as specified in the product data sheet. Measured in degrees Centigrade.
Declaration
public double SampleReading { get; protected set; }
Property Value
Type | Description |
---|---|
double |
Remarks
The default settings for this object are correct for the TMP35.