The NEW Build Your Own Arcade Controls

Main => Main Forum => Topic started by: FakedPotato on January 31, 2018, 03:16:24 pm

Title: Getting a coin door to work with ZeroDelay?
Post by: FakedPotato on January 31, 2018, 03:16:24 pm
Hello-

Am new to building arcade cabs, but am somewhat experienced with retropie and its software, still a Noob all around.

Alright, I finally found out today how to get all my HAPP joysticks/LED buttons hooked up to my USB encoder board,
which wasnt too hard to figure out, just took some tme to research to find the right answers.

What i cannot seem to find however.. is how to get a coin door operational with a raspberry pi.

Just like a HAPP joystick, my coindoor I purchased from a local seller has a microswitch.

Is there anyway to connect that to a usb encoder, or is it a can of worms? Maybe I just havent dug deep enough online yet
but I cannot seem to find a straight answer.

Thanks in advance for your time and any help you might be.
Title: Re: Getting a coin door to work with ZeroDelay?
Post by: PL1 on January 31, 2018, 04:16:19 pm
my coindoor I purchased from a local seller has a microswitch.

Is there anyway to connect that to a usb encoder
Hardware:
Wire the coin door microswitch the same way you would any button or joystick microswitch.

One wire connects to the Normally Open (NO) tab and the other wire connects to the Common (COM) tab.

Microswitches are not polarized (no + or - ) so it doesn't matter which tab gets which wire.

Software:
You will need to map the encoder input to "Coin 1" in the "Input (general) -- Other Controls" sub-menu in MAME.


Scott
Title: Re: Getting a coin door to work with ZeroDelay?
Post by: barrymossel on February 01, 2018, 08:57:31 am
Hello-

Am new to building arcade cabs, but am somewhat experienced with retropie and its software, still a Noob all around.

Alright, I finally found out today how to get all my HAPP joysticks/LED buttons hooked up to my USB encoder board,
which wasnt too hard to figure out, just took some tme to research to find the right answers.

What i cannot seem to find however.. is how to get a coin door operational with a raspberry pi.

Just like a HAPP joystick, my coindoor I purchased from a local seller has a microswitch.

Is there anyway to connect that to a usb encoder, or is it a can of worms? Maybe I just havent dug deep enough online yet
but I cannot seem to find a straight answer.

Thanks in advance for your time and any help you might be.
The coin door is the same as the SELECT button in RetroPie (sure, you could change that). So if you want to use both the coin door and a button for COIN/SELECT, just wire both of them to the same input on the Zero Delay encoder.
If you want to use the coin door only for Mame you could wire that microswitch to another input on the encoder and map it to some other button that you don't use in EmulationStation/RetroPie. Then configure that button to coin/select in Mame.

I would (will) do the first.