two gps inputs

Minty so good. Minty so tasty.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
selkirksghost
 
Posts: 1
Joined: Wed Oct 26, 2016 10:00 pm

two gps inputs

Post by selkirksghost »

Is there a way to use two gps inputs on RasPi or Arduino for navigational calculations?

I'm guessing it would be best to use two separate shields. Is it possible to use the embedded antenna AND an external antenna with one shield? Or is there a limit to the sorting engine on the NMEA string?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: two gps inputs

Post by adafruit_support_rick »

The R Pi only has one serial port, so you can't do it that way.

You can sort-of do it with an Arduino. You have to use hardware serial for one GPS and software serial for the other.

The GPS will only use one antenna. If you attach an external antenna, that's the one it will use.

An Arduino should be able to handle two NMEA streams at least up to 5Hz. That's equivalent to a single stream at 10Hz, which a Uno can handle.

You might want to consider a 32U4-based Arduino, since the hardware serial port on those is not used for uploading and serial monitor. If you use a Uno or Mega, you would have to disconnect the GPS every time you wanted to upload a sketch.

You could also use an M0-based Arduino. The M0 does not support software serial, but you can define additional hardware serial ports (Serial1 is already defined for you)
https://learn.adafruit.com/using-atsamd ... new-serial

Locked
Please be positive and constructive with your questions and comments.

Return to “MintyMP3”