kopia lustrzana https://github.com/jgromes/RadioLib
Updated Default configuration (markdown)
rodzic
a24923ed5d
commit
35f4c6ab3f
|
@ -20,6 +20,17 @@ The table below shows default values of parameters that are common accross all s
|
||||||
| RFM95/97 | 915.0 MHz | 48.0 kbps | 50.0 kHz | 125.0 kHz | 10 dBm | 16 bits |
|
| RFM95/97 | 915.0 MHz | 48.0 kbps | 50.0 kHz | 125.0 kHz | 10 dBm | 16 bits |
|
||||||
| RFM96/98 | 434.0 MHz | 48.0 kbps | 50.0 kHz | 125.0 kHz | 10 dBm | 16 bits |
|
| RFM96/98 | 434.0 MHz | 48.0 kbps | 50.0 kHz | 125.0 kHz | 10 dBm | 16 bits |
|
||||||
|
|
||||||
|
### LoRa modules
|
||||||
|
The table below shows default values of parameters that are common accross all sub-GHz LoRa modules.
|
||||||
|
|
||||||
|
| Module type | Carrier frequency | Bandwidth | Spreading factor | Coding rate | Sync word | Output power | Preamble length |
|
||||||
|
| --------------- | ----------------- | --------- | ---------------- | ----------- | --------------- | ------------ | --------------- |
|
||||||
|
| SX126x | 434.0 MHz | 125.0 kHz | 9 | 4/7 | private network | 10 dBm | 8 symbols |
|
||||||
|
| SX1272/73 | 915.0 MHz | 125.0 kHz | 9 | 4/7 | private network | 10 dBm | 8 symbols |
|
||||||
|
| SX1276/77/78/79 | 434.0 MHz | 125.0 kHz | 9 | 4/7 | private network | 10 dBm | 8 symbols |
|
||||||
|
| RFM95/97 | 915.0 MHz | 125.0 kHz | 9 | 4/7 | private network | 10 dBm | 8 symbols |
|
||||||
|
| RFM96/98 | 434.0 MHz | 125.0 kHz | 9 | 4/7 | private network | 10 dBm | 8 symbols |
|
||||||
|
|
||||||
## Modules
|
## Modules
|
||||||
|
|
||||||
Legend:
|
Legend:
|
||||||
|
@ -141,11 +152,11 @@ Si443x::setEncoding(RADIOLIB_ENCODING_NRZ);
|
||||||
* Coding rate: 4/7
|
* Coding rate: 4/7
|
||||||
* Sync word: SX126X_SYNC_WORD_PRIVATE (0x12)
|
* Sync word: SX126X_SYNC_WORD_PRIVATE (0x12)
|
||||||
* Output power: 10 dBm
|
* Output power: 10 dBm
|
||||||
* Over-current protection: 60.0 mA
|
|
||||||
* Preamble length: 8 symbols
|
* Preamble length: 8 symbols
|
||||||
* TCXO reference voltage: 1.6 V (SX126x module with TCXO)
|
* TCXO reference voltage: 1.6 V (SX126x module with TCXO)
|
||||||
* LDO regulator mode: disabled (SX126x module with DC-DC power supply)
|
* LDO regulator mode: disabled (SX126x module with DC-DC power supply)
|
||||||
* Other:
|
* Other:
|
||||||
|
* Over-current protection: 60.0 mA
|
||||||
* DIO2 as RF switch control: enabled
|
* DIO2 as RF switch control: enabled
|
||||||
* LoRa header mode: explicit
|
* LoRa header mode: explicit
|
||||||
* LoRa CRC: enabled, 2 bytes
|
* LoRa CRC: enabled, 2 bytes
|
||||||
|
@ -154,7 +165,8 @@ Si443x::setEncoding(RADIOLIB_ENCODING_NRZ);
|
||||||
|
|
||||||
Equivalent to:
|
Equivalent to:
|
||||||
```c++
|
```c++
|
||||||
SX126x::begin(434.0, 125.0, 9, 7, SX126X_SYNC_WORD_PRIVATE, 10, 60.0, 8, 1.6, false);
|
SX126x::begin(434.0, 125.0, 9, 7, SX126X_SYNC_WORD_PRIVATE, 10, 8, 1.6, false);
|
||||||
|
SX126x::setCurrentLimit(60.0);
|
||||||
SX126x::setDio2AsRfSwitch(true);
|
SX126x::setDio2AsRfSwitch(true);
|
||||||
SX126x::explicitHeader();
|
SX126x::explicitHeader();
|
||||||
SX126x::setCRC(2);
|
SX126x::setCRC(2);
|
||||||
|
@ -198,18 +210,19 @@ SX126x::setDio2AsRfSwitch(true);
|
||||||
* Spreading factor: 9
|
* Spreading factor: 9
|
||||||
* Coding rate: 4/7
|
* Coding rate: 4/7
|
||||||
* Sync word: SX127X_SYNC_WORD (0x12)
|
* Sync word: SX127X_SYNC_WORD (0x12)
|
||||||
* Output power: 17 dBm
|
* Output power: 10 dBm
|
||||||
* Over-current protection: 100 mA
|
|
||||||
* Preamble length: 8 symbols
|
* Preamble length: 8 symbols
|
||||||
* Gain: 0 (automatic gain control enabled)
|
* Gain: 0 (automatic gain control enabled)
|
||||||
* Other: -
|
* Other:
|
||||||
|
* Over-current protection: 60 mA
|
||||||
* Inaccessible:
|
* Inaccessible:
|
||||||
* LoRa header mode: explicit
|
* LoRa header mode: explicit
|
||||||
* Frequency hopping: disabled
|
* Frequency hopping: disabled
|
||||||
|
|
||||||
Equivalent to (assuming SX1278):
|
Equivalent to (assuming SX1278):
|
||||||
```c++
|
```c++
|
||||||
SX1278::begin(434.0, 125.0, 9, 7, SX127X_SYNC_WORD, 17, 100, 8, 0);
|
SX1278::begin(434.0, 125.0, 9, 7, SX127X_SYNC_WORD, 10, 8, 0);
|
||||||
|
SX127x::setCurrentLimit(60);
|
||||||
```
|
```
|
||||||
|
|
||||||
### SX127x/RFM9x - FSK modem
|
### SX127x/RFM9x - FSK modem
|
||||||
|
|
Ładowanie…
Reference in New Issue