What product do you wish to discuss? RAK4631 + RAK5680
What firmware are you using? Arduino BSP
Computer OS? Windows
How often does the problem happen? Repeatable/Every Time
How can we replicate the problem?
I have purchased the Link.One (RAK4631 + RAK5680) and have been trying to get the example GNSS code to work: https://github.com/RAKWireless/WisBlock/tree/master/examples/common/communications/Cellular/RAK5860_BG77_Module/RAK5860_GNSS_Satellite
+CME ERROR: 516
AT+QGPSLOC?
+CME ERROR: 516
AT+QGPSGNMEA="GSV"
OK
AT+QGPSLOC=1
+CME ERROR: 516
AT+QGPSLOC?
+CME ERROR: 516
AT+QGPSGNMEA="GSV"
OK
This repeats forever. Testing outside in clear sky.
The following topic suggests that maybe the example might be incomplete
https://forum.rakwireless.com/t/rak5860-wisblock-nb-iot-bg77-series-gnss/3522/39
Does the example require the following entries to work
#define BG77_POWER_KEY 4 //WB_IO1
#define BG77_GPS_ENABLE 34 //WB_IO2
#define BG77_POWER_KEY 17
any suggestions?
Thanks
Can anyone have a look at the following sketch and give me an idea as to why the module cant get a GPS fix?
5860_GPS.ino
I used the device outside clera sky for 10 minutes and it never gets a fix:
Modem response after start:
ATI
Quectel
BG77
Revision: BG77LAR02A04
OK
BG77 power up!
AT
OK
AT+QGPS=1
+CME ERROR: 504
loop1
AT+QGPSLOC?
+CME ERROR: 516
In what way does NOT having a battery or seperate power supply to the baseboard effect the functionality? Does not having a bettery cause GPS not to get a fix? Does it impact cellular connections?
beegee
(Bernd Giesecke)
July 11, 2023, 5:13am
4
Welcome to the forum @heraldoftech
Works for me:
13:02:50->AT+QGPSLOC?
+CME ERROR: 516
13:02:51->AT+QGPSLOC?
+CME ERROR: 516
13:02:52->AT+QGPSLOC?
+CME ERROR: 516
13:02:53->AT+QGPSLOC?
+CME ERROR: 516
13:02:54->AT+QGPSLOC?
+CME ERROR: 516
13:02:55->AT+QGPSLOC?
+CME ERROR: 516
13:02:56->AT+QGPSLOC?
+CME ERROR: 516
13:02:57->AT+QGPSLOC?
+CME ERROR: 516
13:02:58->AT+QGPSLOC?
+CME ERROR: 516
13:02:59->AT+QGPSLOC?
+CME ERROR: 516
13:03:00->AT+QGPSLOC?
+CME ERROR: 516
13:03:01->AT+QGPSLOC?
+CME ERROR: 516
13:03:02->AT+QGPSLOC?
+CME ERROR: 516
13:03:03->AT+QGPSLOC?
+QGPSLOC: 050300.47,1425.2847N,12100.4148E,1.4,42.0,3,0.00,0.1
13:03:03->AT+QGPSLOC?
+QGPSLOC: 050300.47,1425.2847N,12100.4148E,1.4,42.0,3,0.00,0.1
However, when using the RAK5860, I always use a battery.
If that doesn’t help, double check the connection and wire of the GNSS antenna.
1 Like
Thanks @beegee - is that using the sketch I linked or the version from rakwireless github?
Connections have been checked (was assembled from factory) so thinking it might be the battery.
I’ll get a battery and report back.
beegee
(Bernd Giesecke)
July 12, 2023, 7:53am
6
It is the code that you sent.
1 Like
system
(system)
Closed
July 20, 2023, 4:30am
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.