From 580121a27b1e924e15920cfb80d329982c013127 Mon Sep 17 00:00:00 2001 From: sh123 Date: Wed, 20 Oct 2021 13:38:30 +0300 Subject: [PATCH 1/6] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fca8cb..144bb46 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,9 @@ Modem could also be used for **LoRa Codec2 digital voice DV communication** # Compatible Boards All work was done on ESP32-WROOM with custom made LoRa shield, Arduino Board is "ESP32 Dev Module". -If your ESP32 board is compatible or has build in LoRa module then it should work without redefining pinouts, for custom shields there might be need to redefine pinouts to LoRa module if it differs (see further description in Software Setup section), currently pinouts are connected from LoRa to ESP32-WROOM as (SS/RST/DIO0 could be redefined in config.h): +Supported modules - all supported by [RadioLib](https://github.com/jgromes/RadioLib) + +If your ESP32 board is compatible or has built in LoRa module then it should work without redefining pinouts, for custom shields there might be need to redefine pinouts to LoRa module if it differs (see further description in Software Setup section), currently pinouts are connected from LoRa to ESP32-WROOM as (SS/RST/DIO0 could be redefined in config.h): ![alt text](images/pinouts.png) @@ -67,11 +69,14 @@ Require LoRa module pinout definitions in `config.h`: # Software Dependencies Install via libraries: - Arduino ESP32 library: https://github.com/espressif/arduino-esp32 + - or RadioLib library (use github master version): https://github.com/jgromes/RadioLib - LoRa arduino library: https://github.com/sandeepmistry/arduino-LoRa - Arduino Timer library: https://github.com/contrem/arduino-timer - CircularBuffer library: https://github.com/rlogiacco/CircularBuffer # Software Setup +- Decide if you want to use arduino-LoRa or RadioLib library, uncomment `USE_RADIOLIB` in sketch if you want to use RadioLib + - If you are using RadioLib and not using SX1278 module then modify module declarations in `loraprs_service.cpp` and `loraprs_service.h` find and replace `SX1278` with your module name. Consult [RadioLib Wiki](https://github.com/jgromes/RadioLib/wiki). - **NB! select next partition scheme for ESP32 in Arduino IDE Tools menu:** "Minimal SPIFFS (1.9 MB APP with OTA/190 KB SPIFFS)" - for boards, which do not have this option, need to modify `~/.arduino15/packages/esp32/hardware/esp32/1.0.4/boards.txt` and add required partition option - **use 80 MHz ESP32 frequency** in Arduino SDK, it will prolong battery life when operating portable, higher CPU speed is not required, there are no CPU intensive operations From 87f4e4b0e157f9784de683e79c607f3ee5ef2701 Mon Sep 17 00:00:00 2001 From: sh123 Date: Wed, 20 Oct 2021 13:39:46 +0300 Subject: [PATCH 2/6] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 144bb46..3106ea7 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Modem could also be used for **LoRa Codec2 digital voice DV communication** # Compatible Boards All work was done on ESP32-WROOM with custom made LoRa shield, Arduino Board is "ESP32 Dev Module". -Supported modules - all supported by [RadioLib](https://github.com/jgromes/RadioLib) +Supported modules - modules, which are supported by [RadioLib](https://github.com/jgromes/RadioLib). If your ESP32 board is compatible or has built in LoRa module then it should work without redefining pinouts, for custom shields there might be need to redefine pinouts to LoRa module if it differs (see further description in Software Setup section), currently pinouts are connected from LoRa to ESP32-WROOM as (SS/RST/DIO0 could be redefined in config.h): @@ -76,7 +76,7 @@ Install via libraries: # Software Setup - Decide if you want to use arduino-LoRa or RadioLib library, uncomment `USE_RADIOLIB` in sketch if you want to use RadioLib - - If you are using RadioLib and not using SX1278 module then modify module declarations in `loraprs_service.cpp` and `loraprs_service.h` find and replace `SX1278` with your module name. Consult [RadioLib Wiki](https://github.com/jgromes/RadioLib/wiki). + - If you are using RadioLib and not using SX1278 module then modify module declarations in `loraprs_service.cpp` and `loraprs_service.h` find and replace `SX1278` with your module name. Read more about supported modules at [RadioLib Wiki](https://github.com/jgromes/RadioLib/wiki). - **NB! select next partition scheme for ESP32 in Arduino IDE Tools menu:** "Minimal SPIFFS (1.9 MB APP with OTA/190 KB SPIFFS)" - for boards, which do not have this option, need to modify `~/.arduino15/packages/esp32/hardware/esp32/1.0.4/boards.txt` and add required partition option - **use 80 MHz ESP32 frequency** in Arduino SDK, it will prolong battery life when operating portable, higher CPU speed is not required, there are no CPU intensive operations From 2e6b1ac4a230c1eece7c3df14c50561c2e623a64 Mon Sep 17 00:00:00 2001 From: sh123 Date: Wed, 20 Oct 2021 13:40:32 +0300 Subject: [PATCH 3/6] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3106ea7..83b98fa 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,10 @@ Payloads for commands are sent and expected as big endian and defined as: int16_t rssi; int16_t snr; // snr * 100 } __attribute__((packed)); + + // KISS command 8 + struct RebootModem { + } __attribute__((packed)); ``` # Using External UHF Amplifier From 4f2d6ed5cdd847fb8095fa9391a4b6083599b4f7 Mon Sep 17 00:00:00 2001 From: sh123 Date: Wed, 20 Oct 2021 13:41:10 +0300 Subject: [PATCH 4/6] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 83b98fa..768e21e 100644 --- a/README.md +++ b/README.md @@ -222,6 +222,5 @@ It is possible to get 30-40% TX only coverage increase in urban environment by u - It might be useful to add additional pass band filter or broadcast FM radio reject filter, it seem to improve sensitivity when using external base antenna # TODO -- Support for more devices and devices with built-in OLED screen (merge from [branch](https://github.com/RadioHome/esp32_loraprs/tree/oled)) -- Investigate support for [M17 Protocol](http://m17project.org) reflector gating in addition to APRS-IS when M17 protocol is used by the client application - Improve CSMA logic and if possible add support for CAD +- Investigate support for [M17 Protocol](http://m17project.org) reflector gating in addition to APRS-IS when M17 protocol is used by the client application From 26d9f7b18499bf90b415580d5314e1cf7148b4d4 Mon Sep 17 00:00:00 2001 From: sh123 Date: Wed, 20 Oct 2021 13:41:47 +0300 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 768e21e..59273ec 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,8 @@ Require LoRa module pinout definitions in `config.h`: # Software Dependencies Install via libraries: - Arduino ESP32 library: https://github.com/espressif/arduino-esp32 - - or RadioLib library (use github master version): https://github.com/jgromes/RadioLib - LoRa arduino library: https://github.com/sandeepmistry/arduino-LoRa + - or RadioLib library (use github master version): https://github.com/jgromes/RadioLib - Arduino Timer library: https://github.com/contrem/arduino-timer - CircularBuffer library: https://github.com/rlogiacco/CircularBuffer From 59a4a0c3b942c1e6a33f3ee5fdf8756a314e5318 Mon Sep 17 00:00:00 2001 From: sh123 Date: Wed, 20 Oct 2021 13:42:30 +0300 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59273ec..a18c3ab 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Install via libraries: - CircularBuffer library: https://github.com/rlogiacco/CircularBuffer # Software Setup -- Decide if you want to use arduino-LoRa or RadioLib library, uncomment `USE_RADIOLIB` in sketch if you want to use RadioLib +- Decide if you want to use arduino-LoRa or RadioLib library, you have to use RadioLib library if you are NOT using `SX127x` module, uncomment `USE_RADIOLIB` in sketch if you want to use RadioLib - If you are using RadioLib and not using SX1278 module then modify module declarations in `loraprs_service.cpp` and `loraprs_service.h` find and replace `SX1278` with your module name. Read more about supported modules at [RadioLib Wiki](https://github.com/jgromes/RadioLib/wiki). - **NB! select next partition scheme for ESP32 in Arduino IDE Tools menu:** "Minimal SPIFFS (1.9 MB APP with OTA/190 KB SPIFFS)" - for boards, which do not have this option, need to modify `~/.arduino15/packages/esp32/hardware/esp32/1.0.4/boards.txt` and add required partition option