Several arduinos on a single USB port (power + communication)

Hello,

I present my project: I am designing and building a steering wheel + force feedback + pedal for SIM RACING (cars) on PC. It's a laptop under Win10 with the game assetto corsa.

The steering wheel is equipped with: 1 arduino card leonardo for the control of the buttons on the steering wheel and a FT232RL USB to TTL Module Board which is linked an LCD screen for data display (speed, gear ratio, temperature, etc ...). It must be able to connect these two cards together because my steering wheel output is on 4 branches (GND, 5V, D +, D-).

The return of force is managed by a LEONARDO card.

The pedal is managed by: a LEONARDO card for the two pedals (throttle and brakes via 2 potentiometers) and a UNO card for the management of two small vibratory motors to simulate either wheel slip or wheel lock.

All parts programming and functional interface with the game work without ANY problem.

The problem: I do not have enough USB ports on my PC to use all the cards at the same time. It is therefore necessary to connect several LEONARDO together via a USB HUB (if I do not tell nonsense).

I bought 2 USB hub in 2.0 but it does not work. For each assembly, I see only one COM and not 2 or 3.

Only use QUALITY POWERED USB HUB's that have thier very own PSU rated to cover the amount of ports it has.

Run two 14 port USB hubs here.
Multiple Arduinos (lots of different varieties)
Zero problems with seeing ports themselves.

One USB port can only supply 500mA (USB 2.0) and each Arduino can use almost all that depending on what you have connected.

Bob.

ballscrewbob:
Only use QUALITY POWERED USB HUB's that have thier very own PSU rated to cover the amount of ports it has.

Run two 14 port USB hubs here.
Multiple Arduinos (lots of different varieties)
Zero problems with seeing ports themselves.

Bob.

Hi Bob, I did the following connection:

  • GND / 5V USB HUB connected to an external power supply delivering 5.15V with 2A max current
  • GND / D + / D- USB HUB connected to the PC

With only one LEONARDO card, everything is OK. When I plug in a second LEONARDO, the first card no longer appears in the COM ports (and the second also). In the device manager / bus controllers, the error message code 043 is displayed for both cards.

In fact, I don't understand the problem of QUALITY POWERED USB HUB because there are nothing connected to the cards. So, I'm lost....

Thank you

You mean you have split into the cords themselves coming from the USB hubs ?

Or did the hubs have a seperate INPUT for the power already there ?

Here is an article that might help.

Notice the terminology BTW.

Some USB ports can use in simple terms a "SENSE" for devices and if that is forced to malfunction it could also cause the issue you are seeing.

This topic may also help you. Notice the diode and capacitor.

PROPER USB hubs with a PROPER power input side have circuitry that I doubt will be in yours as yours is termed a "passive" hub. A real HUB can sense between being powered or not and switch to PASSIVE mode if no power is present on the input side.

If I were you I would stop trying to alter them and bite the bullet and get a real POWERED HUB.
Main reason is that it sounds like your present scheme could actually cause more harm to either the computer or attached devices than something that was designed for the task.

Bob.