Component: Infrared Array AMG88xx (Light): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| Line 75: | Line 75: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ClearInterrupt''' | ||
|- | |- | ||
| colspan="2" | Clear any triggered interrupts | | colspan="2" | Clear any triggered interrupts | ||
| Line 89: | Line 89: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | Sets up the I2C interface and initialises the sensor. | | colspan="2" | Sets up the I2C interface and initialises the sensor. | ||
| Line 103: | Line 103: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadPixel''' | ||
|- | |- | ||
| colspan="2" | Reads the temperature of a single pixel value from the last SamplePixels call. | | colspan="2" | Reads the temperature of a single pixel value from the last SamplePixels call. | ||
| Line 122: | Line 122: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadThermistor''' | ||
|- | |- | ||
| colspan="2" | Reads the onboard thermistor Returns the temperature in degrees Celsius as a floating point value | | colspan="2" | Reads the onboard thermistor Returns the temperature in degrees Celsius as a floating point value | ||
| Line 136: | Line 136: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SamplePixels''' | ||
|- | |- | ||
| colspan="2" | Reads Infrared sensor values | | colspan="2" | Reads Infrared sensor values | ||
| Line 150: | Line 150: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetInterrupt''' | ||
|- | |- | ||
| colspan="2" | Allows the interrupt pin to be enabled or disabled. | | colspan="2" | Allows the interrupt pin to be enabled or disabled. | ||
| Line 169: | Line 169: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetInterruptLevels''' | ||
|- | |- | ||
| colspan="2" | Set the interrupt levels. Interrupt when going above High or interrupt when going below Low. | | colspan="2" | Set the interrupt levels. Interrupt when going above High or interrupt when going below Low. | ||
| Line 198: | Line 198: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetInterruptMode''' | ||
|- | |- | ||
| colspan="2" | Set the interrupt to either absolute value or difference mode | | colspan="2" | Set the interrupt to either absolute value or difference mode | ||
| Line 217: | Line 217: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetMovingAverageMode''' | ||
|- | |- | ||
| colspan="2" | Set the moving average mode on or off. | | colspan="2" | Set the moving average mode on or off. | ||
| Line 237: | Line 237: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Revision as of 14:23, 13 July 2026
| 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 | |
| Return | |
Initialise
| Initialise | |
| Sets up the I2C interface and initialises the sensor. | |
| Return | |
ReadPixel
| ReadPixel | |
| Reads the temperature of a single pixel value from the last SamplePixels call. | |
| Index | |
| Pixel to read. Range: 0 - 63 | |
| Return | |
ReadThermistor
| ReadThermistor | |
| Reads the onboard thermistor Returns the temperature in degrees Celsius as a floating point value | |
| Return | |
SamplePixels
| SamplePixels | |
| Reads Infrared sensor values | |
| Return | |
SetInterrupt
| SetInterrupt | |
| Allows the interrupt pin to be enabled or disabled. | |
| Mode | |
| 0 = Disabled / 1 = Enabled | |
| Return | |
SetInterruptLevels
SetInterruptMode
| SetInterruptMode | |
| Set the interrupt to either absolute value or difference mode | |
| Mode | |
| 0 = Difference / 1 = Absolute | |
| Return | |
SetMovingAverageMode
| SetMovingAverageMode | |
| Set the moving average mode on or off. | |
| Mode | |
| 0 = Off, 1 = On | |
| Return | |