How to make IDE to recognize two USB TTL same time?

Hi,

I have two standalone Atmega328P running and communicating using CH340 chip adaptors. How to make the IDE to recognize both together? I know that IDE serial monitor only talks with one at time, but I would like to list both and select one by one as needed. I am using IDE 1.8.5. Attached my screen for further details.

Thanks,

Rafael.

Hello,

Maybe it's a question of identical identifiers, many chips are cloned, so the identifiers are the same, so the IDE can only find the first one.

Have you looked at identifiers such as VID PID Serial Number etc?

Having multiple devices with the same VID/PID shouldn't be a problem. I frequently have multiple CH340 connected to my computer without encountering this issue.

I don't know anything about this serial number thing. Do the CH340 even have one? How do you check what it is?

They probably are clones but Windows 8.1 is recognizing both separately ok on device manager. The problem is that IDE does not list both together.

The IDE wont list clones the same way it does a true Arduino.
Partly because of the PID VID.
It can only currently list them as one name but on different COM ports.
Nor is there any current method to NAME and LOCK them eg UNOCLONE1,COM3 and UNOCLONE2,COM4 etc.

If you wish to log the data in two seperate streams from the two COM ports then there are a multitude of methods.
My favourite being PLXDAQ. which is very versatile with excel.
There is a whole long thread devoted to that somewhere.

Or two seperate terminal programs such as PUTTY, EASYTERM, etc etc.

This is not about the Arduino IDE naming ports. It's a problem of a port completely missing from the Tools > Port menu.

rafacabelo's picture:

@rafacabelo

Have you manually changed any of the COM settings in windows at any time ?

Hello,

You can try reinstalling the driver and upgrading the IDE,

1- Uninstall the driver (Delete the driver too when prompted), restart the computer and install the driver again.

2- The new IDE version 1.8.7 is now available for download.

Is this a case where running two instances of the iDE and selecting a different port on each will do what you want ?

No, if the IDE doesn't recognize one of the ports it doesn't matter how many instances you run.

ballscrewbob:
@rtek1000

Quite often some drivers will not be asked to uninstall when removing the IDE.

Hello,

I was referring to this:

@rtek1000

That looks like a NON arduino related WiFi adaptor.
Also looks like you homed in on it via device manager to get that.
Uninstall of the IDE itself will not present that particular type of screen.
Try it with some of your other hardware and you will find it does not always give that option.

Your screen is partly how I home in when I am resetting the COM stack to clear unused ports in windows (any flavour)
Or if a user plays with COM settings trying to move COM ports around.

Most users just hit the regular UNINSTALL which for most software as we know leaves traces all over the place.
Hence the basic clean up attached further up.

Okay, I get it, it really was confusing, but the idea is the same,

I already had problems with drivers, and this helped me,

I've already changed the picture, to be a COM port instead of a wi-fi adapter

rtek1000:
I've already changed the picture, to be a COM port instead of a wi-fi adapter

You should not modify posts after comments on them were made. It makes life confusing and might make those that commented on it look stupid; I was reading the reply and had no idea where ballscrewbob was talking about. Rather put the updated version of the picture in a new post.

sterretje:
You should not modify posts after comments on them were made. It makes life confusing and might make those that commented on it look stupid; I was reading the reply and had no idea where ballscrewbob was talking about. Rather put the updated version of the picture in a new post.

I agree with you, but think of the people who will search in the future, it would be even worse for them.

ballscrewbob:
@rafacabelo

Have you manually changed any of the COM settings in windows at any time ?

No.