diff --git a/README.md b/README.md index 5015a86..baaf14f 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,13 @@ Can be used in two modes: - comment out / remove **LORAPRS_CLIENT** define if you are planning to run server mode for APRS-IS iGate - for server mode fill **LORAPRS_WIFI_SSID** and **LORAPRS_WIFI_KEY** with your WiFI AP data - for server mode fill **LORAPRS_LOGIN** and **LORAPRS_PASS** with APRS-IS login callsign and pass - - change **LORAPRS_FREQ** if you are planning to use different frequency or if planning to calibrate clients, currently it is set to **432.500MHz**, which is 70cm band APRS frequency in IARU-1 region, see http://info.aprs.net/index.php?title=Frequencies + - change **LORAPRS_FREQ** if you are planning to use different frequency or if planning to calibrate clients, currently it is set to **433.775MHz** as per https://vienna.iaru-r1.org/wp-content/uploads/2019/01/VIE19-C5-015-OEVSV-LORA-APRS-433-MHz.pdf - if you are planning to use different esp32 pinouts then modify loraprs.h - lora module SS, **CfgPinSs**, pin 5 - lora module RST, **CfgPinRst**, pin 26 - lora module DIO0, **CfgPinDio0**, pin 14 - if you are planning to experiment with different bandwidths/spread factors then modify loraprs.h, with current parameters APRS packet time on air is around **10 seconds** to decode with as lower level as possible, use https://github.com/tanupoo/lorawan_toa to make calculations - - lora bandwidth **CfgBw**, 20 kHz (to fit into standard 25 kHz channel) + - lora bandwidth **CfgBw**, 125 kHz - lora spread factor **CfgSpread**, 11 (should decode down to -17.5dB) - lora coding rate **CfgCodingRate**, 7 - lora output power **CfgPower**, 20 (max 20 dBm ~ 100mW, change to lower value if needed) diff --git a/esp32_loraprs.ino b/esp32_loraprs.ino index a629924..7e7209e 100644 --- a/esp32_loraprs.ino +++ b/esp32_loraprs.ino @@ -7,11 +7,12 @@ #define LORAPRS_CLIENT +// https://vienna.iaru-r1.org/wp-content/uploads/2019/01/VIE19-C5-015-OEVSV-LORA-APRS-433-MHz.pdf #ifdef LORAPRS_CLIENT // calibrate client based on server frequency drift report -#define LORAPRS_FREQ 432.499E6 +#define LORAPRS_FREQ 433.775E6 #else -#define LORAPRS_FREQ 432.5E6 +#define LORAPRS_FREQ 433.775E6 #endif #ifdef LORAPRS_CLIENT diff --git a/loraprs.h b/loraprs.h index 101c8d1..7845f8f 100644 --- a/loraprs.h +++ b/loraprs.h @@ -71,7 +71,7 @@ private: const byte CfgPinRst = 26; const byte CfgPinDio0 = 14; - const int CfgBw = 20e3; + const int CfgBw = 125e3; const byte CfgSpread = 11; const byte CfgCodingRate = 7; const byte CfgSync = 0xf3;