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: Happ 6 speed shifter wiring (Need For Speed)  (Read 5408 times)

0 Members and 1 Guest are viewing this topic.

BadMouth

  • Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9226
  • Last login:April 18, 2024, 12:43:52 pm
  • ...
Happ 6 speed shifter wiring (Need For Speed)
« on: October 15, 2015, 10:34:48 am »
(In the spirit of the riddle of the 4-way shifter thread: http://forum.arcadecontrols.com/index.php/topic,106709.msg1130503.html#msg1130503  ...although I'm nowhere close to an answer for this one )

Here's a puzzle that I haven't gotten around to yet.
What's the best solution for wiring a 6 speed happ shifter to a standard input device like an ipac?
Here's the OEM wiring and which switches are tripped by which gears.



« Last Edit: October 15, 2015, 10:50:55 am by BadMouth »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19400
  • Last login:April 15, 2024, 10:59:21 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #1 on: October 15, 2015, 01:53:03 pm »
Ok the possibility for conflicts is high, but at the risk of over-simplifying things....

First off, forget about common ground and piggy backing it... that's out. 

What you would do is piggy-back switches in a series of stand-alone loops like so:


I-Pac GND ---------->SW1 GND [switch 1] SW1 NC --------->SW2 GND [switch 2] SW2 NC------->I-Pac P1 B1

The above loop would only complete if both switch 1 AND switch 2 are closed.

The problems would be switches 3 and 4, which only need one switch closed... my bet is they would gum up the works. 


A far easier solution is to either hack a keyboard encoder or use a teensy outputting as a keyboard.  Then you can do a 2-d array and things solve themselves. 

A teensy is cheaper than an I-pac and has enough I/O pins to easily handle the shifter and any buttons you would have on the control panel, so if it were me, that's what I would use.

terminator2k2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:March 08, 2024, 05:46:40 pm
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #2 on: October 15, 2015, 06:49:59 pm »
just wandering if this would work....

4 x 2 input nand gates
2 x 3 input nand gates
4 x not gates

the outputs  from 1, 2, 5, 6 are run through not gates and fed to the inputs of the and gate...




« Last Edit: October 15, 2015, 07:00:52 pm by terminator2k2 »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19400
  • Last login:April 15, 2024, 10:59:21 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #3 on: October 15, 2015, 10:26:17 pm »
That should totally work. 

terminator2k2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:March 08, 2024, 05:46:40 pm
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #4 on: October 16, 2015, 06:00:29 am »
Would i be correct saying that the nand gates need to be changed to Or gates so the outputs are pulled low , when the micro switches are active and pulled low ?

Id had a bit too drink and really tired when i came up with that lol.




BadMouth

  • Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9226
  • Last login:April 18, 2024, 12:43:52 pm
  • ...
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #5 on: October 16, 2015, 06:37:53 am »
My thinking was logic gates or the demultiplexor doohicky that retrorepair used for the 4 speed shifter.  Work has had my brain too burnt out to think on it though.  I still can't focus enough to tell if your diagram is correct. 

Is there a product that has all or some of these gates on a single chip?
« Last Edit: October 16, 2015, 06:39:30 am by BadMouth »

terminator2k2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:March 08, 2024, 05:46:40 pm
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #6 on: October 16, 2015, 06:45:08 am »
I will try later to get a diagram up and the list of parts etc , i was thinking of using or gates so the output can go directly to something like a ipac , so when the inputs are low ( to ground) the output goes low and not high to switch the ipac inputs on. Im in the hospital having my infliximab infusion so ill have a look later.

terminator2k2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:March 08, 2024, 05:46:40 pm
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #7 on: October 16, 2015, 07:01:00 am »
You would need something like:

1 x 7432 quad , 2 input or gate
1x 4075 triple , 3 input or gate
1 x 7404 8, not gates.




SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1208
  • Last login:April 18, 2024, 06:52:53 am
    • For Amusement Only e.V.
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #8 on: October 16, 2015, 09:53:38 am »
One 74 154 should do. although I don't know about floating inputs.
Code: [Select]
G L R U D

D C B A O
1 0 1 0 1 5
2 0 1 1 0 6
3 1 1 0 1 13
4 1 1 1 0 14
5 1 0 0 1 9
6 1 0 1 0 10
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Fursphere

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1207
  • Last login:Yesterday at 09:26:34 am
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #9 on: October 17, 2015, 11:04:32 am »
Is there a reason you're trying to hack this vs. just getting something like a Thrustmaster TH8A + Joy2Key working?  I know the TH8A is pricey, but not much more then the Happ 6 + encoder board.

If you're just doing it to see if you can, rock on.  :)   :cheers:

BadMouth

  • Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9226
  • Last login:April 18, 2024, 12:43:52 pm
  • ...
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #10 on: October 17, 2015, 11:36:57 am »
Is there a reason you're trying to hack this vs. just getting something like a Thrustmaster TH8A + Joy2Key working?  I know the TH8A is pricey, but not much more then the Happ 6 + encoder board.

If you're just doing it to see if you can, rock on.  :)   :cheers:
I'm not trying to do anything.  I don't even own a Happ 6 speed shifter.
Someone mentioned in another thread that they were trying to interface a need for speed cabinet and hadn't worked out the shifter yet.  I figured it was a fun problem to work out and it's good to have the   some ideas on our board in case somene is searching for a solution.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19400
  • Last login:April 15, 2024, 10:59:21 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #11 on: October 17, 2015, 12:38:14 pm »
It's a good exercise, so I'm all for it. 

When I start working on my custom shifter later this month I'll go ahead and write a sketch for the 4 and 6 way shifters.  It isn't terribly hard. 

Fursphere

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1207
  • Last login:Yesterday at 09:26:34 am
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #12 on: October 18, 2015, 01:09:14 pm »
Is there a reason you're trying to hack this vs. just getting something like a Thrustmaster TH8A + Joy2Key working?  I know the TH8A is pricey, but not much more then the Happ 6 + encoder board.

If you're just doing it to see if you can, rock on.  :)   :cheers:
I'm not trying to do anything.  I don't even own a Happ 6 speed shifter.
Someone mentioned in another thread that they were trying to interface a need for speed cabinet and hadn't worked out the shifter yet.  I figured it was a fun problem to work out and it's good to have the   some ideas on our board in case somene is searching for a solution.

Apparently I struck a nerve.    :dunno  Good luck with your riddle.

Cobra64

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:July 19, 2023, 06:20:40 am
  • I want to build my own arcade controls!
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #13 on: November 04, 2015, 05:25:54 am »
I think it was me that BadMouth was referring to in wanting to configure a Happ 6-speed.

I've managed tonight to drive Daytona USA using the 6-speed (although it only wanted 4 out of the 6 gears).

I used SailorSat's idea of using a 74 154 multiplexor rather than lots of gate ICs.  I had to use a 10K pull-up resistor on the 4 switch inputs to give a +5v signal when the switch was open.  Otherwise the floating input would give spurious results.  This meant that I had to use different outputs from the 154 since an low input means that the switch is closed.  The outputs from the 154 are low when active (all other outputs high).  This was flipped to a high using some NOR gates I had (a 7404 inverter would have been better).  Note that I also had to connect the common switch ground from the cabinet to the ground on my circuit so that the switches have a reference.

The Immersion switch matrix needed to be isolated (I think) from the rest of the circuitry so I used a 74 4016 IC (Bi-lateral switch) to make the switch connection for the switch matrix.  This is controlled by the 6 outputs.  Think of it like a relay.

Finally, the 6 outputs from the 4016 were then wired up to the Immersion switch matrix (see another thread about this) using diodes as per the Immersion instructions.  So gears 1-to-6 now activate joystick buttons 1-to-6.

I've only got it set up on a breadboard right now and used a Duinotech USB based power supply that came with the breadboard.  I did find that when I set the power to 3.3v that the Immersion switch matrix didn't pick up the switching.  I found that with a lower voltage there was a higher resistance produced by the 4016 between the in & out pins.  A higher voltage dropped this resistance allowing the Immersion matrix to think the switch was closed.

Quite a bit of stuffing around and I'm sure there are things that could be done more simply.  I'd be interested if anyone has any simplification ideas.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19400
  • Last login:April 15, 2024, 10:59:21 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #14 on: November 04, 2015, 02:34:23 pm »
Great work!  Let me ask you something.... do the switches on the shifter have a normally open pin?  Short of using an avr as the pc interface (do the logic in software) I don't think you could get it any simpler and have it work reliably, but perhaps the inversion could be removed if it was done at the switch?

Cobra64

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:July 19, 2023, 06:20:40 am
  • I want to build my own arcade controls!
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #15 on: November 04, 2015, 04:45:41 pm »
Yes, the switches are just standard arcade switches but I need to do the inversion on the output of the multiplexor - not the inputs from the switches.  Perhaps there is a 74 154 style IC with opposite outputs (ie active high).  But an avr may be the best given I now have a rats nest of wires going on.

ignignot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:June 25, 2019, 11:49:20 pm
  • I want to build my own arcade controls!
Re: Happ 6 speed shifter wiring (Need For Speed)
« Reply #16 on: March 27, 2019, 12:13:14 am »
Anyone ever crack this one? Ideally something software based.  I need to use an a-pac for the POT based pedals


I think i might try this
https://www.ebay.com/i/223444559751
And use the extra poles to run ground through both extra NC's on the L/R switches to the extra poles on the U/D switches for gears 3+4


Edit: actually the opposite side of the L/R switches there are screw holes to mount an extra pair of spdt cherrys.  I would only need the dpdts on the U/D switches (which conveniently have an extra long actuator) and it should be perfect for the apac
« Last Edit: March 27, 2019, 12:03:55 pm by ignignot »