Connecting Serial GPS to Arduino Uno

Post Reply
yakirg
Posts: 2
Joined: Mon Jun 02, 2014 8:08 pm

Connecting Serial GPS to Arduino Uno

Post by yakirg »

Hello all!

I have started working on the Quad control board a couple of months ago, and was struggling with the SW. I then found your software, and things started to look better ...

I have done some minor re-work to my board, and got the quad flying! Only thing I can't figure out is the GPS. I have a uBlox module on a GY-GPS6MV2 board, which is serially connected (Not i2c).
I had it connected to pins 2 (RX) and 3 (TX) which might have caused me some glitches, as pin 3 is now ESC 1.

I do not need the TX pin, as the GPS is configured to NMEA already.
Is there any configuration that can be set in the config.h file for this? I can route the GPS to any pin I need to.

Thanks,
Yakir

User avatar
haydent
Posts: 583
Joined: Sun Jun 17, 2012 1:35 am
Location: NSW, AU

Re: Connecting Serial GPS to Arduino Uno

Post by haydent »

there is settings for gps in config.h such as com port and speed if this is what you mean ?

yakirg
Posts: 2
Joined: Mon Jun 02, 2014 8:08 pm

Re: Connecting Serial GPS to Arduino Uno

Post by yakirg »

Thanks, haydent, but I was not talking about the config.h file.

Arduino Uno doesn't have more then 1 serial port, so it can't be used with both telemetry and GPS.
the solution is to add another 328p processor that does the Serial to I2C.

There is the code to support this called I2C_GPS_NAV, but it is not supported in the latest 2.3 code.
I wish something could be done about it, I can't find any development being done ...

User avatar
haydent
Posts: 583
Joined: Sun Jun 17, 2012 1:35 am
Location: NSW, AU

Re: Connecting Serial GPS to Arduino Uno

Post by haydent »

sounds like a good opportunity for you to learn arduino :)

Post Reply