I recently purchased a WISBLOCK kit 2 which comes with a u-blox ZOE-M8Q GNSS GPS module (RAK12500). I bought the node to send GPS coordinates to my gateway using LoRa, but when trying to run this example code linked below, I get a few issues.
WisBlock/examples/RAK4630/solutions/GPS_Tracker/GPS_Tracker.ino at master · RAKWireless/WisBlock · GitHub
When running the code I am always met with “No Location Found”. The accelerometer works fine, but GPS module never seems to give me a location.
At first, I thought I might have had a faulty GPS module, so I tried testing it using the example codes found on the product page here ZOE-M8Q GNSS Location Sensor Modules | u-blox GNSS | ublox Arduino – RAKwireless Store.
To my surprise both example codes worked flawlessly and gave accurate GPS coordinates.
After confirming that the module was working I took another look at the github readme section of the GPS_Tracker and found this section " If there’s no GPS coordinate transmission even if you are sure that the accelerometer is already in the right trigger orientation if (abs(x - z) < 400)
, then you need to check the RAK1910 GPS module if you can get GPS signal. Please have a look on this [initial RAK1910 quick test].
I tried running the Initial RAK1910 quick test and was not able to get a GPS coordinate. The guide said it could take a few seconds to a few minutes to receive coordinates, but even after leaving the code running for nearly an hour in direct view of the sky, I never got any location data.
Upon further inspection all example codes that do not work make use of the GNSS library TinyGPS, while all functioning codes make use of the SparkFun_u-blox_GNSS_Arduino_ Library.
I wanted to see if anybody could help me get the GPS_Tracker code working?
*Note: The WISBLOCK successfully communicates with my gateway; however, it never sends anything since it never receives location data.