Page 1 of 2
Teensy not accepting 1 button
Posted: Sat May 14, 2016 6:42 am
by Fleder
Hello there,
i've run into another problem on my progress.
I have wired up my frankenboard to the teensy now.
He recognises every button except for the right d pad (d on teensy).
It works, as i measured the output on the cables, but as soon as the cable goes to the teensy, nothing happens if i push it.
The script seems to be good:
Code: Select all
void setupKeys() {
keys[0] = key('w', 0);
keys[1] = key('s', 1);
keys[2] = key('a', 2);
keys[3] = key('d', 3);
keys[4] = key('p', 4);
keys[5] = key('l', 5);
keys[6] = key('o', 6);
keys[7] = key('k', 7);
keys[8] = key('x', 8);
keys[9] = key('z', 9);
keys[10] = key('q',10);
keys[11] = key('e',11);
Does someone have any idea what I could do to find the mistake? Thanks
Re: Teensy not accepting 1 button
Posted: Sat May 14, 2016 7:17 am
by crispy_tofu
Check solder joints / try swapping inputs on teensy? Just to check if there's just a problem with the 4th input.

Re: Teensy not accepting 1 button
Posted: Sat May 14, 2016 7:18 am
by Kurai Kitsune
without a picture i can only imagine the ground isnt hooked up to the button pads for the right dpad?
other things could be that wire is shorting out with something else
Re: Teensy not accepting 1 button
Posted: Sat May 14, 2016 7:25 am
by Fleder
crispy_tofu wrote:Check solder joints / try swapping inputs on teensy? Just to check if there's just a problem with the 4th input.

Hard- or Software? You mean, put the wire for DPad right to another teensy pin?
Kurai Kitsune wrote:without a picture i can only imagine the ground isnt hooked up to the button pads for the right dpad?
other things could be that wire is shorting out with something else
They all have a common ground, if this one was broken, every ground would be and thus every button.
Also, i checked the button via multimeter and it works great until i wire it to the teensy, so it might be the teensy being faulty?
Here is a picture of the Wires from the Controller Board
It is the red wire. As i wrote, i checked it via multimeter and it works.
Re: Teensy not accepting 1 button
Posted: Sat May 14, 2016 4:28 pm
by crispy_tofu
Fleder wrote:crispy_tofu wrote:Check solder joints / try swapping inputs on teensy? Just to check if there's just a problem with the 4th input.

Hard- or Software? You mean, put the wire for DPad right to another teensy pin?
Yes, sorry for the confusion. Hardware.

Re: Teensy not accepting 1 button
Posted: Sat May 14, 2016 6:16 pm
by chiz
@Fleder
A similar thing happened to me before. Try this: use your right d pad as "ground" and using a piece of wire, bridge any other connection and see if it will register the button you just bridged. Let me know what happens.
Re: Teensy not accepting 1 button
Posted: Sun May 15, 2016 8:28 am
by Fleder
Guys, now it works. I have no idea why.
I just fixed a broken wire and tried it again, to see what exact key was not working and now it works like a charm.
Thank for your help, though!
Re: Teensy not accepting 1 button
Posted: Sun May 15, 2016 1:27 pm
by ylwsub68
This is happening to me now, except Left is not working. The ground is good, the button connection is good. Checked it all with a multimeter. I even switched out the button and the button pads.
Maybe I'll try to use a different input on the Teensy. Feel free to chime in if there is an absolute solution. Thanks.
Re: Teensy not accepting 1 button
Posted: Sun May 15, 2016 7:37 pm
by ylwsub68
So when I hot glued the Dpad cluster, somehow the wire for Left came loose a tiny bit. I found that Left only worked when I pressed on the glue cluster. So I cut into the glue where that trace was (which was right at the edge of the glue), exposed more of the copper at that trace, and added more solder. Works like a charm now. Check those connections!
Re: Teensy not accepting 1 button
Posted: Sun May 15, 2016 7:45 pm
by crispy_tofu
@Fleder
Glad to hear that you got it working.
