Pages: [1]   Go Down
Author Topic: Arduino Uno baud rate change?  (Read 571 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can I change the baud rate in my arduino code for a rate other than 9600? For example can  make it 38400, or even 115200? I think I read somewhere the bootloader wont let anything work but 9600 but I cant find any info on it now....

I have the ATmega328 with Arduino Optiboot (Uno)

please help!!!!
Logged

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

Can I change the baud rate in my arduino code for a rate other than 9600? For example can  make it 38400, or even 115200? I think I read somewhere the bootloader wont let anything work but 9600 but I cant find any info on it now....

I have the ATmega328 with Arduino Optiboot (Uno)

please help!!!!

The 115200 Uno baudrate is just the fixed serial speed for the bootloader when the IDE is uploading a new sketch to the chip. Once your sketch is loaded it will run at whatever baudrate you specified in the Serial.begin(desiredspeed); command ( http://arduino.cc/en/Serial/Begin ) when you wrote your sketch.

Lefty
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OH, I see. so I as mistaken that is needs to be 9600 only. Great! Thanks a lot.
Logged

Pages: [1]   Go Up
Jump to: