SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
User avatar
By RocketNut
#191005
Howdy

I am on the hunt for a GPS module with I2C? Does any one know where I can get one. The TTL serial port is all ready in use for a radio link.

Thank you

Rocket Nut
By tex792
#191470
I believe you may be able to utilize the digital pins as serial connections by using the SoftwareSerial library in your sketch (https://www.arduino.cc/en/Reference/SoftwareSerial). I'm guessing you are using an Arduino board that only has one UART, so this library allows you to "pretend" that you have more UARTs and use your digital pins as TX/RX pins.

I did this recently as I was experimenting with a GPS module as well (https://www.sparkfun.com/products/13740). Using SoftwareSerial, I was able to hook the GPS to pin 3 on a Sparkfun RedBoard to listen it (this GPS module doesn't receive data, so I only had to hook it up to one data pin), and at the same time I monitored the data using the serial monitor (hardware serial through the UART).

As a side note, I used the TinyGPS++ library to help extract data from the GPS module (http://arduiniana.org/libraries/tinygpsplus/). I found this one much easier to use than the Adafruit GPS library.
User avatar
By RocketNut
#191478
I am using Adafruit Feather M0 Adalogger. I have looked over the serial tutor [https://learn.adafruit.com/using-atsamd ... s/overview], sorry to say it way over my head. It is some what on the back burner right now because I am working on the hardware interface/control circuit and pcb. With this line of code from the tutor Uart Serial2 (&sercom1, 11, 10, SERCOM_RX_PAD_0, UART_TX_PAD_2);. The schematic shows radio TX line is wired to pin 10. I am playing with MsTimer2 library. to control sample rate. It seems to be working, but still have a long way to before I am ready to tackle this new serial port.

Rocket Nut
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]