|
Files | |
file | dexterind-thermalir.h |
Dexter Industries Thermal Infrared Sensor driver. | |
Defines | |
#define | TIR_I2C_ADDR 0x0E |
#define | TIR_AMBIENT 0x00 |
#define | TIR_OBJECT 0x01 |
#define | TIR_SET_EMISSIVITY 0x02 |
#define | TIR_GET_EMISSIVITY 0x03 |
#define | TIR_CHK_EMISSIVITY 0x04 |
#define | TIR_RESET 0x05 |
#define | TIR_EM_SKIN_LIGHT 5660 |
#define | TIR_EM_SKIN_DARK 8380 |
#define | TIR_EM_GLASS 9200 |
#define | TIR_EM_CANDLE_SOOT 9500 |
#define | tempFactor 0.02 |
Functions | |
float | TIRreadAmbientTemp (tSensors link) |
float | TIRreadObjectTemp (tSensors link) |
bool | TIRsetEmissivity (tSensors link, int emissivity) |
bool | TIRresetSensor (tSensors link) |
long | TIRreadEmissivity (tSensors link) |
long | TIRcheckEmissivity (tSensors link) |
Variables | |
tByteArray | TIR_I2CRequest |
tByteArray | TIR_I2CReply |
Dexter Industries Thermal Infrared Sensor
#define tempFactor 0.02 |
Definition at line 56 of file dexterind-thermalir.h.
#define TIR_AMBIENT 0x00 |
Thermal Infrared number
Definition at line 43 of file dexterind-thermalir.h.
#define TIR_CHK_EMISSIVITY 0x04 |
Definition at line 47 of file dexterind-thermalir.h.
#define TIR_EM_CANDLE_SOOT 9500 |
Definition at line 54 of file dexterind-thermalir.h.
#define TIR_EM_GLASS 9200 |
Definition at line 53 of file dexterind-thermalir.h.
#define TIR_EM_SKIN_DARK 8380 |
Definition at line 52 of file dexterind-thermalir.h.
#define TIR_EM_SKIN_LIGHT 5660 |
Definition at line 51 of file dexterind-thermalir.h.
#define TIR_GET_EMISSIVITY 0x03 |
Definition at line 46 of file dexterind-thermalir.h.
#define TIR_I2C_ADDR 0x0E |
TIR I2C device address
Definition at line 42 of file dexterind-thermalir.h.
#define TIR_OBJECT 0x01 |
Red reading
Definition at line 44 of file dexterind-thermalir.h.
#define TIR_RESET 0x05 |
Definition at line 48 of file dexterind-thermalir.h.
#define TIR_SET_EMISSIVITY 0x02 |
Green reading
Definition at line 45 of file dexterind-thermalir.h.
long TIRcheckEmissivity | ( | tSensors | link ) |
Check the emissivity
link | the TIR port number |
Definition at line 139 of file dexterind-thermalir.h.
float TIRreadAmbientTemp | ( | tSensors | link ) |
Measure the ambient temperature
link | the TIR port number |
Definition at line 72 of file dexterind-thermalir.h.
long TIRreadEmissivity | ( | tSensors | link ) |
Read the current emissivity
link | the TIR port number |
Definition at line 120 of file dexterind-thermalir.h.
float TIRreadObjectTemp | ( | tSensors | link ) |
Measure the object temperature
link | the TIR port number |
Definition at line 96 of file dexterind-thermalir.h.
bool TIRresetSensor | ( | tSensors | link ) |
Reset the sensor
link | the TIR port number |
Definition at line 177 of file dexterind-thermalir.h.
bool TIRsetEmissivity | ( | tSensors | link, |
int | emissivity | ||
) |
Set the current emissivity
link | the TIR port number |
emissivity | the emissivity of the object that is to be measured |
Definition at line 159 of file dexterind-thermalir.h.
Array to hold I2C reply data
Definition at line 65 of file dexterind-thermalir.h.
Array to hold I2C command data
Definition at line 64 of file dexterind-thermalir.h.