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: Joystick wiring.. Maybe a stupid question  (Read 1672 times)

0 Members and 1 Guest are viewing this topic.

R0CK632

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:December 11, 2015, 09:56:12 am
  • I want to build my own arcade controls!
Joystick wiring.. Maybe a stupid question
« on: December 07, 2015, 01:04:23 am »
Probably a stupid question so I'll apologize now..I got the control panel on my cab all setup and am ready to hook up the wiring to the switches. So when I push the joystick up in activates the down switch so now when i hook the wires up to my encoder to the player 1 up, do I connect it to that down switch or the actual up switch on the joystick? Same for left and right since they are reversed as well? Thanks again
« Last Edit: December 07, 2015, 01:07:57 am by R0CK632 »

05SRT4

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1092
  • Last login:May 15, 2025, 05:08:07 am
  • Check out my Pow Pow
Re: Joystick wiring.. Maybe a stupid question
« Reply #1 on: December 07, 2015, 01:55:28 am »
It can be a bit confusing.

Its all backwards. So pressing up does activate the bottom switch. The bottom switch should be wired to the up port on the encoder.

Same thing goes with the left and right.

Its not a huge deal because you should be able to map everything in the software. So if up is actually doing right or down you can just change it in the program.

What encoder did you go with?

aldub516

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 535
  • Last login:November 29, 2018, 03:32:46 pm
  • I want to build my own arcade controls!
Re: Joystick wiring.. Maybe a stupid question
« Reply #2 on: December 07, 2015, 02:06:42 am »
generally, the ACTUAL switch that hits when you press down, is what should be connected to down. Yes it is reverse, but you want down to go to down, and right/left to right/left, but it will always be backward. Technically when you map it in a system, it wont really matter. But if youre beginning, get in the habit of going with the true direction switch to encoder

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8519
  • Last login:Yesterday at 05:01:41 am
  • because the mail never stops
    • dans cocktail lounge
Re: Joystick wiring.. Maybe a stupid question
« Reply #3 on: December 07, 2015, 04:30:25 am »
generally, the ACTUAL switch that hits when you press down, is what should be connected to down. Yes it is reverse, but you want down to go to down, and right/left to right/left, but it will always be backward. Technically when you map it in a system, it wont really matter. But if youre beginning, get in the habit of going with the true direction switch to encoder

What he said. Just observe which switch is activated for the actual direction you want to go. Much simpler to get it right at this point, rather than screwing around in software later...


ROUGHING UP THE SUSPECT SINCE 1981

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: Joystick wiring.. Maybe a stupid question
« Reply #4 on: December 07, 2015, 04:38:28 am »
What they said.
I find it very helpful to mark all the switches on the underside of the panel before I start wiring. (Example: P1Down, P2Up, etc.).
If you dont want to leave these marks on your panel, just tear off pieces of frog tape, place above or below each switch and write on the tape. That way you can peel the tape off after wiring is done.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9664
  • Last login:Today at 02:30:55 am
  • Designated spam hunter

R0CK632

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:December 11, 2015, 09:56:12 am
  • I want to build my own arcade controls!
Re: Joystick wiring.. Maybe a stupid question
« Reply #6 on: December 07, 2015, 09:10:54 am »
Thanks guys..I got th encoder that came with the Xarcade diy kit I purchased..does anyone know if the same holds true for this encoder?

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4419
  • Last login:Today at 02:10:40 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Joystick wiring.. Maybe a stupid question
« Reply #7 on: December 07, 2015, 10:41:41 am »
it don't matter what encoder you have. Just take the wire from the encoder that is assigned to let say "LEFT" and wire that to the joystick switch that activates the LEFT switch (which is the other side).
« Last Edit: December 07, 2015, 10:43:20 am by Thenasty »
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4419
  • Last login:Today at 02:10:40 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Joystick wiring.. Maybe a stupid question
« Reply #8 on: December 07, 2015, 10:51:50 am »
just want to add:

Make sure when hook up everything on the Joystick, hook up the wires to the "COM" and "NO" on the switches. Attach the GND from your encoder to all "COM". Only need one COMmon wire from the encoder to attach to four switches but you need four wires UP/DOWN/LEFT/RIGHT from the encoder to wire into the "NO" to each switch.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

yamatetsu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2724
  • Last login:Today at 12:10:41 pm
  • Just because.
Re: Joystick wiring.. Maybe a stupid question
« Reply #9 on: December 07, 2015, 11:34:54 am »
While I was busy creating my fancy art package, Thenasty beat me to the post. I'll post it anyway.



This is the underside of your control panel. Just wire the switches to the encoder like that. Note : This only shows how to connect the 'NO' parts of the switches to the responding parts on the encoder.
                  

aldub516

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 535
  • Last login:November 29, 2018, 03:32:46 pm
  • I want to build my own arcade controls!
Re: Joystick wiring.. Maybe a stupid question
« Reply #10 on: December 07, 2015, 11:48:31 am »
Encoder does not matter. Always go "true left switch" to left terminal.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9664
  • Last login:Today at 02:30:55 am
  • Designated spam hunter
Re: Joystick wiring.. Maybe a stupid question
« Reply #11 on: December 07, 2015, 12:05:52 pm »
This is the underside of your control panel.
Only if you have x-ray vision and are looking down through the panel.   ;D   :lol

If you are looking up at the underside, the "down" switch will be closest to the monitor and the "up" switch will be closest to the front of the cab.


Scott

yamatetsu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2724
  • Last login:Today at 12:10:41 pm
  • Just because.
Re: Joystick wiring.. Maybe a stupid question
« Reply #12 on: December 07, 2015, 12:42:56 pm »
Only if you have x-ray vision and are looking down through the panel.   ;D   :lol

Duh. Fixed.