Main > Main Forum
Button wiring.
<< < (2/3) > >>
Herk:
BobA,

That sounds perfect, I thought restricting the flow would be more complicated than that.  Now for a lazy question.  What diodes do I need?  OK, I did a bit of quick reading.  I need regular p-n diodes.

Thanks alot,

Herk
danny_galaga:


yep, you can pretty much use the cheapest, smallest diodes you can find at radio shack. its only a signal, so very small current.
Tiger-Heli:
Another option -

From the picture, the tank stick looks like it is 26 inputs (16 buttons, two joysticks, 2 start).  There might be coin inputs that I am missing.

The X-Arcade DIY PCB is 28 inputs.

Assuming the Tank Stick uses the same PCB, you could just wire a button to one of the unused inputs and program it to send Esc.

Probably simpler than the diodes method.
Herk:
Tiger-Heli,

     What is nice about the Tankstick is the flash memory program mode.  There are 4 modes. Mode 1 is for default MAME setup and is not programmable, 2, 3 and 4 are.  I want to use mode 1 with the extra esc button so I can't just program it to an open input.  Also there are two coin buttons on the Tankstick as well, one of which is the button 2=b in my scenario.  The diode way looks good to me.  I will let you all know when I wire it up, maybe later today.

Thanks for the help,

Herk
superbigjay:

--- Quote from: BobA on April 25, 2007, 01:31:45 am ---2 diodes inserted in the action side would prevent a and b buttons from interactiing.  Not knowing the ciircuit it would be trial and error in positioning them properly as to polarity.   If it does not work one way it is the other way.

--- End quote ---
Hello Herk, as BobA said, 2 diodes should do the trick.  Almost any diode that support 5V or more should do the trick.  If I remember my electronic, the orientation of the 2 diodes should be the cathode toward the NO port of your pushbutton 3.

Here a schem...
Navigation
Message Index
Next page
Previous page

Go to full version