RAK5010 GPS turning on and off to save power. #7538
Replies: 1 comment
-
Posted at 2021-07-21 by yngv126399 you can double check here, but it looks like you just call Posted at 2021-07-22 by user132204 @yngv126399 that's so simple. I wasn't exactly sure from the documentation. Thanks I will test it out. Posted at 2021-09-04 by user133902 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 I cant see where P1.07 is defined in espruino in order to write it ... Any suggestions ? TIA. moodz Posted at 2021-09-04 by Robin Sat 2021.09.04
That reference is more likely a RAK or Nordic convention. Please supply the link to the RAK5010 overview doc, along with the circuit is shown in Figures 13 and 14 link, so that we may follow along to provide the suggestion you are after. Posted at 2021-09-04 by user133902 Thanks Robin .... I found the fix from examining the source in .. The pin is defined but the code never turns the power on ?? ... GPS_EN is mapped to D39 in PINS earlier ... So I used this in my code .. sets the GPS antenna power on. Checked it ( carefully ... ) with the voltmeter .... 3.6 volts with D39 set to 1 and zero volts when D39 set to 0. moodz Posted at 2021-09-04 by Robin Sat 2021.09.04 GPS_EN was the next suggestion I had in mind, but wanted to verify with your documentation first.
By 'broken' , Is it that the output is not complete? Is it possible that much more time is needed to sync in more satelites for an accurate reading? Although I'm not familiar with the RAK, I remember that the UBLOX GPS required an initial five minutes or so, in order to sync with at least six satelites, before reliable data was observed. Posted at 2021-09-05 by user133902 I am a js noob ...but you are right it looks like the RAK5010 takes a few minutes to acquire initial GPS lock and the code seems to re-request the Quectel 96 before it's replied to previous requests. Posted at 2021-09-05 by Robin Sun 2021.09.05 Don't be so hard on yourself @user133902 , took me quite a bit of time to learn all the idiosyncrasies of each module, and on which bus type they each passed data. Check out this thread I created several years back showing images of the data stream with GPS. Glad you now have a working solution. . . . Posted at 2021-09-14 by @gfwilliams Sorry for the delay, I was away last week. Thanks for this - I'll ensure I update the library to set GPS_EN. Did you ever figure out the fix parsing? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-07-21 by user132204
Hi I am interested in starting up the GPS on the RAK5010 module but the documentation only details turning it on in the call
require("iTracker").setGPSOn(true, function(err, gps){});
Is the an equivalent method similar to turn it off to save power?
Beta Was this translation helpful? Give feedback.
All reactions