richonguzman / LoRa_APRS_Tracker

LoRa APRS Tracker with Tx and Rx capabilities, Messages, Wx, Winlink and more...
MIT License
212 stars 58 forks source link

Feature proposal: gps shutdown - wakeup #160

Open IU5HKU opened 16 hours ago

IU5HKU commented 16 hours ago

Hi Ricardo, first of all thank you for the lowBatteryVoltage settings, very useful indeed. This isn't an issue, i have another proposal, why not send the shutdown command to the gps module to improve the sleepmode? Ublox gps chips can be put in a "backup mode" where it consume very little current, stated below 200uA, not bad at all. Can be also waked up from this state simply writing some chars over the serial, it needs only some form of "activity" to wake up and do an hot start, so it could retrieve and track satellites from the "backup" mode very quickly...i've see you are using TinyGPS++ as gps library, that is a generic gps library, but you can use simple serial communication to send the "sleep" command to the gps chip, i've read this many years ago...i'll try to retrieve where....here it is:

https://forum.arduino.cc/t/gps-module-power-management/477859/15

as you can read is simply matter to send an array of byte, and all the uBlox chips are compatible with this command. Hope this can help, thank you for your time, have a nice day!

richonguzman commented 15 hours ago

this is ment to replace the current "gpsEcoMode" ? or to add this to boards without AXP2101/AXP192???