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: Wiring / Mapping help  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

mwhitney

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 129
  • Last login:December 06, 2017, 10:30:20 pm
  • I want to build my own arcade controls!
    • Michael Whitney - Designer. Maker. Builder.
Wiring / Mapping help
« on: June 28, 2017, 12:12:41 pm »
Hey guys -

I'm summing up a DK custom build and running RPi and a XinMo controller. I bought the 2-player version but have since rethought it as the games we'll be playing are more classic versus modern. In other words, button requirements are slim.

Some of the games we'll be playing: Atari 2600 games, Super Mario, DK country (probably the most need-heavy as far as controls) and games like Shinobi, R-Type, Altered Beast, Space Harrier.

I have my CP artwork which includes:

1) Standard 1P 2P buttons
2) Jump button
3) Joystick of course

To open things up a bit, I've added:

1) 3 additional buttons below the 1/2 P buttons
2) 2 black buttons underneath the return below the speaker grill.

Here's what I have wired up to the Xin Mo:

1) One of the three additional buttons I've added below P1/2 is set-up as a 'Fire' button.
2) L/R/U/D are wired to the joystick

Here's what I'm not sure of:

1) What additional buttons I'll need (I have 2 remaining below P1/P2)
2) How do the P1/P2 buttons get wired to the Xin Mo and what function are they given in RPi mapping?
3) I was thinking that the two black buttons below the speaker grill return could serve as 'hidden' add credit buttons - how would these get wired / mapped to the Xin Mo / Rpi
4) How is the coin mech wired to the XinMo / Rpi to trip a 'credit'.
5) I have a double version coin mech, but the arcade is only one player... can both be spliced so as to trigger the same 'add credit' function?

Here is a photo of my CP as well as a standard XinMo wiring 'map' - just a bit lost as to what goes where. I know how to map it in Rpi once wired... just not sure what's needed / how to make it all jive and function for the game list we'll be playing.

CP:


Xin Mo board (2 player) but only using one side:



Thanks in advance.

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Wiring / Mapping help
« Reply #1 on: June 28, 2017, 01:30:50 pm »
You are over thinking this really lol

You can wire any button to any button input on the xin mo.
It does not matter which as you will customise what does what in retro pie.

Just make sure you wire all p1 action buttons to the p1 side.

As for the coin mech again just wire to a button input and set up in retropie.

And yes you can have both coins and even the credit button wired to the same input.

mwhitney

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 129
  • Last login:December 06, 2017, 10:30:20 pm
  • I want to build my own arcade controls!
    • Michael Whitney - Designer. Maker. Builder.
Re: Wiring / Mapping help
« Reply #2 on: June 28, 2017, 03:03:58 pm »
Thanks -

That makes sense. So the labeling on the Xin Mo in the photo is completely arbitrary and can be mapped however a guy wants.

1) For the coin mech, do you just splice the two sides together and then attach to the Mo?

2) Any suggestions on how to best wire (button location) the buttons I have? Currently I've got the 'fire' button set as the one closest to the joystick... is there a 'standard' that will allow for the games mentioned above?

This is my first arcade - probably over-thinking it as you say... last night it was hurting my coconut. ;)

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Wiring / Mapping help
« Reply #3 on: June 28, 2017, 05:54:35 pm »
1) basicly join the signal wires together for each mech and if they have a separate ground join them together also.
Then yeah connect to the mo as usual.

But you may also need to put a zenner in circuit as well but the depends on your coin mech but hopefully you already know if thats needed??

2) whichever way you want again totally up to you and customisable.

You have gone for a fairly odd layout really having 3 + 1.

But standard numbering would be closest to stick = 1 then 2 etc.

mwhitney

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 129
  • Last login:December 06, 2017, 10:30:20 pm
  • I want to build my own arcade controls!
    • Michael Whitney - Designer. Maker. Builder.
Re: Wiring / Mapping help
« Reply #4 on: June 28, 2017, 06:42:14 pm »
Thanks Titch.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 04:48:55 pm
  • Designated spam hunter
Re: Wiring / Mapping help
« Reply #5 on: June 28, 2017, 07:44:40 pm »
1) For the coin mech, do you just splice the two sides together and then attach to the Mo?
Just to clarify, what type of "coin mech" are you using?

Is it a microswitch coin mech or is it an electronic (12v) coin recognizer?

Microswitch - splice them together, no problem

12v recognizer - make sure you have the zener diode installed properly so you don't fry the (5v) Xin-Mo


Scott