Component: Temperature Infrared (Grove 101020062) (Environmental)

From Flowcode Help
Revision as of 09:11, 12 October 2020 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix TSL
Version 1.2 (Release)
Category Environmental


Image Temperature Infrared (Grove 101020062) component

The Grove Infrared Temperature Sensor allows none contact measurement of temperatures ranging from -10 to 100 degrees C.

Examples

No additional examples


Downloadable macro reference

MeasureSurTemp

Measures the surrounding ambient temperature,

Parameters

This macro has no parameters


Return value

FLOAT


MeasureObjectTemp

Measures the temperature of the targetted object

Parameters

This macro has no parameters


Return value

FLOAT


Simulation macro reference

This component does not contain any simulation macros


Property reference

Ambient Pin (SUR)

This property is of type Single analog pin and can be referenced with the variable name resADC::channel.

Analogue input channel - which pin is the analogue input conected to?

Object Pin (OBJ)

This property is of type Single analog pin and can be referenced with the variable name objADC::channel.

Analogue input channel - which pin is the analogue input conected to?

VRef voltage

This property is of type Signed integer and can be referenced with the variable name resADC::vrefvol.

Used by the GetVoltage or GetString component macros to take an ADC reading and convert it into a Voltage.

+VRef voltage x 10mV

Default 500 = 5.0V

VRef option

This property is of type Fixed list of ints and can be referenced with the variable name resADC::vrefop.

Defines what is used as the ADC maximum reference. ADC Range = GND to VRef Voltage.

VDD - Defines the microcontrollers power supply pin as the max reference,

VREF+ Pin - Dedicated pin on the microcontroller to allow for a variable reference voltage.

Conversion speed

This property is of type Fixed list of ints and can be referenced with the variable name resADC::convspd.

Clock setting to select how fast the ADC peripheral will perform an ADC conversion.

The FRC setting is based on a RC time base and so will vary with temperature and pressure.

Other settings are generally based on divisions of the master clock.

Acquisition cycles

This property is of type Signed integer and can be referenced with the variable name resADC::actime.

Number of micro seconds to wait for the ACD input to charge before starting the analogue sample.

Temperature Calibration

This property is of type Floating point and can be referenced with the variable name TempCalib.

Ambient temperature calibration value

Temperature Range

This property is of type Floating point and can be referenced with the variable name TempRange.

Map of temperature-voltage according to sensor datasheet.

10 is the temperature step when sensor and object distance is 9CM.

Offset Voltage

This property is of type Floating point and can be referenced with the variable name OffsetVoltage.

Voltage of mid level voltage after 5-10 mins to bring the sensor to ambient.

Number of Samples

This property is of type Unsigned integer and can be referenced with the variable name NumSamples.

Number of samples to take to average out each reading.

Default 10.