-
Notifications
You must be signed in to change notification settings - Fork 189
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
Faster Serial Baud Rates? #116
Comments
Honestly I have no idea. Since I don't have any such device I don't use know anything about that. Are there other common rates? |
Here's a reference I found. Relevant quotes:
So while 115200 seems to be the fastest rate for "standard" hardware, some hardware will support faster rates. If I recall correctly a typical Arduino can do up to 1M, assuming that the PC's port can support it. Typical faster rates, also from that link:
Continuing the doubling theme, I'd recommend 230400, 460800, and 921600 be added. Maybe an added checkbox or the like warning about unsupported hardware would be prudent. I've tested rates of 230400, 460800, and 921600 successfully on a genuine Arduino Uno, just using it to relay messages. Notably none of the rates above 115200 worked on a knockoff Uno, presumably because of the lower quality FTDI chip. |
You should be able to set any baud rate in the config file, it appears the value is not vaildated when loaded. Have you tried that? |
Which config file is that? I didn't see any serial options listed in the profile files. |
The baud rate is a device setting, which is saved in main.conf |
Thanks, I found the file and the settings. I don't know how I missed it! I did some quick tests with the Arduino Nano I have driving my LEDs, and changing the serial speed in Interestingly, the USB -> Serial chip on my knockoff Nano doesn't work with 230400, 460800, or 921600 baud, but does work with 250000, 500000, and 1M baud (I haven't tested others). So it may be better to leave the current dropdown setting as-is, and maybe add a text field for a "Custom baud rate" instead. |
I don't understand. If the baud rate page is first, the rest of the wizard should use the configured baud rate. Why would one need to flash a different firmware? |
Sorry, reading it back now I see I was being a bit too vague. It's only an issue if you're running a 3rd party device at a higher baud rate than 115200 by editing |
Does the device does not work with slower baud rates or is it just slower? |
It does not work. The baud rate is set on firmware upload, and the board won't communicate properly at other rates. |
For the BaudRates I recommend to look at this tables, where you can find speed vs Error. The Speed is on AVR set by dividers from clock so you can't choose any speed you want. http://wormfood.net/avrbaudcalc.php |
I know this issue is a bit old at this point, but did anyone here ever get a baud rate above 115200 working? When I try setting the baud rate above 115200 in |
I've successfully tested all the way up to 1M without issue. |
I was using an algorithm to convert from RGB to RGBW - turns out the algorithm wasn't fast enough. I can run at 2M baud now with no problems. Maybe I'll try implementing an RGBW algorithm on the program side at some point but this is good enough for now. |
Added in 5.11.2.16 |
Would it be possible to add faster baud rates than 115200 for 3rd party devices? I'm not sure if it's a matter of just appending the list or if there's more to it on the back end.
The text was updated successfully, but these errors were encountered: