moshe-braner / Open-Glider-Network-Groundstation

Open Glider Network Receiver based on TTGO T-Beam ESP32 hardware.
https://ros-it.ch/open-glider-network-base-station/
GNU General Public License v3.0
7 stars 4 forks source link

how to turn off GPS? #8

Closed moshe-braner closed 1 month ago

moshe-braner commented 1 year ago

When going into deep sleep, which is important for keeping the battery charged when running on a small solar panel, OGNbase tries to turn the GPS module off. But the red LED keeps blinking. The OGNbase GNSS.cpp is very different from that in SoftRF. If anybody knows how to make the GPS module sleep let me know. Note that power is never completely disconnected from that module, it is needed for keeping the tiny battery (super-capacitor?) of that module charged, so as to keep the GNSS settings memory. Without any power for too long, getting the first fix takes a lot longer.

moshe-braner commented 1 year ago

For now added code to tell the PMU to turn the GPS power off. Better a slow-to-acquire GNSS fix than an empty battery.