When I turn on the GPS using ...
require("iTracker").setGPSOn(true, function(err, gps) .. blah blah
The setGPSOn does not apparently turn the power on to the GPS antenna . The GPS antenna is active and requires power to be set on.
P1.07 has to be set high ....
from the RAK5010 overview doc ...
GPS Antenna Power Supply Control
To support low power and long battery life, the active GPS antenna power supply should be shut down when system doesn’t access the data from the GPS module. The GPS power supply is controlled by nRF52840 with MOSFET. The pin map of GPS_EN on Nrf52840 is P1.07, and the circuit is shown in Figures 13 and 14:
Set P1.07=1, GPS antenna power is on.
Set P1.07=0, GPS antenna power is off.
I cant see where P1.07 is defined in espruino in order to write it ...
Any suggestions ? TIA.
© Espruino, powered by microcosm.
Report a problem