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: Getting a coin door to work with ZeroDelay?  (Read 2237 times)

0 Members and 1 Guest are viewing this topic.

FakedPotato

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 31, 2018, 05:11:42 pm
  • I want to build my own arcade controls!
Getting a coin door to work with ZeroDelay?
« 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.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9663
  • Last login:Today at 10:35:20 am
  • Designated spam hunter
Re: Getting a coin door to work with ZeroDelay?
« Reply #1 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

barrymossel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:October 29, 2021, 11:25:52 am
  • Spectrum
    • forum.arcadecontrols.com/index.php/topic,157647.0.html
Re: Getting a coin door to work with ZeroDelay?
« Reply #2 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.