Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: mrdizle on November 17, 2018, 10:45:11 am
-
Newbie question -- sorry.
I am nearly done with my full size arcade cabinet. Everything works great. One of my last steps is to put in the coin slot. I would like the coin slot to quit the Retropie game so that the player can choose a new game in Retropie. I don't use MAME.
However, I would also like to keep a way to quit the game using a two button press (hotkey and start).
1) Is there a way to keep a two button press AND use the coin slot to quit the game with SOFTWARE ONLY?
2) I know there is a way to daisychain the coin slot to the other inputs to do it. This way seems harder. Can someone direct me please? I have a Zero Delay encoder. Four wires come from each button. Seems a little complicated this way, to connect to the coin slot wire.
Thanks very much!
-
Once we know for sure what you're working with, we can recommend an approach. ;D
If you're not sure, post a picture of the item and we'll figure it out. :cheers:
I am nearly done with my full size arcade cabinet. Everything works great. One of my last steps is to put in the coin slot. I would like the coin slot to quit the Retropie game so that the player can choose a new game in Retropie. I don't use MAME.
Which type of "coin slot" hardware you are trying to use?
Is it a microswitch coin mech mounted on a coin door?
https://www.youtube.com/watch?v=KFRnm6Et1zc (https://www.youtube.com/watch?v=KFRnm6Et1zc)
(https://na.suzohapp.com/images/40/42-3066-101.jpg)
Is it an electronic coin recognizer? (no microswitch ==> more difficult)
https://www.youtube.com/watch?v=Dyun1xjKqc4 (https://www.youtube.com/watch?v=Dyun1xjKqc4)
(https://www.arcadeshop.de/images/arcade-coincomparator.jpg)
I have a Zero Delay encoder.
The ZD encoder is an "active high" device which could make the process more difficult. :(
Four wires come from each button.
Are they like these "easyget" buttons?
http://forum.arcadecontrols.com/index.php/topic,154240.0.html (http://forum.arcadecontrols.com/index.php/topic,154240.0.html)
This diagram shows how to wire them to an "active low" encoder.
For the ZD encoder, tab A would be 5v instead of ground.
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=154240.0;attach=358814;image)
Scott
-
1. Not an easy way. It is either or. So the hotkey way, or a single button press. That is through the Emulationstation software though. You could write a script that looks for a GPIO button press to quit the game (you could look into the turn off scripts for the RPi).
2. You can wire the hotkey button input (from the ZD encoder) as well as the exit-button input to the coin door, so the coin mech will press both buttons. The input for hotkey on the ZD will have wires to both the hotkey button and the coin mech. Same goes for the input for your exit button (start by default). This is in my opinion by far the easiest.
-
2. You can wire the hotkey button input (from the ZD encoder) as well as the exit-button input to the coin door, so the coin mech will press both buttons. The input for hotkey on the ZD will have wires to both the hotkey button and the coin mech. Same goes for the input for your exit button (start by default). This is in my opinion by far the easiest.
microswitch coin mech
If you have both the hotkey and start inputs tied to the coin mech microswitch, you'll need something like the blocking diodes on the "Shazaaam! + X (one click)" switch shown below (diodes reversed and daisy-chain 5v instead of ground since the ZD encoder is "active high") or a DPDT switch with each input using a separate pole (maybe a double-stacked leaf switch?) or a DPDT relay.
If you don't have some means of isolating the inputs, both inputs will trigger every time one of them is pressed.
(http://groovygamegear.com/example1.jpg)
12v coin recognizer
If OP is using a coin recognizer, a 12v DPDT relay like the one that Infantsorrow used in this thread (http://forum.arcadecontrols.com/index.php/topic,137899.0.html) would be the easiest option.
- No zener dode needed to regulate the 12v down to 5v.
- No need to adapt the "active low" coin recognizer to work with the "active high" ZD encoder.
Scott
-
Didn't know that. Thanks!
-
Wouldn't using the coin insert as an exit button cause problems in games that you want to add another coin to continue ? Since adding another coin would exit the game instead of letting you continue the game you are playing :dunno
-
Wouldn't using the coin insert as an exit button cause problems in games that you want to add another coin to continue ? Since adding another coin would exit the game instead of letting you continue the game you are playing :dunno
That would be a problem for coin-op system emulators like MAME if OP was using them
I don't use MAME.
Scott
-
Coin slot is wired no different than any other input. It’s just a microswitch.
Zero delay encoder is a “joystick” encoder, not a “keyboard” encoder. I don’t think you can reprogram them either, though I could be wrong. I recommend I/Jpac. Has built in shift functionality for your double press, and can reprogram it. Being keyboard based means it will work out of the box with everything.
I would add a microswitch behind the reject button. Or swap in the novagem reject looking buttons into your coin door. Possibly the same size. Might just have to make a plate.
-
Wouldn't using the coin insert as an exit button cause problems in games that you want to add another coin to continue ? Since adding another coin would exit the game instead of letting you continue the game you are playing :dunno
That would be a problem for coin-op system emulators like MAME if OP was using them
I don't use MAME.
Scott
I doubt mrdizle knows the difference between Emulationstation as the frontend and MAME as the emulator, as he is referring to "the Retropie game".
Newbie question -- sorry.
I would like the coin slot to quit the Retropie game so that the player can choose a new game in Retropie. I don't use MAME.