Go Down

Topic: Arduino Uno baud rate change? (Read 622 times) previous topic - next topic

fabienLyrique

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!!!!

retrolefty


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

fabienLyrique

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

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy