i want to save ubx raw data on a sd card with the help of an arduino. I have an ardusimple module which sends data. On the serial monitore I am receiviing NMEA data. I use this code an the serial monitor is on 9600 baud.
[#include](javascript:void(0)
<SoftwareSerial.h>
[#define](javascript:void(0)
PIN_RXD 3
[#define](javascript:void(0)
PIN_TXD 4
[#define](javascript:void(0)
GPS_BAUD 38400
// serial connection to the GPS device
SoftwareSerial gpsSerial(PIN_RXD, PIN_TXD);
void setup()
{
Serial.begin(9600);
gpsSerial.begin(GPS_BAUD);
}
void loop()
{
// Output raw GPS data to the serial monitor
while (gpsSerial.available() > 0) {
Serial.write(gpsSerial.read());
}
}
Now i want to receiving UBX binary, so i changed the device setting to:
in the serial monitor i get data but only in ,,???????????,,
do I need to change the baud rate or is there a problem with the device settings?
