Using RX (Pin 0) and TX (Pin 1) for Adafruit Ultimate GPS Logger Shield on Arduino Uno

Hi! I am using the Adafruit ultimate logger shield to parse through GGA and GMC data. I was following this tutorial (Hardware Serial Connect | Adafruit Ultimate GPS Logger Shield | Adafruit Learning System) and was using the GPS_Hardwareserial_Parsing example code from the Adafruit GPS library. From the tutorial, I am supposed to set the switch to the "Soft. Serial" position, then add jumper wires from the auxiliary header row's TX/RX to pins 1/0.

However, when I run the code I get this error message.

The only way I've found to fix this issue is to disconnect the TX/RX pins from pins 1/0 to upload the code. Then after the code is done uploading I can reconnect the TX/RX pins to pins 1/0 and the program works as it is supposed to.

How can I fix this issue so that I don't have to disconnect the pins every time I upload the code and then reconnect them once it is done uploading?

Secondly, most of the time the GNGGA and GNRMC data appear as the top section where a new line is made after each GNGGA and GNRMC line of data. However, every once in a while the lines will appear as in the bottom section of code where they appear on one line. I did not change any of the example code in the GPS_Hardwareserial_Parsing so I am not sure why this happens.

Thanks in advance for your help!

You need to Or the Rx with your signal or over power the onboard resistor that is in series with the USB interface. The information can be gotten from the schematic for the Arduino you have.

The answer is right there on the 'top page' of the link that you provided: rigging it up for SoftwareSerial - or use the slide switch on the top panel to switch pins 0 & 1 (as you are kind of doing, removing/placing them).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.