Author
|
Matrix TSL
|
Version
|
1.0
|
Category
|
Sensors
|
Voice Recognition component
Module supporting up to 7 active voice commands controlled via a serial UART interface. Commands are trained into the module by the user so as to be speaker-dependent.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_VoiceRecognitionELECHOUSEV3.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_VoiceRecognitionELECHOUSEV3.fcfx
Detailed description
No detailed description exists yet for this component
Examples
These examples are designed to work with a 4D systems display pre-programmed with the VISI Genie runtime files. These files are also included in the example archives to allow you to easily replicate the project.
The 4D display can either be connected to the PC running Flowcode using the 4D USB cable or connected to an embedded Microcontroller using a hardware or software UART. If you are using the Flowcode simulation to communicate with the Visi component then be sure to set the Visi COM port property to the COM port assigned by Windows to the 4D USB Cable.
The Console window should also show some helpful information to aid in debugging any problems.
The first example demonstrates a simple rocker switch Visi component.
RockerSwitch
The second example demonstrates controlling the colour of an RGB LED using the Visi colour picker component.
ColourPicker
Macro reference
Initialise
|
Initialise
|
Sets up the hardware UART to communicate with the module. Must be called before calling any of the other component macros. Returns 1 if communications to the module are successful else returns 0.
|
- BYTE
|
Return
|
Property reference
|
Properties
|
|
UART Properties
|
|
Channel
|
UART Channel selector Software channels are bit banged using generic I/O pins but are not as reliable as hardware channels. Hardware channels use the selected peripheral on-board the target microcontroller.
|
|
TX
|
Pin to be used for Transmit data
|
|
TX Remap Pin
|
Allows the hardware transmit pin to be configured from a list of available pins based on your target device,
|
|
RX
|
Pin to be used for Receive data
|
|
RX Remap Pin
|
Allows the hardware receive pin to be configured from a list of available pins based on your target device,
|
|
Baud Options
|
Baud rate option selector
|
|
Baud Rate
|
|
|
Simulation
|
|
Scope Traces
|
Selects if the scope traces are automatically added to the data recorder window or not. Simulation - draws an approximation of the UART data onto the scope trace. ICT - sets up the scope trace for incoming data and adds UART packet decoding at the correct BAUD.
|
|
Console Data
|
Selects if the console data is automatically generated or not
|
|
Console Columns
|
Number of characters that can be displayed on a single line of the console.
|
|
Data Source
|
Simulation data source used to allow the component to connect to various remote devices Nothing - Simulation data is ignored COM port - Routes the communication data to and from a physical or virtual COM port Injector - Routes the communication data via a data injector component on the Panel.
|
|
COM Port
|
Lists all the current available COM port hardware on your PC.
|