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.
-
Presumably, the serial connection is over USB (the normal USB connection to the Arduino). Or is a separate USB-to-serial adapter involved? – Peter Mortensen Sep 15 '22 at 23:44
-
@PeterMortensen direct via USB. Thanks for the edits! – AliceD Sep 16 '22 at 08:04
2 Answers
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:
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.

- 30,738
- 21
- 105
- 131

- 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