Difference between revisions of "Component: Infrared Array AMG88xx (Light)"

From Flowcode Help
Jump to navigationJump to search
Line 16: Line 16:
  
 
==Detailed description==
 
==Detailed description==
 +
 +
  
  
Line 24: Line 26:
  
 
==Examples==
 
==Examples==
 +
 +
  
  
Line 43: Line 47:
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" | [[File:]] -  
+
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
 
| width="90%" | Mode
 
| width="90%" | Mode
 
|-
 
|-
Line 74: Line 78:
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" | [[File:]] -  
+
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
 
| width="90%" | Mode
 
| width="90%" | Mode
 
|-
 
|-
Line 92: Line 96:
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" | [[File:]] -  
+
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
 
| width="90%" | Mode
 
| width="90%" | Mode
 
|-
 
|-
Line 110: Line 114:
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" | [[File:]] -  
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 
| width="90%" | High
 
| width="90%" | High
 
|-
 
|-
 
| colspan="2" | Range: -1023 to 1023 
 
| colspan="2" | Range: -1023 to 1023 
 
|-
 
|-
| width="10%" align="center" | [[File:]] -  
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 
| width="90%" | Low
 
| width="90%" | Low
 
|-
 
|-
 
| colspan="2" | Range: -1023 to 1023 
 
| colspan="2" | Range: -1023 to 1023 
 
|-
 
|-
| width="10%" align="center" | [[File:]] -  
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 
| width="90%" | Hysteresis
 
| width="90%" | Hysteresis
 
|-
 
|-
Line 151: Line 155:
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] -  
+
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
Line 169: Line 173:
 
| colspan="2" | Pixel to read. Range: 0 - 63 
 
| colspan="2" | Pixel to read. Range: 0 - 63 
 
|-
 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] -  
+
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}

Revision as of 13:30, 17 November 2021

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.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

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


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


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


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


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


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


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


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


Fc9-comp-macro.png Initialise
Sets up the I2C interface and initialises the sensor. 
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 Simulations
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