Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change baud rate for the serial monitor #3

Closed
JohnDoeKyrgyz opened this issue Mar 30, 2017 · 10 comments
Closed

Change baud rate for the serial monitor #3

JohnDoeKyrgyz opened this issue Mar 30, 2017 · 10 comments

Comments

@JohnDoeKyrgyz
Copy link

Is it possible to change the baud rate for the serial monitor?

@formulahendry
Copy link
Owner

Hi @JohnDoeKyrgyz , currently, there is no direct way to change the baud rate, it is always 9600 for now. I plan to add a config entry in File > Preferences -> Settings, so that users could change the baud rate there. What's your opinion? Or, will you change the baud rate frequently and want this extension to provide a UI (e.g. in Status Bar at the bottom) to change the baud rate?

@JohnDoeKyrgyz
Copy link
Author

I think the File > Preferences > Settings entry is a good idea. In many examples I see people using 115200 as the default baud rate for serial communication.

Would it also be possible to configure this on a per device basis? Maybe a custom setting in the platformio.ini file?

@formulahendry
Copy link
Owner

per device basis

Do you mean:

  • baud rate would be different per workspace?
  • Or, baud rate would be different per device but in the same workspace? i.e. there are several devices in the same platformio.ini but have different baud rate

@JohnDoeKyrgyz
Copy link
Author

Ideally it would be possible to have one baud rate setting for the entire workspace that would be the default, and then the ability to override it for each device.

Realistically though, just being able to change the baud rate in File > Preferences > Settings would probably be good enough.

@formulahendry
Copy link
Owner

Thanks for your feedback! That makes complete sense. Realistically, I will add a config entry in File > Preferences -> Settings, so that user could set baud rate in the overall User Settings as well as in each Workspace Settings.

formulahendry added a commit that referenced this issue Apr 2, 2017
…'Open PlatformIO Terminal' icon in Status Bar
@formulahendry
Copy link
Owner

Hi @JohnDoeKyrgyz , a config entry platformio.baudRate is added, please install the latest version and have a try. Let me know if you have any other feedback.

@JohnDoeKyrgyz
Copy link
Author

Thanks! This will be useful. Looks good to me.

@egur
Copy link

egur commented Mar 7, 2018

Hi,

I would like to use a BaudRate > 921600 bps.
How can it be done ?
I would like to set the BaudRate to be larger than 3 MB

Please advise.

@formulahendry
Copy link
Owner

@egur Does updating platformio.baudRate work for you?

@ArtiomLK
Copy link

In the file platformio.ini add:
monitor_speed = baudRate
For example:
monitor_speed = 115200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants