Updated Default configuration (markdown)

master
Jan Gromeš 2020-07-06 11:46:19 +02:00
rodzic a24923ed5d
commit 35f4c6ab3f
1 zmienionych plików z 19 dodań i 6 usunięć

@ -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 |
| 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
Legend:
@ -141,11 +152,11 @@ Si443x::setEncoding(RADIOLIB_ENCODING_NRZ);
* Coding rate: 4/7
* Sync word: SX126X_SYNC_WORD_PRIVATE (0x12)
* Output power: 10 dBm
* Over-current protection: 60.0 mA
* Preamble length: 8 symbols
* TCXO reference voltage: 1.6 V (SX126x module with TCXO)
* LDO regulator mode: disabled (SX126x module with DC-DC power supply)
* Other:
* Over-current protection: 60.0 mA
* DIO2 as RF switch control: enabled
* LoRa header mode: explicit
* LoRa CRC: enabled, 2 bytes
@ -154,7 +165,8 @@ Si443x::setEncoding(RADIOLIB_ENCODING_NRZ);
Equivalent to:
```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::explicitHeader();
SX126x::setCRC(2);
@ -198,18 +210,19 @@ SX126x::setDio2AsRfSwitch(true);
* Spreading factor: 9
* Coding rate: 4/7
* Sync word: SX127X_SYNC_WORD (0x12)
* Output power: 17 dBm
* Over-current protection: 100 mA
* Output power: 10 dBm
* Preamble length: 8 symbols
* Gain: 0 (automatic gain control enabled)
* Other: -
* Other:
* Over-current protection: 60 mA
* Inaccessible:
* LoRa header mode: explicit
* Frequency hopping: disabled
Equivalent to (assuming SX1278):
```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