Hi everyone,
I am attempting to input an NMEA signal into a Pixhawk running Copter 3.5.4 but I’m having trouble getting the Pixhawk to recognise the signal.(I know NMEA should not be used for flying but please humour me) The signal is being sent at 5 Hz with a baud rate of 38400 and with GGA, RMC and VTG sentences as shown below. (Are all three of these sentences required? Are there any extra sentences required?)
$GPRMC,050354.340,A,3540.8286,N,13946.1491,E,1.1,25.3,240118,,,A*56
$GPGGA,050354.340,3540.8286,N,13946.1491,E,1,12,0.78,3.0,M,0.0,M,,*51
$GPVTG,25.3,T,,,1.1,N,2.0,K,A*76
The relevant Copter parameters are set to:
GPS_TYPE = 5
SERIAL3_BAUD = 38
SERIAL3_PROTOCOL = 5
Is there anything I could be missing here? Is there a minimum NMEA version that I should be using? Are there any other parameters that need to be changed from default for this to work?
Any help would be greatly appreciated.
Thanks,
Luke
Edit: I answered my own problem. A PC serial port of course does not operate at TTL voltage. An FTDI cable fixed the issue.