Sodaq One tracker set fix interval to < 1 minute

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

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

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 ?

Not yet, do you have any ideas?

Cheers
Cam

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

Thanks for the reply Jan,

I will try this if I can ever connect the One to a gateway.

Regards
Cam

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)