transportkollektiv / feuchtraumabzweigdose-testing

Test bed software for the Feuchtraumabzweigdose PCB and similar boards, ported from existing TTGO code
GNU General Public License v3.0
1 stars 1 forks source link

Light sleep while waiting for GPS fix #1

Closed stkdiretto closed 3 years ago

stkdiretto commented 4 years ago

Currently, the tracker waits actively for the GPS to acquire a fix. This usually takes between 20 to 120 seconds, in which the µC idles at full power. There should be quite some power saving potential in putting the ESP in light sleep mode and either periodically poll for a valid fix, or only wake up by the PPS signal as an external wakeup source.

jayAitch256 commented 3 years ago

Solved by https://github.com/stadtulm/feuchtraumabzweigdose-testing/commit/4ecdd41d867827f968f57998b4e1adab192ae68e

I chose the polling option since connecting the PPS pin to the PCB does not seem to be intended.