Go Down

Topic: Arduino Uno baud rate change? (Read 587 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