Component: Air Velocity Sensor (FS3000) (Environmental)

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


Air Velocity Sensor (FS3000) component

The FS3000 provides air velocity monitoring via a digital I2C interface.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

Initialise

Fc9-comp-macro.png Initialise
Sets up the I2C ready for operation and initialises the sensor with the default settings. Returns 1 if the device is correctly identified. 
Fc9-bool-icon.png - BOOL Return


ReadMetersPerSecond

Fc9-comp-macro.png ReadMetersPerSecond
Reads the air flow rate and returns a floating point value in meters per second 
Fc9-f32-icon.png - FLOAT Return


ReadMilesPerHour

Fc9-comp-macro.png ReadMilesPerHour
Reads the air flow rate and returns a floating point value in miles per hour 
Fc9-f32-icon.png - FLOAT Return


ReadRaw

Fc9-comp-macro.png ReadRaw
Reads the raw output from the air velocity sensor. 
Fc9-u16-icon.png - UINT Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
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-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-type-16-icon.png Baud Select
Baud rate option selector 
Fc9-type-14-icon.png Baud Rate
Baud rate to be used 
Fc9-conn-icon.png Settings
Fc9-type-16-icon.png Type
Choose which specific version of the sensor to dictate the maximum detectable air speed. 
Fc9-conn-icon.png Simulation
Fc9-type-7-icon.png Scope Traces
Selects if the component pin connections are automatically generated on the data recorder window or not. Yes: Automatically add the component pins to a group on the data recorder which will reflect the sim data during simultion. No: Do not show the pin signals on the data recorder window. 
Fc9-type-7-icon.png Console Data
Selects if the console data is automatically generated or not 
Fc9-type-16-icon.png API
Specifies the API component on the panel to interact with to provide comms simulation. 

Component Source Code

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

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