Difference between revisions of "Component: SRF (WirelessThings) (SRF) (Wireless)"
From Flowcode Help
Jump to navigationJump to search| Line 15: | Line 15: | ||
The SRF is designed for wireless transmission and reception of serial data in an easy to use surface mounted module. It has an on-board balun and chip antenna, which can be detached for applications where an external antenna is required. | The SRF is designed for wireless transmission and reception of serial data in an easy to use surface mounted module. It has an on-board balun and chip antenna, which can be detached for applications where an external antenna is required. | ||
| − | ==Component | + | ==Component Source Code== |
| − | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_SRF_Component_v2.fcfx FC_Comp_Source_SRF_Component_v2.fcfx] | |
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 183: | Line 187: | ||
| colspan="2" | Serial comms data rate specified in bits per second. | | colspan="2" | Serial comms data rate specified in bits per second. | ||
|- | |- | ||
| − | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
| − | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections |
|- | |- | ||
|- | |- | ||
| Line 207: | Line 211: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| − | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
| − | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation |
|- | |- | ||
|- | |- | ||
Revision as of 17:50, 9 November 2022
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Wireless |
Contents
SRF (WirelessThings) component
The SRF is designed for wireless transmission and reception of serial data in an easy to use surface mounted module. It has an on-board balun and chip antenna, which can be detached for applications where an external antenna is required.
Component Source Code
Please click here for the component source code: FC_Comp_Source_SRF_Component_v2.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| SendString | |
| Send a string of data using the SRF Module | |
| Data | |
| Return | |
| Wake | |
| Wake the SRF module. Includes a 10ms delay to allow radio to wake. | |
| Return | |
| SendChar | |
| Char | |
| Return | |
| Sleep | |
| Sets the SRF module to sleep mode. (Includes a 10mS delay to allow any data to finish sending) | |
| Return | |
| SRFInitialise | |
| Initialise the SRF Module. Activate device through 'enable' pin, and wake device to ensure it is not sleeping. | |
| Return | |
| ReceiveString | |
| Send a string of data using the SRF Module | |
| Timeout | |
| NumBytes | |
| Return | |
| ReceiveChar | |
| Timeout | |
| Return | |