Page 1 of 1

Weird behaviour with controlls and USB hub

Posted: Fri Dec 09, 2016 2:24 pm
by peoplesbeer
So I've had a few problems along the way in my project with controllers not working and so on.
I've got some amazing help from Fleder which narrowed it down to something that somewhat works.

(Note: I use the Atmega32u4 microcontroller, not a Teensy)

Buttons didn't work but the microcontroller booted up, only showing green light (not both red and green).
What I did was:
Removing my USB hub completely.
Adding an OTG cable to my microcontroller and plug it directly into the Zero = tada.wav, it works!
But now I'm without a hub.

If I wire my microcontroller through VCC and GND to the USB hub (like intended), as I said, it boots up but only green led and it doesn't work.
Could it be as easy as one of those hubs that does not work or what am I doing wrong?

Re: Weird behaviour with controlls and USB hub

Posted: Fri Dec 09, 2016 3:01 pm
by ABH
Do you try ur usb hub with other things ? if it yes and working

Try to get d+ d- from usb hub for ATmega32U4
and the power from pi " Ground + Vcc "