Sending accurate float:32 GPS data via the Sigfox network.
Make sure the transistor is switching. Sometimes the voltage is not enough to make the GPS work. I check that by looking at the GPS module LED.
Hi Luismo. Thanks for your interesting comments. I will try your suggestions. (Though, now the summer vacations are over and I don't have much time to test).
Regarding the 5000 count, it is a backup solution to get a message transmitted if the tracker is inside a building (or similar situation) and the GPS cannot receive the satellites. In this situation, after 5000 messages without a valid position, the while-loop will end and the tracker will transmit a message. (I forgot adding a comment in the code).
The email will have "null" values, but you could see an approximate location through the Sigfox Geolocation Service which has between 1 km and 10 km accuracy. This is better than nothing.
5000 NMEA messages could be a lot, but it will give the GPS time to acquire the satellites after a while switched off, even in poor reception conditions. If the GPS provides a valid position in a short time, the execution will get out of the while-loop long before 5000. You are right, 5000 is at expense of a lot of battery consumption. It is a compromise between giving the GPS time to find its location in poor conditions and battery use.
Hi Isidro. I think that it could be possible. But I recommend you to build a prototype first.
You can see the coverage in the Sigfox website: https://www.sigfox.com/en/coverage
However, the MKRFOX1200 is a very low power device, and I have had poorer coverage experience while riding my bike testing the tracker. (I read some info about the uplink categories, but I cannot find it now). You'll need to test it.
Or connect with your social account:
New here? Create an account