Jump to content

Component: Infrared Array AMG88xx (Light)

From Flowcode Help
Revision as of 14:35, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"")
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

ClearInterrupt
Clear any triggered interrupts 
- VOID Return


Initialise

Initialise
Sets up the I2C interface and initialises the sensor. 
- VOID Return


ReadPixel

ReadPixel
Reads the temperature of a single pixel value from the last SamplePixels call. 
- BYTE Index
Pixel to read. Range: 0 - 63 
- FLOAT Return


ReadThermistor

ReadThermistor
Reads the onboard thermistor Returns the temperature in degrees Celsius as a floating point value 
- FLOAT Return


SamplePixels

SamplePixels
Reads Infrared sensor values 
- VOID Return


SetInterrupt

SetInterrupt
Allows the interrupt pin to be enabled or disabled. 
- BOOL Mode
0 = Disabled / 1 = Enabled 
- VOID Return


SetInterruptLevels

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


SetInterruptMode

SetInterruptMode
Set the interrupt to either absolute value or difference mode 
- BOOL Mode
0 = Difference / 1 = Absolute 
- VOID Return


SetMovingAverageMode

SetMovingAverageMode
Set the moving average mode on or off. 
- BOOL Mode
0 = Off, 1 = On 
- VOID Return


Property reference

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