1

I have several Arduinos connected to my Windows PC, and they appear as follows:

COM7 (Arduino Uno)
COM11 (Arduino Uno)
COM13 (Arduino Uno)

So there's no way to tell which is which, and when I want to upload a sketch to one, I have to unplug the others to make sure my code goes to the right one.

Is there a way to change the "Arduino Uno" description?

(I found a similar question but that was about Mac specifically).

2

You'll have to change the software on the Arduino USB chip itself, and you may need to modify the drivers for the Arduino USB interface on the computer side. It's not trivial, and probably not worth it.

However, Windows attempts to use the same serial port for the same devices in the same USB positions, so if you figure out which is which (blinking the LED at different frequencies) then you can mark the USB port itself with the com number that Windows uses when you plug an arduino into it.

If you use a hub, and you move that hub to a different port, the com numbers will change, but if you keep it in the same port, then it too will try to have them match what they have been in the past.

It's an annoyance, but it's a design decision by arduino.cc. The old FTDI chips kept their assigned com port numbers because they have individual serial numbers and windows would attempt to reassign the same com port to the same chip each time it was plugged in, regardless of its location. When Arduino.cc moved to a programmed MCU for the USB interface, they chose not to provide USB serial numbers, and thus windows has little option but to try to keep things straight by determining the location in the USB hierarchy that the device is connected, and try to keep com port assignments the same using that method.

  • "... they chose not to provide USB serial numbers ..." Oh wow. Was any rationale ever given for this? – Ignacio Vazquez-Abrams May 14 '15 at 14:39
  • @IgnacioVazquez-Abrams I've not seen any information from them on this issue. They probably don't think it's important (the majority of users don't need it) and it does increase the cost as they not only have to program the chips individually, but track arduino serial numbers in some sort of coordinated fashion to avoid duplication. Given the number of knock-offs in addition to the licensed variants, it's a problem not worth tackling without good reason. – Adam Davis May 14 '15 at 14:46
0

I have never tried it, but I suspect using zadig might work; http://zadig.akeo.ie/

It lets you pick the driver and name for WinUSB and LibUSB devices. Uninstall any existing driver first. And remember to pick the driver you wish to use when it asks. Also it is not real apparent, but you can edit the name of the device as it installs the driver.

Let us know if it works

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.