Acceleration threshold for location.periodic movement detection?

The documentation says that

To preserve battery, when the Notecard’s GPS module is in periodic mode, GPS is only enabled if the built-in accelerometer detects movement since the last GPS enable.

How much does the notecard have to move? I have an application that has a lot of vibration, but very little translation. Are there any additional resources that describe the threshold and/or algorithm that determine whether or not the Notecard has “moved?”

Hi @daterdots,

Normally it takes very little motion to “trigger” the accelerometer on the Notecard. If you look at the card.motion.mode API, you’ll see a sensitivity argument that lets you set the accelerometer sample rate as well. You can try increasing this value to see if your results improve, as sometimes subtle vibrations are not registered at the default setting.

Rob

I am having the opposite problem of what I think you’re suggesting. My asset is a trailer with a big generator and other stuff on it. It normally sits outside and vibrates/shakes/people jump on it. When that happens, it has not moved, so I don’t want/need to waste energy with GPS tracking. However, I do want to do GPS tracking if/when the trailer really actually moves down the road. I am hung up on this because this a battery-powered solution and our energy budget is really tight.

I noticed the card.location.treshold that will prevent GPS from being triggered until a large number of motion events have accumulated. I could just set this to a high number, I guess.

I looked through the docs to try to better understand what defines a “motion event,” but I am also unsure how that is defined.

If you were me, and you were trying to track a trailer at an interval of roughly once per hour when it is actually moving down the road but didn’t want to waste energy locking GPS when the trailer is stationary but shaking/vibrating/etc, what would you do?

Hi @daterdots,

Thanks for the explanation…I think I see a couple potential paths forward, but both would require some experimentation:

  1. Set the sensitivity to 1 (least sensitive) and use the card.location.mode/threshold argument to set a higher threshold as you mentioned. What that value should be is very much TBD though!

  2. Alternatively, in firmware you could poll the GPS location at a regular cadence (say, every hour, in periodic mode). If there is a change in location from the previous lat/lon to the current lat/lon, you could change the frequency of gathering GPS location, use continuous mode, etc. It’s not the most elegant solution I admit.

Rob

Hi @daterdots,

We just released the LTS v6.1.1 firmware which may help you in this scenario. With this version of the firmware, you can effectively determine whether a Notecard is in a “moving” state or a “stopped” state. It’s a little complicated, but I wrote up a short guide on how it’s implemented here. Hope that helps!

Rob

1 Like