mods to repair ESP32 hangs

This commit is contained in:
richonguzman 2023-01-28 13:40:50 -03:00
parent d74d20074f
commit 818d7a422c
3 changed files with 38 additions and 13 deletions

View File

@ -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). 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: 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/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/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/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) - https://github.com/sh123/esp32_loraprs (inspiration for accesing the Lora Module with Radiolib library)
______________________________________________________________________
things to do: things to do:
- add wiki - 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 translation to Spanish (and German?)
- add OLED Screen (allready Bought)
- add schematic for the wiring - add schematic for the wiring
- add info of 5V DC stepup and charging battery - add info of 5V DC stepup and charging battery
- add battery monitoring + charging
- add photos of prototipe - add photos of prototipe
- add PCB (with eagle and gerber) - add PCB (with eagle and gerber)

View File

@ -19,7 +19,7 @@ https://github.com/sh123/esp32_loraprs
#include "lora_config.h" #include "lora_config.h"
#include "beacon_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); SX1268 radio = new Module(NSS, DIO1, NRST, BUSY);
HardwareSerial neo6m_gps(1); HardwareSerial neo6m_gps(1);

View File

@ -6,10 +6,26 @@
#define FastRate 60 // Seg #define FastRate 60 // Seg
#define FastSpeed 20 // Km/h (20 Runner y Bike, 70 Car) #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 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 MinimumTimeDeltaBeacon 5 // Seg between Tx
#define SendAltitude true // "true" adds Altitude to the APRS packet/message, "false" add Course+Speed #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 #define SendComment false // "true" adds comment to the APRS packet/message
#endif #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
*/