USB Hub Overkill

Dear Community of Open Surcedness!

I'm trying to get 12 USB devices to mount on the the Arduino Yun MINI (can be the maxi version as well, if you think it'll work better), but they keep re-mounting and the Wi-fi connection drops after a while.

I simply plug a 12 port USB 2.0 hub directly in to the "USB+"/"USB-" pins of the Arduino. Since the issue is probably power related: I'm powering the port directly through the same cable with a 3A/5V LDO. So, the USB cable from the hub has the data lines connected to the data pins directly and the power lines to a LDO, giving it juice.

I know it sounds weird, but when I opened the hub, the 5V power line from the external power source and the USB cable were simply shorted, that's why I don't see the difference, if its powered through the USB cable itself.

So my question is, does any of this make sense? And also, would it be better to connect the USB cable from the hub to the "5V" pin and provide the power to the hub separately or it really doesn't matter and the problem is somewhere else?

Thanks a bunch!

You can use a connector with a switch, to connect the external power supply. As soon as the external power is plugged in, the switch should disconnect the PC/Yun supply.

But I'm not sure whether it's a good idea to connect 12 USB slaves to a single master controller. I'd connect the ports to multiple USB controllers instead, if the Yun design allows to add such controllers. Not sure if that helps, though.

Stric_Matic:
So my question is, does any of this make sense?

No, post a connection diagram.

EDIT

Re reading that , if i understand it correctly it's nonsense.

12 port hub must have an external supply.

Thanks for your replies!

I agree, without wiring diagram, it's hard to tell what's what.

Anyway, problem already solved. It turns out you CAN power Arduino Yun and a USB Hub from the same source, when these two things are connected.

Hope it helps!

Cheers,
Matija