GPS module for Photon?


#1

I’m looking for a good GPS module for the Photon. I have an application that doesn’t need realtime communication via 3g, but does need GPS. It will record GPS locations periodically and then when in range of WiFi it can upload that data as well as download program updates etc.

The asset tracking looks good, but it’s for the electron and not WiFi. Just looking for the GPS shield or an alternate GPS module.

Thanks.


#2

The asset tracker is compatible with the Photon as well :wink: (Unfortunately) it’s not available separately. The module used seems to work well, so you can search in that direction.


#3

Little spendy to but it and distch the electron :confused: pr Badly end up with the adafruit ultimate gps.


#4

The advantage of the new Asset Tracker v2 is it has a great GPS receiver and amplifier.

I ended up using this GPS sensor because it operates over I2C.


#5

The Adafruit GPS modules based on the PA6H chips are compatible with the AssetTracker v1, as well. You can even use the same libraries.

If you put a MOSFET on pin D6 to control the power to the breakout board and added a LIS3DH accelerometer, it would functionally identical.


#6

I have mangaged to get the Neo 6 module working with the TinyGPS libary (It is cheep). However the the Neo 8 modules DO NOT work with the TinyGPS libary, as there is an extremely small phrasing issue. I have mananged to fix it and getting working on a local build, but I don’t know how to edit libarys to be able to ‘share the love’ so to speek.

Infact I find quite a few libarys don’t compile at all, but thats another issue.

I managed to build my own tracker, and even got a rasppery PI to data log it remotely, and from that produce maps from goggle maps, without using a third party data convertor or logger.

If you want to use the Neo 6 module it will work…

Liam


#7

Hey @VideoLiam can you give me some guidance about how to use tinyGPS library with neo 6m because I also have same GPS module. Hope for a positive replay


#8

Hi Pranav,

Yes I will just give me a day or so to pull the details out…

Liam


#9

Hii Liam

I have just able to start up the GPS but it will take lot of time to get a GPS Lock ,is it often take so much time to get Lock .?
And if possible give me a Circuit diagram to…

And one last question does we can connect two device with RX and TX pin of photon.?

And last thing to mention Thank you for your reply Liam…!!! :slight_smile:


#10

With my Asset Tracker it can take 1-2 minutes to get the GPS lock, and the GPS signal can also be further affected by surrounding objects (e.g. indoor). Not sure how long ‘‘a lot of time’’ is for you, but lengthy lock-on times aren’t unusual.


#11

The M8n ublox gps units are lower cost and can output 10hz.

Beware having the GPS within a few inches of the particle can degrade performance of the gps. Also, beware many of these do not remember their baud rate and update rate settings if their backup battery dies. I recommend sending the config messages at the default baud rate every startup to kick it back into the desired mode. If already in the desired mode the messages are ignored and cause no harm.

This has some code you can start with.


#12

His Macsboost ,
The GPS module will lost it’s lock even if I slight move the module I have lost the lock is it possible that it is sensitive to the little movement.?


#13

His Vitesze
It takes round about 02-03 hours to get lock is it possible.?


#14

If inside any structure or if there is no clear view of the sky this is possible. You may also never get a lock.

Fast startup requires a recent lock and unobstructed sky view.

You can use the ublox program to tweak the startup settings and possibly improve poor signal startup issues. You can force a startup location as well. I recommend not doing this unless you know what you are doing.


#15

His Macsboost

Thank you for your help ,

I have put it in a place where I can found a clear view of sky but still it get so much time as well as some time it will lost the lock without reason such a not finding a clear view of sky or anything
It has place in a same place where it get a lock and after some time at same place it will not get any lock does it possible.?


#16

keep the photon at least 12" away from the GPS. I have found that they interfere when close.


#17

OK Macsboost ,
I will also try this out… :grinning:


#18

Can any one guide me how to use Serial2 in photon with a diagram.?


I refer above link but didn’t get any idea…


#19

Using Serial2 on the Photon is not an easy task to do. It requires some hardware alterations that may not be worth it just to connect a GPS module.
I suspect you are not really running the GPS module any higher than 28800 baudrate, are you?
If not, you can instead try out ParticleSoftSerial - or use that for the device you currently have attached to Serial1 and connect your GPS to Serial1 instead.


#20

Yes we are using baud rate equal to 9600. I need two COM port for my system(i.e one is for gas sensor and another device is for GPS)and both requires Rx and Tx pins for it. So how could I do that? Thanks in advance