Turn GPS back on after pytrack.go_to_sleep(gps=False)



  • I am using pytrack.go_to_sleep(gps=False) to enter deep sleep so that the device has minimal power draw. When the device wakes up, I can't get a GPS signal. Is there a way to turn GPS back on within the code (without resetting the device). I want to be able to use as little current as possible when in deep sleep but still have GPS functionality in wake mode.

    My current idea is to somehow reset just P22 and P21, which seem to send/receive data to/from the GPS. Any other ideas?

    I have a Pytrack with WiPy3.


 

Pycom on Twitter