Arduino program / sketch upload speeds

I am working on circuit that will allow me to program my Arduino boards (I have an Arduino Uno and a couple of Arduino Pro Minis) over a wireless Bluetooth connection. I am planning to use my cheap and easy to find HC-06 Bluetooth module  for this. One of the first thing to figure out is the baud rate that the Arduino IDE uses, when uploading the sketches to the various Arduino boards. I need to make sure that my HC-06 Bluetooth module is configured to communicate at the same rate, so the avrdude stays happy.

I bit of research online revealed the following:

  • On the computer side the baud rate is specified in the Arduino IDE configuration files, and more specifically in boards.txt.
  • On the micro-controller side, the baud rate is coded in the specific bootloader, used by the board.

A looked through the boards.txt file and here is what I found:

BoardICUpload Speed
Arduino YunATmega32u457600
Arduino UnoATmega328p115200
Arduino DuemilanoveATmega32857600
Arduino DuemilanoveATmega16819200
Arduino NanoATmega328p57600
Arduino NanoATmega16819200
Arduino MegaATmega2560115200
Arduino MegaATmega128057600
Arduino LeonardoATmega32u457600
Arduino MicroATmega32u457600
Arduino EsploraATmega32u457600
Arduino MiniATmega328p115200
Arduino MiniATmega16819200
Arduino Pro Mini (5V, 16 MHz)ATmega328p57600
Arduino Pro or Pro Mini (3.3V, 8 MHz)ATmega328p57600
Arduino BTATmega328p19200
Arduino BTATmega16819200
Arduino NGATmega16819200
Arduino NGATmega819200
Arduino RobotATmega32u457600
LilyPad ArduinoATmega328p57600
LilyPad ArduinoATmega16819200

It seems that I need to use 115200 for my Uno and 57600 for the Arduino Pro Mini.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.