Difficulty connecting bluetooth device

If the first upload process hangs it will hold COM5 open so this error:

avrdude: ser_open(): can't open device "\\.\COM5": Access is denied.

may be a red herring.

If you restart your computer and then try uploading do you get the same output as in reply #8?

Try this:

  • With the Arduino board unplugged from the USB open the Tools > Port menu and note the listed ports. If the Port menu is gray and disabled then that means there are no ports available.
  • Close the Tools > Port menu.
  • Plug in the USB cable on the Arduino board
  • Wait a little while for the Arduino board to connect
  • Open Tools > Port, the new port on the list is your Arduino board. In some cases it will have the name of the board next to the port name but this doesn't happen with all boards.
  • Select your Arduino's port from the menu.

Note that the Tools > Port menu only updates when that menu is closed and then opened again. The Port menu won't automatically update while the menu is kept open.[/code]