Pages: 1 [2]   Go Down
Author Topic: Why does Arduino tend to use such low baud rates in tutorials?  (Read 2942 times)
0 Members and 1 Guest are viewing this topic.
Western New York, USA
Online Online
Faraday Member
**
Karma: 39
Posts: 4389
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
And it's simple enough for the Arduino team to set the default baud rate on the Serial monitor to something higher, as well.
Do you really think you will get them to change any decision they have previously made however poor or in this case outdated?  If they didn't change the pin spacing error when they discovered it, which was very early on, do you really expect them to change anything else?

Don
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
If they didn't change the pin spacing error when they discovered it, which was very early on, do you really expect them to change anything else?


Not quite the same scope of effect of the change. Changing the default serial monitor baud rate breaks nothing that can't be fixed by just selecting the desired baud rate in the serial monitor. Changing the shield connector spacing would break all prior shields manufactured by many companies and require real expense to upgrade shield boards and make all prior shield boards incompatable with an new arduino boards using newer spacing specs. It was a dump error, but prefectly understandable that they don't want to force a change for all the companies and end users that would be effected. Besides there are several hardware 'fixes' to deal with the connector spacing if one wants to.

Lefty


Logged

Western New York, USA
Online Online
Faraday Member
**
Karma: 39
Posts: 4389
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Not quite the same scope of effect of the change.
That is exactly my point.  As I understand it they discovered the flaw at the point that the very first production shields were being manufactured.  There were no prior shields other than this first batch, and none produced by other companies at this point.  They should have fixed it right then and there because this sort of flaw cannot be fixed in software.

Don
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 221
Posts: 13848
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Re: Why does Arduino tend to use such low baud rates in tutorials?
In another galaxy far away I heard this answer: "low? 9600 baud is allready beyond reading speed of most humans"  smiley
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 497
Posts: 19055
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah I used to work with those. When the card got jammed in the feeder chute it sounded a lot like a vacuum cleaner that was trying, unsuccessfully, to suck up your rug. So you ran up, powered it off, opened the door, and started pulling the card (possibly in pieces) out of where it was stuck. Then you recreated the card from backups. It was quite funny in a way, it was like recovering one sector of a hard disk, you didn't waste time recovering the whole file. And since this happened a few times each shift, you were absolutely experts on doing backups and restores.
Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 221
Posts: 13848
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

just tested Serial.begin(230400); Arduino 2009 IDE 0022;

together with putty.exe (windows) as the build in serial monitor can only go up to 115200.

not tested extensively, but promising...

MIght be a nice feature for the IDE23 ?


-- Update ---
did some more tests
100K chars took 8501 msec @ 115200 baud = 11763 bytes/second (IDE sermon)
100K chars took 4500 msec @ 230400 baud = 22222 bytes/second (used putty.exe)
100K chars took 2999 msec @ 345600 baud = 33333 bytes/second (used putty.exe)
460800 baud failed ...

Non standard baudrates
100K chars took 2499 msec @ 400000 baud = 40016 bytes/second (used putty.exe)
100K chars took 1999 msec @ 500000 baud = 50025 bytes/second (used putty.exe)
600000 baud failed

no extensive tests, so no guarantees....

See also - http://arduino.cc/forum/index.php/topic,61381.msg444421.html#msg444421
« Last Edit: May 17, 2011, 05:06:40 pm by robtillaart » Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6783
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It would help many beginners out quite a bit if the tutorials were switched to 115.2kbaud
Why?   How?
It's not like anyone can read even at 9600, and the default "Serial Monitor" is not a particularly capable "terminal."  And sending data at 115200 might stress those poor windows machines...
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 497
Posts: 19055
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Why does Arduino tend to use such low baud rates in tutorials?

So when things go wrong, they do so more slowly. Seriously.
Logged


Pages: 1 [2]   Go Up
Jump to: