letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.29k stars 2.22k forks source link

[GPS] Add power down mode to GPS #3799

Open TD-er opened 3 years ago

TD-er commented 3 years ago

See example code (and great analysis) here: https://github.com/StuartsProjects/GPSTutorial

N.B. some modules from other brands still use uBlox modules, like the BN220, which apparently uses uBlox M8.

ToDo:

TD-er commented 3 years ago

Initially #3849 was meant to implement all of this, but sadly sending commands to a GPS module isn't as simple as it seems. Apparently the receiving module may sometimes be so chatty that it corrupts its own receive buffer and thus signalling invalid messages. After 100 of those, it simply mutes its own RX (luckily this is sent in a TXT NMEA message) for a while.

So this issue is still not complete.

TD-er commented 3 years ago

Another option is to create a separate u-blox mode and then using this library: https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library