Component: Infrared Array AMG88xx (Sensors)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Sensors |
Contents
Infrared Array AMG88xx component
An 8x8 (64) Pixel infrared sensor array allowing basic none contact temperature detection.
Examples
No additional examples
Downloadable macro reference
SetMovingAverageMode
Set the moving average mode on or off.
Parameters
- BOOL Mode
- 0 = Off, 1 = On
Return value
- This call does not return a value
ClearInterrupt
Clear any triggered interrupts
Parameters
- This macro has no parameters
Return value
- This call does not return a value
SetInterruptMode
Set the interrupt to either absolute value or difference mode
Parameters
- BOOL Mode
- 0 = Difference / 1 = Absolute
Return value
- This call does not return a value
SetInterrupt
Allows the interrupt pin to be enabled or disabled.
Parameters
- BOOL Mode
- 0 = Disabled / 1 = Enabled
Return value
- This call does not return a value
SetInterruptLevels
Set the interrupt levels.
Interrupt when going above High or interrupt when going below Low.
Parameters
- FLOAT High
- Range: -1023 to 1023
- FLOAT Low
- Range: -1023 to 1023
- FLOAT Hysteresis
- Range: -1023 to 1023 ( Recommend 0.95 * High )
Return value
- This call does not return a value
SamplePixels
Reads Infrared sensor values
Parameters
- This macro has no parameters
Return value
- This call does not return a value
ReadThermistor
Reads the onboard thermistor
Returns the temperature in degrees Celsius as a floating point value
Parameters
- This macro has no parameters
Return value
ReadPixel
Reads the temperature of a single pixel value from the last SamplePixels call.
Parameters
- BYTE Index
- Pixel to read. Range: 0 - 63
Return value
Initialise
Sets up the I2C interface and initialises the sensor.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Address
This property is of type Unsigned integer and can be referenced with the variable name Address.
No additional information
Channel
This property is of type Fixed list of ints and can be referenced with the variable name cal_i2c1::CHANNEL.
Channel selection
SDA
This property is of type Single digital pin and can be referenced with the variable name cal_i2c1::SDA.
Pin used for SDA (data signal)
SDA Remap Pin
This property is of type Fixed list of ints and can be referenced with the variable name cal_i2c1::SDAPins.
No additional information
SCL
This property is of type Single digital pin and can be referenced with the variable name cal_i2c1::SCL.
Pin used for SCL (clock signal)
SCL Remap Pin
This property is of type Fixed list of ints and can be referenced with the variable name cal_i2c1::SCLPins.
No additional information
Baud Select
This property is of type Fixed list of ints and can be referenced with the variable name cal_i2c1::BAUD_LIST.
Baud rate option selector
Baud Rate
This property is of type Signed integer and can be referenced with the variable name cal_i2c1::BAUD.
Baud rate to be used
Stop Delay
This property is of type True or false and can be referenced with the variable name cal_i2c1::StopDel.
On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not
a 10ms delay between an I2C stop event and the next I2C start event.
Most modern microcontrollers will not have a problem so this property can be disabled to speed up the
I2C communications.
Scope Traces
This property is of type True or false and can be referenced with the variable name cal_i2c1::ScopeTraces.
Selects if the scope traces are automatically generated or not
Console Data
This property is of type True or false and can be referenced with the variable name cal_i2c1::ConsoleData.
Selects if the console data is automatically generated or not
Injector
This property is of type Fixed list of ints and can be referenced with the variable name cal_i2c1::Injector.
No additional information