GPS receiver on hardware serial
Posted: Thu Jul 23, 2020 4:48 am
Hi guys,
In a project I need to use a GPS receiver on the hardware serial Rx pin, but it doesn't seem to work. On SoftwareSerial it works without a problem, also, with a direct connection to my PC's serial port I can confirm that the data is coming in.
Is there a particular setup I need to do on the Serial setup to get it to work?
Is it OK to use the hardware Rx for receiving GPD data while using the Tx to send debug info to the PC?
All the examples I found on the Internet on GPS use SoftwareSerial.
thanks for any pointers in advance!
In a project I need to use a GPS receiver on the hardware serial Rx pin, but it doesn't seem to work. On SoftwareSerial it works without a problem, also, with a direct connection to my PC's serial port I can confirm that the data is coming in.
Is there a particular setup I need to do on the Serial setup to get it to work?
Is it OK to use the hardware Rx for receiving GPD data while using the Tx to send debug info to the PC?
All the examples I found on the Internet on GPS use SoftwareSerial.
thanks for any pointers in advance!