Component: Infrared Array AMG88xx (Light)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Light


Infrared Array AMG88xx component

An 8x8 (64) Pixel infrared sensor array allowing basic none contact temperature detection.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_AMG88.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_AMG88.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

ClearInterrupt

Fc9-comp-macro.png ClearInterrupt
Clear any triggered interrupts 
Fc9-void-icon.png - VOID Return


Initialise

Fc9-comp-macro.png Initialise
Sets up the I2C interface and initialises the sensor. 
Fc9-void-icon.png - VOID Return


ReadPixel

Fc9-comp-macro.png ReadPixel
Reads the temperature of a single pixel value from the last SamplePixels call. 
Fc9-u8-icon.png - BYTE Index
Pixel to read. Range: 0 - 63 
Fc9-f32-icon.png - FLOAT Return


ReadThermistor

Fc9-comp-macro.png ReadThermistor
Reads the onboard thermistor Returns the temperature in degrees Celsius as a floating point value 
Fc9-f32-icon.png - FLOAT Return


SamplePixels

Fc9-comp-macro.png SamplePixels
Reads Infrared sensor values 
Fc9-void-icon.png - VOID Return


SetInterrupt

Fc9-comp-macro.png SetInterrupt
Allows the interrupt pin to be enabled or disabled. 
Fc9-bool-icon.png - BOOL Mode
0 = Disabled / 1 = Enabled 
Fc9-void-icon.png - VOID Return


SetInterruptLevels

Fc9-comp-macro.png SetInterruptLevels
Set the interrupt levels. Interrupt when going above High or interrupt when going below Low. 
Fc9-f32-icon.png - FLOAT High
Range: -1023 to 1023 
Fc9-f32-icon.png - FLOAT Low
Range: -1023 to 1023 
Fc9-f32-icon.png - FLOAT Hysteresis
Range: -1023 to 1023 ( Recommend 0.95 * High ) 
Fc9-void-icon.png - VOID Return


SetInterruptMode

Fc9-comp-macro.png SetInterruptMode
Set the interrupt to either absolute value or difference mode 
Fc9-bool-icon.png - BOOL Mode
0 = Difference / 1 = Absolute 
Fc9-void-icon.png - VOID Return


SetMovingAverageMode

Fc9-comp-macro.png SetMovingAverageMode
Set the moving average mode on or off. 
Fc9-bool-icon.png - BOOL Mode
0 = Off, 1 = On 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-21-icon.png Address
 
Fc9-type-16-icon.png Channel
Channel selection 
Fc9-type-5-icon.png SDA
Pin used for SDA (data signal) 
Fc9-type-5-icon.png SCL
Pin used for SCL (clock signal) 
Fc9-type-16-icon.png Baud Select
Baud rate option selector 
Fc9-type-14-icon.png Baud Rate
Baud rate to be used 
Fc9-type-7-icon.png Stop Delay
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.  
Fc9-conn-icon.png Simulation
Fc9-type-7-icon.png Scope Traces
Selects if the scope traces are automatically generated or not 
Fc9-type-7-icon.png Console Data
Selects if the console data is automatically generated or not 
Fc9-type-16-icon.png API