cam
April 21, 2017, 6:30am
1
Hi All,
Is it possible to set the tracker software with a GPS fix interval to less that one minute?
If I set fi=0.5, then fi will be set to 0 which results in a greater wait time?
I would like to set the transmit interval to every 10 seconds provided it gets a gps fix.
Is this possible or easy for me to change?
Cheers
Cam
1 Like
Jan
April 21, 2017, 2:41pm
2
Hi,
By how the programm is written and the settings of the RTC it is only possible to use interrupts based on minutes.
However we have an whatsdog builtin. The esiest way it to do set the WDT to 8 seconds and do the fix every 8 seconds.
Keep in mind that the GPS is the most power hungry component on the Sodaq One, your battery will probably drain fast.
Regards,
Jan
cam
April 22, 2017, 6:38am
3
Hi Jan and thanks for the reply.
Power is not an issue here so I would like to change.
Can you tell me how to make this change?
Cheers
Cam
Did you transmmit data successfully to gateway ?
cam
April 23, 2017, 10:11am
5
Not yet, do you have any ideas?
Cheers
Cam
Jan
May 1, 2017, 9:40am
6
Hi,
You can put the function: getGpsFixAndTransmit() in the loop() to enable it every 8 sec
Let me know if this works for you.
If power is no issue, you can also keep the GPS on to have a faster and more accurate fix.
There will be a dutycycle issue when using LoRaWAN.
SF7 might work, any higher SF will return busy after 3 messages.
Regards,
Jan
cam
May 2, 2017, 12:14am
7
Thanks for the reply Jan,
I will try this if I can ever connect the One to a gateway.
Regards
Cam
cam
May 3, 2017, 11:12pm
8
Hi Jan,
I have changed the loop and now it transmits about every 4 seconds, this has been successful over a 15min period using SF7 and SF9 (unable to use SF10, comment in other thread).
I also tested putting a 6 sec delay in the loop(), is this advisable?
Cheers
Cam
sorry to resurrect this old thread, but where exactly did you put the getGpsFixAndTransmit() within the loop - its not changing anything for me at the moment (using V3)