Connecting a GPS to Arduino Uno

Hi my current project uses a Neo-7M GPS module as per the link below. My question is both the GPS and Arduino Uno have RX and TX for sending and receiving. Should I be connecting the TX from the GPS to the RX on the Uno and vice versa with the RX on the GPS to TX on the Uno. Or should I be connecting the TX to TX and RX to RX.

Thanks in advance.

https://www.jaycar.com.au/arduino-compatible-gps-receiver-module/p/XC3710

Hi. The meaning of the labels are from the perspective of the board having the labels. So the pin labelled TX on the GPS is where the GPS “transmits” its data output. The pin on the UNO labelled RX is where the UNO receives data from some source. So connect the GPS TX to the UNO RX. Then run a sketch on the UNO that reads the incoming data. You don’t need to connect the GPS RX pin until you want to send config commands from the UNO. So leave it unconnected.

That said, if you connect TX to TX and hold down the UNO reset button (or ground its reset pin) then the GPS output will appear in the IDE monitor without needing a sketch. That is handy.

Thanks, I thought as much but have already fried one GPS accidentally by trying various wiring setups and didn't want to do it again. Thanks again.

It may be best not to connect the Uno's Tx outout, which is 5V, to the GPS Rx input, which is probably expecting 3.3V. That connection shouldn't be needed if the GPS default configuration works ok.

1 Like

Ok I will try just connecting to the rx on the uno first and see if it works. The GPS does say 3.3 or 5v though.

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