# Asset Tracker v2 GPS problem with external antenna

**URL:** https://community.particle.io/t/asset-tracker-v2-gps-problem-with-external-antenna/38822
**Category:** Troubleshooting
**Created:** [January 18, 2018, 10:13pm UTC](https://community.particle.io/t/asset-tracker-v2-gps-problem-with-external-antenna/38822 "2018-01-18T22:13:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![freck](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freck](https://community.particle.io/u/freck)
#### Post date: [January 18, 2018, 10:13pm UTC](https://community.particle.io/t/asset-tracker-v2-gps-problem-with-external-antenna/38822/1 "2018-01-18T22:13:41Z")

</div>

I’ve got the Asset Tracker v2 with an external active antenna. I’m asking it to report coordenates every 30 seconds since it is on a moving object I wish to track down.

It got a fix, inaccurate by 100m, and after that I’ve moved the object but it still reports the same coordenates.

Am I missing something?

Thanks!

---

<div class="post-metadata">

### Author: ![RWB](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rwb/32/22599_2.png) [@RWB](https://community.particle.io/u/RWB)
#### Post date: [January 18, 2018, 10:54pm UTC](https://community.particle.io/t/asset-tracker-v2-gps-problem-with-external-antenna/38822/2 "2018-01-18T22:54:12Z")

</div>

I changed part of the Asset Tracker code to force GPS updates if the old position was past a certain time limit.

> [@Use LIS3DH with Electron](https://community.particle.io/t/use-lis3dh-with-electron/26010/37):
>
> @rickkas7 I got everything working on the i2c bus using your Asset Tracker library slight_smile It’s nice to have a quality Accelerometer to add to my box of tools. I did notice one line that I think needs to be changed regarding the GPS positioning. In the GPS Wait State case you have if (gps.location.isValid()) { I noticed that the program would constantly use the previous GPS Fix location data even though it had zero satellites in view. If I would have moved the GPS unit it …

---

<div class="post-metadata">

### Author: ![freck](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freck](https://community.particle.io/u/freck)
#### Post date: [January 18, 2018, 11:14pm UTC](https://community.particle.io/t/asset-tracker-v2-gps-problem-with-external-antenna/38822/3 "2018-01-18T23:14:46Z")

</div>

Great! Is “\<2000” in seconds or miliseconds? Thanks!

---

<div class="post-metadata">

### Author: ![RWB](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rwb/32/22599_2.png) [@RWB](https://community.particle.io/u/RWB)
#### Post date: [January 18, 2018, 11:18pm UTC](https://community.particle.io/t/asset-tracker-v2-gps-problem-with-external-antenna/38822/4 "2018-01-18T23:18:36Z")

</div>

Milliseconds.

---

<div class="post-metadata">

### Author: ![RWB](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rwb/32/22599_2.png) [@RWB](https://community.particle.io/u/RWB)
#### Post date: [January 19, 2018, 12:29am UTC](https://community.particle.io/t/asset-tracker-v2-gps-problem-with-external-antenna/38822/5 "2018-01-19T00:29:02Z")

</div>

Let me know if that code snipped solves your problem. It did for me.
