Teensy wiring issue?

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Jpayne30
Posts: 37
Joined: Mon Oct 03, 2016 6:12 pm
Location: Nebraska, USA
Has thanked: 17 times
Been thanked: 5 times
Contact:

Teensy wiring issue?

Post by Jpayne30 » Mon Oct 17, 2016 10:43 am

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.
Last edited by Jpayne30 on Wed Oct 19, 2016 7:06 am, edited 1 time in total.

User avatar
JohnnyFYVE
Posts: 29
Joined: Wed Sep 28, 2016 11:25 pm
Location: Ontario, Canada
Has thanked: 8 times
Been thanked: 5 times

Re: Pi zero not recognizing game pad or keyboard

Post by JohnnyFYVE » Mon Oct 17, 2016 2:33 pm

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

Jpayne30
Posts: 37
Joined: Mon Oct 03, 2016 6:12 pm
Location: Nebraska, USA
Has thanked: 17 times
Been thanked: 5 times
Contact:

Re: Pi zero not recognizing game pad or keyboard

Post by Jpayne30 » Mon Oct 17, 2016 3:09 pm

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?

zerocrash
Posts: 7
Joined: Sat Sep 17, 2016 12:03 pm
Been thanked: 2 times

Re: Pi zero not recognizing game pad or keyboard

Post by zerocrash » Mon Oct 17, 2016 5:10 pm

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.

User avatar
JohnnyFYVE
Posts: 29
Joined: Wed Sep 28, 2016 11:25 pm
Location: Ontario, Canada
Has thanked: 8 times
Been thanked: 5 times

Re: Pi zero not recognizing game pad or keyboard

Post by JohnnyFYVE » Mon Oct 17, 2016 8:50 pm

[/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.

Jpayne30
Posts: 37
Joined: Mon Oct 03, 2016 6:12 pm
Location: Nebraska, USA
Has thanked: 17 times
Been thanked: 5 times
Contact:

Re: Pi zero not recognizing game pad or keyboard

Post by Jpayne30 » Mon Oct 17, 2016 10:29 pm

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. :|

Jpayne30
Posts: 37
Joined: Mon Oct 03, 2016 6:12 pm
Location: Nebraska, USA
Has thanked: 17 times
Been thanked: 5 times
Contact:

Re: Pi zero not recognizing game pad or keyboard

Post by Jpayne30 » Wed Oct 19, 2016 7:05 am

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?

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Pi zero not recognizing game pad or keyboard

Post by Helder » Wed Oct 19, 2016 7:49 am

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.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Jpayne30
Posts: 37
Joined: Mon Oct 03, 2016 6:12 pm
Location: Nebraska, USA
Has thanked: 17 times
Been thanked: 5 times
Contact:

Re: Pi zero not recognizing game pad or keyboard

Post by Jpayne30 » Wed Oct 19, 2016 8:03 am

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.

User avatar
AerynSun
Posts: 26
Joined: Sun Aug 07, 2016 1:57 pm
Location: Kaiserslautern, Germany
Has thanked: 46 times
Been thanked: 14 times

Re: Pi zero not recognizing game pad or keyboard

Post by AerynSun » Wed Oct 19, 2016 8:04 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest