Notifications
Clear all

Baud rate

3 Posts
2 Users
0 Likes
920 Views
Sumanta
(@sumanta)
Member
Joined: 3 years ago
Posts: 197
Topic starter  

For serial communication, is the baud rate of 9600 sufficient for all projects. Or will I have to change it for some projects?


   
Quote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1079
 

It really depends upon what you are doing, and what processor you are using.

If all you are doing is monitoring an event that occurs a couple of times a second, or less frequently, then 9600 is fine. But if you are monitoring something that happens hundreds or even thousands of times a second (in which case you probably are using the Serial Plotter instead of the Serial Monitor) then it might be too slow.

Plus some processors like the ESP32 generally use a much higher baud rate.

Just match it to whatever your code requires.

😎

Bill

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote
Sumanta
(@sumanta)
Member
Joined: 3 years ago
Posts: 197
Topic starter  

@dronebot-workshop 

Okay. Thanks for the explanation 😀 


   
ReplyQuote