LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Baud Rates and XBee...no 115200?

I got my XBee's to finally work by lowering the baud rate to 9600. However, I feel the response is too slow. I noticed that I have no connection using 115200 baud rate (yes the xbee's, arduino, and labview are all set the same). Has anyone overcome this issue? If I code the arduino to send the data to the serial port and program labview to read the serial port (no LIFA) I can get the 115.2K baud rate to work. Any suggestions?

0 Kudos
Message 1 of 2
(4,312 Views)

EliHafitz,

Yes.  The xbee claims baud rates up to 115200 but at that rate there is very high packet loss.  LIFA has built in data loss checking and correction but at some point it will disconnect or fail to connect if the signal is too poor.

If I recall I was able to get baud rates of 48K to work, but not much above that.

As a test try have the arduino write "Hello World" at various baud rates and watch the results in the Arduino IDE serial monitor.  When you get up into the 115.2K range you will see that the message received is no longer "Hello World"  You'll probably see weird ascii symbols and garbage.

-Sam K

LIFA Developer

0 Kudos
Message 2 of 2
(3,038 Views)