2

In MATLAB, I am establishing a serial link to an Arduino. Is a higher baud rate always better? I am using 9,600 baud now, but that is merely because it is the most standard value.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
AliceD
  • 151
  • 2
  • 7

2 Answers2

4

You'll have better luck over at https://arduino.stackexchange.com/.

Why do people settle?

People settle because it is more than fast enough. The most common use is just to print some stuff on a terminal for debuggin. 9600 baud is 960 characters per second, or 12 x 80 character lines per second. How fast can you read? :)

If your program is using the serial port for bulk data transfer, you would choose not to settle.

See the following resources:

Community
  • 1
  • 1
JSuar
  • 21,056
  • 4
  • 39
  • 83
3

Good question. I've spent years working with modems and I'm not stranger to baud rates. My Arduino uses a USB connection and it handles the baud rate, so I never got into messing with it.

It's strictly how quickly do you want your program loaded. It has no other effect. It would be reasonable to consider that low-end equipment might not support the higher end speed. From the communications perspective, the higher the baud rate the more chance of data errors. I think it's a stretch to think the communications between the pc and an Arduino is going to have much of an issue.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
CubeRoot
  • 552
  • 2
  • 13
  • Dear CubeRoot. I didn't try faster rates as I'm writing minimal amounts of data. Your answer is great, as I now understand that 9600 should be OK. Thank you. – AliceD Oct 29 '14 at 21:53