Component: LoRa (LAMBDA SX1272) (LAMBDA SX1272) (Wireless): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_LoRa_Lambda.fcfx FC_Comp_Source_LoRa_Lambda.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LoRa_Lambda.fcfx FC_Comp_Source_LoRa_Lambda.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
| Line 81: | Line 81: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| Line 92: | Line 96: | ||
===Initialise=== | ===Initialise=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | Starts the SPI and configures the LoRa module frequency | | colspan="2" | Starts the SPI and configures the LoRa module frequency | ||
| Line 106: | Line 110: | ||
===ReadReg=== | ===ReadReg=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadReg''' | ||
|- | |- | ||
| colspan="2" | Reads a register on the device and returns the value read | | colspan="2" | Reads a register on the device and returns the value read | ||
| Line 125: | Line 129: | ||
===ReceiveBuffer=== | ===ReceiveBuffer=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReceiveBuffer''' | ||
|- | |- | ||
| colspan="2" | Attempt to read a number of incoming bytes. Returns the number of bytes received | | colspan="2" | Attempt to read a number of incoming bytes. Returns the number of bytes received | ||
| Line 154: | Line 158: | ||
===SetFrequency=== | ===SetFrequency=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetFrequency''' | ||
|- | |- | ||
| colspan="2" | Sets the module frequency | | colspan="2" | Sets the module frequency | ||
| Line 173: | Line 177: | ||
===TransmitBuffer=== | ===TransmitBuffer=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''TransmitBuffer''' | ||
|- | |- | ||
| colspan="2" | Attempt to send a number of bytes to be transmitted. | | colspan="2" | Attempt to send a number of bytes to be transmitted. | ||
| Line 197: | Line 201: | ||
===WriteReg=== | ===WriteReg=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''WriteReg''' | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
| Line 218: | Line 222: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | LoRa Properties | ||
|- | |- | ||
|- | |- | ||
| Line 239: | Line 241: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
|- | |- | ||
| Line 283: | Line 285: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Wireless |
LoRa (LAMBDA SX1272) component
Component to drive the LAMBDA LoRa Transciever module from RF Solutions. Uses an SPI bus connection to the microcontroller. Uses the Semtech SX1272 Transciever IC. Compatible with the LoRaWan network when used with an additional protocol layer.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LoRa_Lambda.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LoRa_Lambda.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
| Initialise | |
| Starts the SPI and configures the LoRa module frequency | |
| Return | |
ReadReg
| ReadReg | |
| Reads a register on the device and returns the value read | |
| Address | |
| Return | |
ReceiveBuffer
| ReceiveBuffer | |
| Attempt to read a number of incoming bytes. Returns the number of bytes received | |
| Data | |
| Count | |
| Timeout | |
| Time to wait in milliseconds | |
| Return | |
SetFrequency
| SetFrequency | |
| Sets the module frequency | |
| Frequency | |
| Return | |
TransmitBuffer
| TransmitBuffer | |
| Attempt to send a number of bytes to be transmitted. | |
| Data | |
| Data buffer to transmit | |
| Count | |
| Number of bytes to send | |
| Return | |
WriteReg
| WriteReg | |
| Address | |
| Value | |
| Return | |