I discovered that not every USB Hub works with arduino.
Some hubs make trouble in a way that windows won't recognize the arduino and/or gives out an error message regardless if it is a powered or unpowered hub.
To all of the guys who program their arduino over usb hub, could you please post the model number of the hub?
Try a USB 2.0 hub. USB 3.0 stuff often has compatibility problems, even though the USB folks swear up and down that it's all 100% backward compatible.
None of my usb hubs have a clear model number (they're just the cheapest ones I could find, ie, the model number is "made in china"). All of them work with the Arduino boards I've tried (though one doesn't work with VUSB devices like the USBAsp).
Re: powered hubs - you need a powered hub if you're planning to draw more than 500mA total from all the connected devices on the hub. Otherwise, the cheap unpowered ones are okay (a surprising number have a place to plug in a 5v supply, even if they don't provide said supply, and even if you can't scare up the connector, they're so cheap that you can just open em up and solder wires onto the connector and run them out to a 5v supply of your choice)
Yes, but that means that it shares the current from the port it's plugged into among it's output ports. ie If it's plugged into a port which can supply 500mA, the total draw of all devices plugged into it must be less than 500mA.
Those are signs of inadequate power from your computer.
Maybe go into your power setting and ensure that it never puts the USB to sleep (different to the computer itself)
Control Panel, Power Options, Change advanced power options, USB settings, USB selective suspend setting, Set to Disabled. if you want to tweak other power options there are a few nice ones in there but be careful. My network settings are tweaked along with hard drive.
To check USB requirements for power.
Control Panel, Device Manager, Universal Serial Bus Controllers, Right CLICK "Root Hub" (You may have to do this for more than one), Properties, Select the POWER tab, and it will tell you if you need power.
If yours has a power adaptor then its inadequate for what you are running as far as USB peripherals.
If it does not have a power supply then maybe add one.
Have seen USB ports get fried on both laptops and regular computers because of too much demand on them.
Hi, does anyone know a small USB hub compatible with arduino? All of the aforementioned working hubs are massive... I tried using this one, it works well with keyboard but doesn't work well with arduino...