Page 1 of 2
Teensy wiring issue?
Posted: Mon Oct 17, 2016 10:43 am
by Jpayne30
I have a feeling this is probably covered elsewhere in the forums I am just having difficulty finding anything. I am following wermys original guide and am on a mixture of guides 5 and 6. I cannot get the pi to recognize a keyboard through the hub or the input from the teensy. The hub output is connect to pads 22 and 23. The teensy is connected to one of the hubs inputs. The screen, hub and pi are all being powered off a single 5v 2.6a power supply. Its gets all the way to the Emulation Stations "no game pad detected" screen. I will be testing directly with an OTG cable on Wednesday when it arrives as I'm not sure my homemade is functioning properly. Just curious if anyone has any other ideas or solutions to try in the meantime.
Re: Pi zero not recognizing game pad or keyboard
Posted: Mon Oct 17, 2016 2:33 pm
by JohnnyFYVE
Jpayne30 wrote:I have a feeling this is probably covered elsewhere in the forums I am just having difficulty finding anything. I am following wermys original guide and am on a mixture of guides 5 and 6. I cannot get the pi to recognize a keyboard through the hub or the input from the teensy. The hub output is connect to pads 22 and 23. The teensy is connected to one of the hubs inputs. The screen, hub and pi are all being powered off a single 5v 2.6a power supply. Its gets all the way to the Emulation Stations "no game pad detected" screen. I will be testing directly with an OTG cable on Wednesday when it arrives as I'm not sure my homemade is functioning properly. Just curious if anyone has any other ideas or solutions to try in the meantime.
I had to plug the Teensy in via micro USB to the Raspberry Pi... Once i did that it recognized the Teensy input even after I disconnected the micro USB. I have no idea why it won't recognize it, one theory is the OS needs to be running the first time you try connecting the Teensy. Anyway, I had the same problem and that worked for me. Hope this helps.
J.D
Re: Pi zero not recognizing game pad or keyboard
Posted: Mon Oct 17, 2016 3:09 pm
by Jpayne30
JohnnyFYVE wrote:
I had to plug the Teensy in via micro USB to the Raspberry Pi.
Did you go through a hub still, or did you use an OTG cable straight to the pi?
Re: Pi zero not recognizing game pad or keyboard
Posted: Mon Oct 17, 2016 5:10 pm
by zerocrash
I had the same problem but it ended up being that I had the d+ and d- wires reversed so I would check that first and make sure that you have the orientation right. I also twisted my usb data wires together at the same time I was working on that so that probably helped if there was any interference.
Re: Pi zero not recognizing game pad or keyboard
Posted: Mon Oct 17, 2016 8:50 pm
by JohnnyFYVE
[/quote]
Did you go through a hub still, or did you use an OTG cable straight to the pi?[/quote]
Micro USB directly from the Teensy to the Pi using the factory Micro USB ports.... I used a USB to Micro USB adaptor on one end so both ends were micro.
Re: Pi zero not recognizing game pad or keyboard
Posted: Mon Oct 17, 2016 10:29 pm
by Jpayne30
Update:
Pi is reading gamepad input from the teensy. Reconnected the USB Hub to the pi and the teensy still reads through the hub though I cannot get the pi to recognize the keyboard but it gives it power. It's a corsair vengeance k90 keyboard if that makes a difference and the only wired keyboard I currently have available.

Re: Pi zero not recognizing game pad or keyboard
Posted: Wed Oct 19, 2016 7:05 am
by Jpayne30
Welp I went out and bought a new cheap logitech USB keybaord and its working as expected now. My only remaining problem now is getting the teensy to read on the hub through its wiring. It works fine when plugged in to the hub via micro USB cable but once I solder it to the hub it no longer reads it. I've checked and rechecked, desoldered and resolder, flipped white and greens around, nothing is working. I am not sure if I'm just not considering a possibility or just flat out missing something. Any suggestions?
Re: Pi zero not recognizing game pad or keyboard
Posted: Wed Oct 19, 2016 7:49 am
by Helder
Jpayne30 wrote:Welp I went out and bought a new cheap logitech USB keybaord and its working as expected now. My only remaining problem now is getting the teensy to read on the hub through its wiring. It works fine when plugged in to the hub via micro USB cable but once I solder it to the hub it no longer reads it. I've checked and rechecked, desoldered and resolder, flipped white and greens around, nothing is working. I am not sure if I'm just not considering a possibility or just flat out missing something. Any suggestions?
I can't remember the guys name right now but he discovered that sometimes you have to solder the 5th pin of the OTG on the PI to ground for it to recognize certain things. I thought it was just some isolated incident but seems like it might be your problem too, and he used an external USB hub like you.
Re: Pi zero not recognizing game pad or keyboard
Posted: Wed Oct 19, 2016 8:03 am
by Jpayne30
Helder wrote:
I can't remember the guys name right now but he discovered that sometimes you have to solder the 5th pin of the OTG on the PI to ground for it to recognize certain things. I thought it was just some isolated incident but seems like it might be your problem too, and he used an external USB hub like you.
I'll have to try that once I get home this afternoon, I have the pi zero v1.3. Would you be able to direct me on which pad/pin exactly need to be soldered? I will also be spending time researching when I get chances through out the day.
Re: Pi zero not recognizing game pad or keyboard
Posted: Wed Oct 19, 2016 8:04 am
by AerynSun
Helder wrote:
I can't remember the guys name right now but he discovered that sometimes you have to solder the 5th pin of the OTG on the PI to ground for it to recognize certain things. I thought it was just some isolated incident but seems like it might be your problem too, and he used an external USB hub like you.
It think this is the
Post you are talking about.