Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: xarcade tankstick button wiring?  (Read 1250 times)

0 Members and 1 Guest are viewing this topic.

Yuskis1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:July 03, 2015, 08:21:06 pm
xarcade tankstick button wiring?
« on: February 14, 2014, 12:46:43 am »
I have an arcade tankstick and I am getting ready to build my arcade cabinet soon.  Im so excited!  while planning it out i have come up with an idea to add extra buttons to the machine for "pause" and "exit"  currently to pause you have to push the 2 trigger buttons together.  To exit, you have to push player one and the left trigger buttons together.  Would their be a problem to just run a second set  of wires to each of the 2 buttons and link them to one button so that when pressed it would actually be like pushing the 2 buttons simultaneously?  i don't want to risk shorting anything out so i thought i would ask first.  I hope this makes sense what i am asking.  Thanks for the help.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9673
  • Last login:Today at 04:20:24 am
  • Designated spam hunter
Re: xarcade tankstick button wiring?
« Reply #1 on: February 14, 2014, 01:42:37 am »
If you want to press 1 button (button C) to ground 2 inputs (buttons A and B) at the same time, there are two ways to do it.

1. Wire buttons A and B "backward" like "Up", "Down", and "P1 U+D" in this diagram:
- Encoder input connected to COM (buttons A and B)
- Ground connected to NO (buttons A and B)
- Connect the NC from buttons A and B to one side of switch C ("P1 U+D") and ground to the other.



2. Use diodes like this diagram:

If connected without the diodes, pressing either the top or bottom button will complete both circuits.

With the diodes:
- Pressing the top button completes the top circuit
- Pressing the bottom button completes the bottom circuit
- Pressing the center button forward biases both diodes and completes both circuits



NOTE: The one thing that could make this difficult is that the XArcade encoder uses a different ground for each connector IIRC.  Not sure if the "two trigger" buttons you describe use the same ground.   :dunno


Scott
« Last Edit: April 02, 2014, 03:15:29 pm by PL1 »

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5645
  • Last login:March 02, 2019, 07:35:34 pm
  • I glow in the dark.
Re: xarcade tankstick button wiring?
« Reply #2 on: February 14, 2014, 02:14:50 am »
You might run into issues if you decide to employ all the external console adapters.
If I had only one wish, it would be for three more wishes.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Today at 06:05:14 am
  • ...
Re: xarcade tankstick button wiring?
« Reply #3 on: February 14, 2014, 09:38:32 am »
The Tankstick has one unused lead from the trackball harness that will post as the middle mouse button.
I ran that to a dedicated exit button.  Just remap the cancel button to the middle mouse in MAME.
For other emulators, I have an autohotkey script run at bootup that posts ESC when the middle mouse button is pressed.
Code: [Select]
mbutton::esc

Yuskis1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:July 03, 2015, 08:21:06 pm
Re: xarcade tankstick button wiring?
« Reply #4 on: February 15, 2014, 12:30:10 pm »
Thanks for the feedback so far guys.  ill have to experiment with it and see how it all works out. 

from what I'm hearing though is that i don't have to worry about things getting shorted out or burning up on the button controller then.  am i correct?

that is my biggest fear since i have heavily modified the whole thing. 


Yuskis1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:July 03, 2015, 08:21:06 pm
Re: xarcade tankstick button wiring?
« Reply #5 on: April 02, 2014, 02:39:00 pm »
can you repost that first picture of the wiring diagram because it didn't load? 

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9673
  • Last login:Today at 04:20:24 am
  • Designated spam hunter
Re: xarcade tankstick button wiring?
« Reply #6 on: April 02, 2014, 03:13:32 pm »
can you repost that first picture of the wiring diagram because it didn't load? 

Sorry about that -- it was still showing up for me, but I might have originally linked it from a restricted "Friends of KADE" forum thread.   :embarassed:

Uploaded the original image file to that post.


Scott
« Last Edit: April 02, 2014, 03:21:03 pm by PL1 »