Weird behaviour with controlls and USB hub

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
peoplesbeer
Posts: 53
Joined: Wed Jun 08, 2016 5:43 am
Location: Sweden
Has thanked: 1 time
Been thanked: 2 times

Weird behaviour with controlls and USB hub

Post by peoplesbeer » Fri Dec 09, 2016 2:24 pm

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?

User avatar
ABH
Posts: 188
Joined: Sat May 28, 2016 7:01 pm
Location: Qatar
Has thanked: 82 times
Been thanked: 113 times

Re: Weird behaviour with controlls and USB hub

Post by ABH » Fri Dec 09, 2016 3:01 pm

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 "

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest