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.
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.
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.