Hi all, I have a Beitian BD 280 ZR GPS receiver. The following code is used to display its data:
#include <SoftwareSerial.h>
#define PIN_RXD 3
#define PIN_TXD 4
#define GPS_BAUD 9600
// 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());
}
}
How can I change its baud rate to 4800?
My first thought was to change the argument of gpsSerial.begin from 9600 to 4800 did not help.
The datasheet doesn't say anything, and on the Amazon Q&A page I could only read someones answer: " sending a HEX array to the module to change the update rate and baud rate. I posted an image for the HEX array that works for me." But this image is nowhere to find.
So, if someone knows how to change the baudrate by sending a command or similar to the module, please let me know.
Thanks,
-richard
