mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-08-11 03:12:52 +02:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 02d9448762 | |||
| 61fc6b5f2a | |||
| b45f378817 | |||
| e11b2f5e4a | |||
| c805c06e53 | |||
| 2a54830d08 |
@@ -85,6 +85,8 @@ jobs:
|
|||||||
chip: esp32c3
|
chip: esp32c3
|
||||||
- name: QRPLabs_LightGateway_1_0
|
- name: QRPLabs_LightGateway_1_0
|
||||||
chip: esp32s3
|
chip: esp32s3
|
||||||
|
- name: QRPLabs_LightGateway_Plus_1_0
|
||||||
|
chip: esp32s3
|
||||||
- name: XIAO_ESP32S3_WIO_SX1262
|
- name: XIAO_ESP32S3_WIO_SX1262
|
||||||
chip: esp32s3
|
chip: esp32s3
|
||||||
- name: TROY_LoRa_APRS
|
- name: TROY_LoRa_APRS
|
||||||
|
|||||||
@@ -38,9 +38,13 @@ ____________________________________________________
|
|||||||
|
|
||||||
- T-Deck Plus (and also regular T-Deck with/without GPS).
|
- T-Deck Plus (and also regular T-Deck with/without GPS).
|
||||||
|
|
||||||
- HELTEC V2, V3 , Wireless Stick, Wireless Stick Lite, HT-CT62, Wireless Tracker, Wireless Paper.
|
- HELTEC V2, V3, V3.2, T114 Wireless Stick, Wireless Stick Lite, HT-CT62, Wireless Tracker, Wireless Paper.
|
||||||
|
|
||||||
- QRP Labs LightGateway 1.0.
|
- RAK Wireless 4631 + 19007(19003)
|
||||||
|
|
||||||
|
- Faketec (NRF52840 + Heltec HTRA62(SX1262))
|
||||||
|
|
||||||
|
- QRP Labs LightGateway 1.0 and Plus 1.0.
|
||||||
|
|
||||||
- ESP32 Wroom + SX1278 LoRa Module or Ebyte 400M30S (or 900M30S) 1W LoRa Module for a DIY Versions.
|
- ESP32 Wroom + SX1278 LoRa Module or Ebyte 400M30S (or 900M30S) 1W LoRa Module for a DIY Versions.
|
||||||
|
|
||||||
@@ -54,7 +58,8 @@ ____________________________________________________
|
|||||||
|
|
||||||
## Timeline (Versions):
|
## Timeline (Versions):
|
||||||
|
|
||||||
- 2025-04-20000000
|
- 2025.06.20 Digipeaters now with updated EcoMode (Board Sleeps until packet Rx reducing current consumption to almost 10% at idle).
|
||||||
|
- 2025.06.19 DateVersion format Change. Licence changed into GNU GPLv3.
|
||||||
- 2025.03.20 Manager List added to enable/disable DigiEcoMode and Tx Control. Thanks LB5JJ.
|
- 2025.03.20 Manager List added to enable/disable DigiEcoMode and Tx Control. Thanks LB5JJ.
|
||||||
- 2025.03.03 T-Beam Supreme board added and more BlackList rules added.
|
- 2025.03.03 T-Beam Supreme board added and more BlackList rules added.
|
||||||
- 2025.02.28 Heltec Wireless Paper with Epaper working. Thanks SzymonPriv for pointing to the right library.
|
- 2025.02.28 Heltec Wireless Paper with Epaper working. Thanks SzymonPriv for pointing to the right library.
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <SPIFFS.h>
|
#include <SPIFFS.h>
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
|
#include "board_pinout.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
|
||||||
|
|
||||||
@@ -48,6 +49,9 @@ void Configuration::writeFile() {
|
|||||||
|
|
||||||
data["digi"]["mode"] = digi.mode;
|
data["digi"]["mode"] = digi.mode;
|
||||||
data["digi"]["ecoMode"] = digi.ecoMode;
|
data["digi"]["ecoMode"] = digi.ecoMode;
|
||||||
|
#if defined(HAS_A7670)
|
||||||
|
if (digi.ecoMode == 1) data["digi"]["ecoMode"] = 2;
|
||||||
|
#endif
|
||||||
|
|
||||||
data["lora"]["rxFreq"] = loramodule.rxFreq;
|
data["lora"]["rxFreq"] = loramodule.rxFreq;
|
||||||
data["lora"]["txFreq"] = loramodule.txFreq;
|
data["lora"]["txFreq"] = loramodule.txFreq;
|
||||||
@@ -171,6 +175,10 @@ bool Configuration::readFile() {
|
|||||||
digi.ecoMode = data["digi"]["ecoMode"] | 0;
|
digi.ecoMode = data["digi"]["ecoMode"] | 0;
|
||||||
if (digi.ecoMode == 1) shouldSleepStop = false;
|
if (digi.ecoMode == 1) shouldSleepStop = false;
|
||||||
|
|
||||||
|
#if defined(HAS_A7670)
|
||||||
|
if (digi.ecoMode == 1) digi.ecoMode = 2;
|
||||||
|
#endif
|
||||||
|
|
||||||
loramodule.txFreq = data["lora"]["txFreq"] | 433775000;
|
loramodule.txFreq = data["lora"]["txFreq"] | 433775000;
|
||||||
loramodule.rxFreq = data["lora"]["rxFreq"] | 433775000;
|
loramodule.rxFreq = data["lora"]["rxFreq"] | 433775000;
|
||||||
loramodule.spreadingFactor = data["lora"]["spreadingFactor"] | 12;
|
loramodule.spreadingFactor = data["lora"]["spreadingFactor"] | 12;
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ namespace SLEEP_Utils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
#ifndef HAS_A7670
|
||||||
if (Config.digi.ecoMode == 1) {
|
if (Config.digi.ecoMode == 1) {
|
||||||
pinMode(RADIO_WAKEUP_PIN, INPUT);
|
pinMode(RADIO_WAKEUP_PIN, INPUT);
|
||||||
attachInterrupt(digitalPinToInterrupt(RADIO_WAKEUP_PIN), wakeUpLoRaPacketReceived, RISING);
|
attachInterrupt(digitalPinToInterrupt(RADIO_WAKEUP_PIN), wakeUpLoRaPacketReceived, RISING);
|
||||||
@@ -39,6 +40,7 @@ namespace SLEEP_Utils {
|
|||||||
esp_deep_sleep_enable_gpio_wakeup(1ULL << GPIO_WAKEUP_PIN, ESP_GPIO_WAKEUP_GPIO_HIGH);
|
esp_deep_sleep_enable_gpio_wakeup(1ULL << GPIO_WAKEUP_PIN, ESP_GPIO_WAKEUP_GPIO_HIGH);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t getSecondsToSleep() {
|
uint32_t getSecondsToSleep() {
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ float newHum, newTemp, newPress, newGas;
|
|||||||
Adafruit_BME280 bme280;
|
Adafruit_BME280 bme280;
|
||||||
#if defined(HELTEC_V3) || defined(HELTEC_V3_2)
|
#if defined(HELTEC_V3) || defined(HELTEC_V3_2)
|
||||||
Adafruit_BMP280 bmp280(&Wire1);
|
Adafruit_BMP280 bmp280(&Wire1);
|
||||||
Adafruit_Si7021 sensor = Adafruit_Si7021();
|
Adafruit_Si7021 si7021 = Adafruit_Si7021();
|
||||||
#else
|
#else
|
||||||
Adafruit_BMP280 bmp280;
|
Adafruit_BMP280 bmp280;
|
||||||
Adafruit_BME680 bme680;
|
Adafruit_BME680 bme680;
|
||||||
|
|||||||
Reference in New Issue
Block a user