UBX raw Arduino serial

Q&A forumCategory: QuestionsUBX raw Arduino serial
nico.bossart asked 1 year ago
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 <SoftwareSerial.h>
#define PIN_RXD 3
#define PIN_TXD 4
#define GPS_BAUD 38400
// serial connection to the GPS device
SoftwareSerial gpsSerial(PIN_RXD, PIN_TXD);
void setup()
void loop()
  // Output raw GPS data to the serial monitor
  while (gpsSerial.available() > 0) {
Now i want to receiving UBX binary, so i changed the device setting to:
 CFG-UART1outProt-NMEA     0     
 CFG-UART1outProt-UBX        1
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?
replied 1 year ago

Software Serial, and byte level data management are not suitable for the volumes of data being generated. Find a more capable Arduino, they make a broad selection now, along with Adafruit, SparkFun and others.

1 Answers
Ardusimple Staff answered 1 year ago

  1. That you have enabled RAW data output on the receiver.
  2. That you are using the correct baudrate (default zed-f9p baudrate is 38’400bps)
  3. That you connected IOREF between arduino and simpleRTK2B

Want to learn more about GPS/RTK?

1. Our engineering team will contact you to solve any questions
2. We will keep you updated about promotions and new product releases
3.You will only hear from us when we have important news, we won’t spam your email