From 818d7a422cc7ee0fe069e410b8384762ee16682a Mon Sep 17 00:00:00 2001 From: richonguzman Date: Sat, 28 Jan 2023 13:40:50 -0300 Subject: [PATCH] mods to repair ESP32 hangs --- README.md | 29 +++++++++++++++++++---------- src/Lora_1W_APRS_Tracker.cpp | 2 +- src/beacon_config.h | 20 ++++++++++++++++++-- 3 files changed, 38 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 040002e..d60a3e8 100644 --- a/README.md +++ b/README.md @@ -7,29 +7,38 @@ This LORA APRS Tracker will work with very cheep hardware (amazon, ebay or aliex This project uses Enconded APRS GPS packet to extends range by saving bytes (increased battery life, higher chances of good packet reception (increased range), lower probability of packet collisions (more channel capacity) and 1 Watt LoRa Module (over the usual 0.1 Watt in commercial boards like the LILYGO T-Beam V.1). +______________________________________________________________________ + +Achievements: + +- changing CALLSINGs with the "long" push of a button. +- custom smartbeacon values for each CALLSIGN +- force Tx with the "short" push of a button. +- send enconded GPS data packet for shorter and realiable comunication. +- To add (shortly) working on it + +- turn_slope for course angle smartbeacon +- oled screen (allready bought ... and waiting.. ) +- SendAltitude: encoded instead of just "Course+Speed" without adding lenght to the APRS packet. +- SendComment: for a GPS position or distance to certain GPS point +- Send Status: for a GPS position or distance to certain GPS point +- Send Message to anothe APRS capable Radio/Handy/tracker/iGate or even Twitter ;) +- Battery Monitoring (voltage, consumption, low_battery warning, charging?) - - - +______________________________________________________________________ This Repository is based on lots of other Lora APRS Tracker ideas like: - https://github.com/lora-aprs/LoRa_APRS_Tracker (the start with LILYGO T-BEAM v.1) - https://github.com/aprs434/lora.tracker (the great encoding position modification) - https://github.com/Mane76/lora.tracker (great ideas about changing callsign and other mods) - https://github.com/sh123/esp32_loraprs (inspiration for accesing the Lora Module with Radiolib library) - - - +______________________________________________________________________ things to do: - add wiki -- add status update (on the works) -- add message to another APRS capable Radio (on the works) - add translation to Spanish (and German?) -- add OLED Screen (allready Bought) - add schematic for the wiring - add info of 5V DC stepup and charging battery -- add battery monitoring + charging - add photos of prototipe - add PCB (with eagle and gerber) diff --git a/src/Lora_1W_APRS_Tracker.cpp b/src/Lora_1W_APRS_Tracker.cpp index 6104279..4e43b19 100644 --- a/src/Lora_1W_APRS_Tracker.cpp +++ b/src/Lora_1W_APRS_Tracker.cpp @@ -19,7 +19,7 @@ https://github.com/sh123/esp32_loraprs #include "lora_config.h" #include "beacon_config.h" -#define VERSION "2023.01.24" // BETA!!! +#define VERSION "2023.01.28" // BETA!!! SX1268 radio = new Module(NSS, DIO1, NRST, BUSY); HardwareSerial neo6m_gps(1); diff --git a/src/beacon_config.h b/src/beacon_config.h index 8cd3e92..d155687 100644 --- a/src/beacon_config.h +++ b/src/beacon_config.h @@ -6,10 +6,26 @@ #define FastRate 60 // Seg #define FastSpeed 20 // Km/h (20 Runner y Bike, 70 Car) #define TurnDegrees 20 // Degrees before Forced Beacon Tx (20 Car , 15 Bike/Runner) -#define MinimumDistanceTx 30 // Mts (20 Runner, 100 Car/Bike) +#define MinimumDistanceTx 3 // Mts (20 Runner, 100 Car/Bike) #define MinimumTimeDeltaBeacon 5 // Seg between Tx #define SendAltitude true // "true" adds Altitude to the APRS packet/message, "false" add Course+Speed #define SendComment false // "true" adds comment to the APRS packet/message -#endif \ No newline at end of file +#endif + +/* +"callsign": "NOCALL-10", + "timeout": 1, + "symbol": "b", + "overlay": "/", + "smart_beacon": { + "active": true, + "turn_min": 15, + "slow_rate": 120, + "slow_speed": 5, + "fast_rate": 60, + "fast_speed": 20, + "min_tx_dist": 100, + "min_bcn": 5 +*/ \ No newline at end of file