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: sanwa jlf wiring  (Read 19447 times)

0 Members and 1 Guest are viewing this topic.

noobofthecentury

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
  • Last login:April 15, 2008, 01:18:00 am
sanwa jlf wiring
« on: April 02, 2008, 04:38:13 pm »
I have the sanwa jlf
it comes with 5 wires

black, green, yellow, orange and red

I would assume black is the common ground
but which one is up , down, left or right?


Also, I am hacking a PS1 dualshock controller
does it only need 1 common ground for all the directional buttons?




thx guys

Kajoq

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:June 14, 2024, 11:28:46 pm
Re: sanwa jlf wiring
« Reply #1 on: April 02, 2008, 05:16:27 pm »
it depends on how you mount it which is u/d/l/r

This chart should help you figure it out though


Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
Re: sanwa jlf wiring
« Reply #2 on: April 02, 2008, 05:27:51 pm »
Arrrgh, I just lost my post, here goes the 2nd attempt!

It does not matter which orientation you mount the stick. If you get it the 'wrong' way round all you will do is mess up U/D and L/R. I would suggest to put a terminal block between the joystick and game pad. That way you an easily swap the connections. You can always remove the terminal block once you are happy and solder/heat shrink the wires.

The only problem you will have is if you pad does not work off a common ground (i.e each contact on the joypad has a separate ground). If that is the case, cut the common ground trace on the JLF PCB and connect separate wires from each micro to the relevant ground.

Kajoq

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:June 14, 2024, 11:28:46 pm
Re: sanwa jlf wiring
« Reply #3 on: April 02, 2008, 05:34:16 pm »
You can use a common ground on the PS1 dual shocks, He can still use the wiring harness

Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
Re: sanwa jlf wiring
« Reply #4 on: April 02, 2008, 06:56:56 pm »
You can use a common ground on the PS1 dual shocks, He can still use the wiring harness

That's good news  :)

I think I was over complicating things before. If you have a multimeter, check which micro is the 'Up' one and connect it to the 'up' microswitch of your JLF. Do the same for the rest of your contacts.

If you don't have a multimeter you should be able to do if by eye. If memory serves me correct you should be able to see the PCB traces quite easily. 

Kajoq

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:June 14, 2024, 11:28:46 pm
Re: sanwa jlf wiring
« Reply #5 on: April 02, 2008, 10:51:33 pm »
Or he can just match it up to the chart I posted and not have to worry about the Multimeter =x

noobofthecentury

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
  • Last login:April 15, 2008, 01:18:00 am
Re: sanwa jlf wiring
« Reply #6 on: April 02, 2008, 11:31:21 pm »
Based on the pad picture I posted,
Does it look like it shares common ground?

can some1 tell me where I should solder the black cable on the gamepad pic?
just to be sure, maybe also the rest of the cables =P

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: sanwa jlf wiring
« Reply #7 on: April 03, 2008, 06:02:32 am »
Based on the pad picture I posted,
Does it look like it shares common ground?

See the attached picture... follow the yellow line.... you can see that there is continuous copper on the srface of the board between those pads, that is your common ground for the stick, because they're all connected by that copper on one side of each contact switch.

To solder your common ground to the board, choose any point in that yellow line where you can see copper underneath the green varnish. Very Gently, sand off some of the green varnish until you can see bright copper and solder your ground to that.

Best Regards,
Julian (Fozzy The Bear)
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

MagicMan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:April 18, 2020, 12:17:05 pm
Re: sanwa jlf wiring
« Reply #8 on: November 05, 2012, 01:32:47 pm »
I have the sanwa jlf
it comes with 5 wires

black, green, yellow, orange and red

I would assume black is the common ground
but which one is up , down, left or right?


Also, I am hacking a PS1 dualshock controller
does it only need 1 common ground for all the directional buttons?




thx guys

Does anyone know which color is for what on the JLF?

blacketj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:August 29, 2018, 01:00:07 am
Re: sanwa jlf wiring
« Reply #9 on: November 05, 2012, 02:07:00 pm »
I don't know, but you should be able to figure it out with a cheap multimeter($15-20) that has a continuity tester.  Just hook the common ground to the negative on the meter, then pick a wire color and attach it the positive.  And then start moving the controller around and listen for the buzzer.  Label it and move on to the next color.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Online Online
  • Posts: 9272
  • Last login:Today at 04:11:34 pm
  • ...
Re: sanwa jlf wiring
« Reply #10 on: November 05, 2012, 03:32:13 pm »
 :dunno

EDIT: BEWARE OF VENDORS USING WIRING HARNESSES THAT DON'T MATCH THE ORIGINAL JLF ONES.  USE THE POSITION OF THE WIRE IN THE HARNESS IF YOUR COLORS AREN'T IN THE SAME ORDER AS PICTURED BELOW.
« Last Edit: February 19, 2013, 04:09:19 pm by BadMouth »

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: sanwa jlf wiring
« Reply #11 on: November 05, 2012, 03:55:39 pm »
My method? Trial and error. It only takes a few minutes to figure out what goes where.  :cheers:

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Online Online
  • Posts: 9272
  • Last login:Today at 04:11:34 pm
  • ...
Re: sanwa jlf wiring
« Reply #12 on: November 05, 2012, 05:11:28 pm »
My method? Trial and error. It only takes a few minutes to figure out what goes where.  :cheers:

Yep, I hook just one switch up, see which input it's tripping, move those leads to the correct direction, repeat.
Takes less time than it did for me to make that wiring diagram.