mirror of
https://github.com/lora-aprs/LoRa_APRS_Tracker.git
synced 2025-12-06 07:12:15 +01:00
Compare commits
35 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d97a929848 | ||
|
|
9617b11a29 | ||
|
|
42b48e4590 | ||
|
|
0ad62b2067 | ||
|
|
31c82ceda7 | ||
|
|
995fd8b8bf | ||
|
|
38efc5de1e | ||
|
|
2b88658daf | ||
|
|
ee1368f7ba | ||
|
|
9e8e283e29 | ||
|
|
3a2e0f8e57 | ||
|
|
2626f9d1f8 | ||
|
|
9587b58822 | ||
|
|
1ce2a760c3 | ||
|
|
3fbb68d9ea | ||
|
|
d98c5fdd09 | ||
|
|
761412dbf7 | ||
|
|
e571d96331 | ||
|
|
f889c52b56 | ||
|
|
72c33cbf9f | ||
|
|
04287e4e1f | ||
|
|
4bed05d498 | ||
|
|
cdee7e75cd | ||
|
|
c4e39cb214 | ||
|
|
293ca3378f | ||
|
|
872132d1b7 | ||
|
|
dc7dcaf083 | ||
|
|
95ca590cb2 | ||
|
|
634f8d492f | ||
|
|
ff0b8a655f | ||
|
|
84645e8476 | ||
|
|
16a74ba536 | ||
|
|
eda125b79a | ||
|
|
af4827cfff | ||
|
|
ceda1518e9 |
1
.github/workflows/buid_check.yml
vendored
1
.github/workflows/buid_check.yml
vendored
|
|
@ -8,6 +8,7 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -1,3 +1,14 @@
|
|||
# Status update – September 2025
|
||||
|
||||
Over the past year, my focus has shifted to other projects, and I’ve decided it’s time to close the chapter on this one. I will no longer provide updates or support, and the repository will be archived.
|
||||
|
||||
This project has been a fun journey, and I’d like to thank everyone who used, contributed, or shared feedback along the way. Your interest and support kept it alive far longer than I originally expected.
|
||||
|
||||
If you’re looking for a great alternative, I recommend [CA2RXU LoRa APRS Tracker/Station](https://github.com/richonguzman/LoRa_APRS_Tracker).
|
||||
|
||||
73,
|
||||
OE5BPA
|
||||
|
||||
# LoRa APRS Tracker
|
||||
|
||||
The LoRa APRS Tracker will work with very cheep hardware which you can buy from amazon, ebay or aliexpress.
|
||||
|
|
@ -10,7 +21,8 @@ Try it out and be part of the APRS network.
|
|||
You can use one of the Lora32 boards:
|
||||
|
||||
* TTGO T-Beam V0.7 (433MHz SX1278)
|
||||
* TTGO T-Beam V1 (433MHz SX1278)
|
||||
* TTGO T-Beam V1.0 and V1.1 (433MHz SX1278)
|
||||
* TTGO T-Beam V1.2 AXP2101 (433MHz SX1278)
|
||||
|
||||
This boards cost around 30 Euros, they are very cheap but perfect for an LoRa iGate.
|
||||
Keep in minde: you need a 433MHz version!
|
||||
|
|
|
|||
|
|
@ -2,19 +2,19 @@
|
|||
default_envs = ttgo-t-beam-v1
|
||||
|
||||
[env]
|
||||
platform = espressif32 @ 6.3.2
|
||||
platform = espressif32 @ 6.7.0
|
||||
framework = arduino
|
||||
lib_ldf_mode = deep+
|
||||
monitor_speed = 115200
|
||||
monitor_filters = esp32_exception_decoder
|
||||
lib_deps =
|
||||
adafruit/Adafruit GFX Library @ 1.11.7
|
||||
adafruit/Adafruit SSD1306 @ 2.5.7
|
||||
bblanchon/ArduinoJson @ 6.21.2
|
||||
lewisxhe/XPowersLib @ 0.1.8
|
||||
adafruit/Adafruit GFX Library @ 1.11.9
|
||||
adafruit/Adafruit SSD1306 @ 2.5.10
|
||||
bblanchon/ArduinoJson @ 7.0.4
|
||||
lewisxhe/XPowersLib @ 0.2.4
|
||||
sandeepmistry/LoRa @ 0.8.0
|
||||
peterus/APRS-Decoder-Lib @ 0.0.6
|
||||
mikalhart/TinyGPSPlus @ 1.0.3
|
||||
mikalhart/TinyGPSPlus @ 1.1.0
|
||||
paulstoffregen/Time @ 1.6
|
||||
shaggydog/OneButton @ 1.5.0
|
||||
peterus/esp-logger @ 1.0.0
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include "pins.h"
|
||||
#include "power_management.h"
|
||||
|
||||
#define VERSION "23.36.0"
|
||||
#define VERSION "23.36.01"
|
||||
|
||||
logging::Logger logger;
|
||||
|
||||
|
|
@ -71,24 +71,12 @@ static void toggle_display() {
|
|||
void setup() {
|
||||
Serial.begin(115200);
|
||||
|
||||
#ifdef TTGO_T_Beam_V1_0
|
||||
#if defined(TTGO_T_Beam_V1_0) || defined(TTGO_T_Beam_V1_2)
|
||||
Wire.begin(SDA, SCL);
|
||||
if (powerManagement->begin(Wire)) {
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "AXP192", "init done!");
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "PMU", "init done!");
|
||||
} else {
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_ERROR, "AXP192", "init failed!");
|
||||
}
|
||||
powerManagement->activateLoRa();
|
||||
powerManagement->activateOLED();
|
||||
powerManagement->activateGPS();
|
||||
powerManagement->activateMeasurement();
|
||||
#endif
|
||||
#ifdef TTGO_T_Beam_V1_2
|
||||
Wire.begin(SDA, SCL);
|
||||
if (powerManagement->begin(Wire)) {
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "AXP2101", "init done!");
|
||||
} else {
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_ERROR, "AXP2101", "init failed!");
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_ERROR, "PMU", "init failed!");
|
||||
}
|
||||
powerManagement->activateLoRa();
|
||||
powerManagement->activateOLED();
|
||||
|
|
@ -197,7 +185,7 @@ void loop() {
|
|||
static bool BatteryIsConnected = false;
|
||||
static String batteryVoltage = "";
|
||||
static String batteryChargeCurrent = "";
|
||||
#ifdef TTGO_T_Beam_V1_0
|
||||
#if defined(TTGO_T_Beam_V1_0) || defined(TTGO_T_Beam_V1_2)
|
||||
static unsigned int rate_limit_check_battery = 0;
|
||||
if (!(rate_limit_check_battery++ % 60)) {
|
||||
BatteryIsConnected = powerManagement->isBatteryConnect();
|
||||
|
|
@ -301,7 +289,10 @@ void loop() {
|
|||
aprsmsg += BeaconMan.getCurrentBeaconConfig()->message;
|
||||
}
|
||||
if (BatteryIsConnected) {
|
||||
aprsmsg += " - _Bat.: " + batteryVoltage + "V - Cur.: " + batteryChargeCurrent + "mA";
|
||||
aprsmsg += " - Bat.: " + batteryVoltage + "V";
|
||||
#ifdef TTGO_T_Beam_V1_0
|
||||
aprsmsg += " - Cur.: " + batteryChargeCurrent + "mA";
|
||||
#endif
|
||||
}
|
||||
|
||||
if (BeaconMan.getCurrentBeaconConfig()->enhance_precision) {
|
||||
|
|
@ -376,6 +367,9 @@ void loop() {
|
|||
would lead to decrease of beacon rate in between 5 to 20 km/h. what
|
||||
is even below the slow speed rate.
|
||||
*/
|
||||
if (curr_speed == 0) {
|
||||
curr_speed = 1;
|
||||
}
|
||||
txInterval = min(BeaconMan.getCurrentBeaconConfig()->smart_beacon.slow_rate,
|
||||
BeaconMan.getCurrentBeaconConfig()->smart_beacon.fast_speed * BeaconMan.getCurrentBeaconConfig()->smart_beacon.fast_rate / curr_speed) *
|
||||
1000;
|
||||
|
|
|
|||
|
|
@ -146,13 +146,13 @@ bool AXP2101::begin(TwoWire &port) {
|
|||
_pmu->enablePowerOutput(XPOWERS_ALDO3);
|
||||
|
||||
// disable all axp chip interrupt
|
||||
_pmu->disableIRQ(XPOWERS_AXP192_ALL_IRQ);
|
||||
_pmu->disableIRQ(XPOWERS_AXP2101_ALL_IRQ);
|
||||
|
||||
// Set constant current charging current
|
||||
_pmu->setChargerConstantCurr(XPOWERS_AXP192_CHG_CUR_780MA);
|
||||
_pmu->setChargerConstantCurr(XPOWERS_AXP2101_CHG_CUR_800MA);
|
||||
|
||||
// Set up the charging voltage
|
||||
_pmu->setChargeTargetVoltage(XPOWERS_AXP192_CHG_VOL_4V2);
|
||||
_pmu->setChargeTargetVoltage(XPOWERS_AXP2101_CHG_VOL_4V2);
|
||||
|
||||
_pmu->setChargingLedMode(XPOWERS_CHG_LED_CTRL_CHG);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue