skyflyer
Active member
Software serial allows you to invert the signal logic, which cannot be done with hardware serial ports - you would need a separate inverter.
NMEA0183 requires the signal from an Arduino to be inverted in order to read it
Sketch i use to get GPS data to plotter via Arduino, includes following lines (not the whole sketch, which would confuse, just the relevant lines)
SoftwareSerial mySerial(10, 9, 1);// Rx, TX, mySerial is now name of the soft serial port, effectively - the final 1 inverts the signal
mySerial.begin(38400); // set data rate for SoftwareSerial
mySerial.println(GPGGAString); /sends the string GPGGAString down pin 9
Does this help?
NMEA0183 requires the signal from an Arduino to be inverted in order to read it
Sketch i use to get GPS data to plotter via Arduino, includes following lines (not the whole sketch, which would confuse, just the relevant lines)
SoftwareSerial mySerial(10, 9, 1);// Rx, TX, mySerial is now name of the soft serial port, effectively - the final 1 inverts the signal
mySerial.begin(38400); // set data rate for SoftwareSerial
mySerial.println(GPGGAString); /sends the string GPGGAString down pin 9
Does this help?