Jump to content

TM Grip Wiring Without Base


Recommended Posts

I would like to use a TM grip for a cyclic project without the base. I have some experience with wiring Bodnar boards, but don't know where to start with wiring up the grip using the shift registers. Any help or direction would be appreciated.

Link to comment
Share on other sites

I would like to use a TM grip for a cyclic project without the base. I have some experience with wiring Bodnar boards, but don't know where to start with wiring up the grip using the shift registers. Any help or direction would be appreciated.

 

First thing: you need an (USB) controller with support for Shift Register, Leo Bodnar BU0836A don't support, only "diode Button Matrix".

BU0836X already have Shift Register integrated, but this option use more wires (at least 24) than PS2 connector on grip support, requiring replace the connector.

 

If you already have an BU0836A for this project, depends on your DIY level can draw an replacement PCB with Diode Matrix and replace the original Shift Register PCB, an example made by GVL224:

 

http://avia-sim.ru/forum/download/file.php?id=7665

http://avia-sim.ru/forum/download/file.php?id=7666

 

But this option too use more wires (10 = 6x 4 matrix) than PS2 connector on grip support, requiring replace the connector.

Mini-DIN (PS-2 like) 10 pin connector exist:

https://console5.com/store/sega-saturn-mini-din-10-av-connector-plug-in-line-solder-type-silver-plated.html

 

MMjoy2, FreeJoy firmiware for (low cost ~$5) Arduino (ATMEGA32u4, ATMEGA90USB, 16Mhz, 5v) and STM32F103 boards respectively, support the native Shift Register (CD 4021) inside Warthog/F-16/F-18/Cougar grips, so what you need do is the female PS2 connector, as describe in the linked above Debolestis topic.


Edited by Sokol1_br
Link to comment
Share on other sites

01G8R said:
I would like to use a TM grip for a cyclic project without the base. I have some experience with wiring Bodnar boards, but don't know where to start with wiring up the grip using the shift registers. Any help or direction would be appreciated.

I am converting an old Cougar joystick to be a rigid stick to use with the F-16 module, so this information may be useful for you.

 

The state of the 18 buttons in the Cougar handle (19 in a Warthog) is sent out in 3 Bytes of data using the SPI format.

Here is the handle circuitry.

(I used toggle switches here instead of momentary switches so I could run a simulation to check the position of individual bits in the output).

Cougar SPI.jpg

For USB output the bit order needed to be changed slightly to arrange buffer and switch type boundaries. This was done by programming the 18F4550 which I used to handle the axis values from strain gauges and produce the USB output.

Cougar -Handle .jpg

Hope this helps with your project.


Edited by Terry Dactil
Corrected the pin- out diagram
Link to comment
Share on other sites

  • 2 weeks later...

I was able to DL and install the FW for MMJoy on an Arduino Leonardo. Using the pinout from https://www.reddit.com/r/hoggit/comments/45j5pk/tm_warthog_stick_circuitry/. I tried with the 2015 and newest 2016-11 Firmware. I get what appears to be the correct number of buttons in MMJoy, but they are all lit up. When I physically press them nothing happens. Any advice would be appreciated. On the Leonardo A0 is Data, A1 is CS and SCK is SCK.

05a5e69d2e9a1ef6f4db0b1d5dacd337.thumb.jpg.81ad1f57cb23d9f8912f1849481e505c.jpg

819b18a84890e90f27b2de01bde64ac3.thumb.jpg.21e2efd17f0d1498209e9ab2dba32470.jpg

Link to comment
Share on other sites

Figured out one thing. The Input Number printed on the Leonardo doesn't appear to be correct for MMJoy. Changed it to what is listed in the DL package pictures folder and now they are not all lit up. Still don't get any action from pressing the buttons, but this might be progress

Link to comment
Share on other sites

There are no A0 or A1 pins on Arduino Leonardos. You are using pins F7 and F6.

 

https://raw.githubusercontent.com/MMjoy/mmjoy_en/master/img/Board%20pinouts/Pins_Arduino%5Bleonardo%5D.png

Cougar, CH and Saitek PnP hall sensor kits + shift registers: https://forums.eagle.ru/showthread.php?t=220916

 

Shapeways store for DIY flight simming equipment and repair: https://www.shapeways.com/shops/rel4y-diy-joystick-flight-simming

Link to comment
Share on other sites

You are using an Thrustmaster grip, and Arduino+MMJoy2, a combination used with success by dozen of persons.

 

So forget these links with code theory and follow tested recipes.

 

In MMjoy2 package you have a scheme of how wire Thrustmaster grips in MMjoy2:

 

https://i.postimg.cc/x87t30Nd/Handle...ing-Colors.jpg

 

Looks like that brown and orange and yellow wires are swapped in your connections.

 

As Rel4y post above, in MMJoySetup the names of pins is the hexadecimal numbers of MMjoy2 scheme, not the numbers labeled in Arduino.

Link to comment
Share on other sites

Make sure to use MMJoy ver [v20160818upd1] as the newer one has a bug and the older ones are obsolete. Also make sure to reflash your Arduino with this MMJoy version. The version on the board and the exe need to be the same! I will look into your wiring shortly.

 

(click on Downloads, select the correct version)

https://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=de&ie=UTF8&prev=_t&pto=aue&rurl=translate.google.de&sl=ru&sp=nmt4&tl=en&u=https://sites.google.com/site/mmjoyproject/fajly-dla-skacivania&usg=ALkJrhgi6r14-KngGvDS8i28dP4juRcDBw

Cougar, CH and Saitek PnP hall sensor kits + shift registers: https://forums.eagle.ru/showthread.php?t=220916

 

Shapeways store for DIY flight simming equipment and repair: https://www.shapeways.com/shops/rel4y-diy-joystick-flight-simming

Link to comment
Share on other sites

Wiring on the Arduino looks OK. Your connections to the Mini DIN I cant check. Have you saved your settings in MMJoy? Id check the Mini DIN connections again, its easy to mess them up.

VCC = orange

GND = blue

SCK = yellow

CS = red

DTA = brown

Cougar, CH and Saitek PnP hall sensor kits + shift registers: https://forums.eagle.ru/showthread.php?t=220916

 

Shapeways store for DIY flight simming equipment and repair: https://www.shapeways.com/shops/rel4y-diy-joystick-flight-simming

Link to comment
Share on other sites

Thanks for checking it over. I have saved the settings in MMJoy. I pulled the Mini Din connector apart and re-wired so my colors match the stock TM. I have verified continuity from the end of my connector to the plug inside the TM grip. Still not getting anything with a button press. I'm sure I am missing something. Thanks for the help.

Link to comment
Share on other sites

Something is wrong here. I have tried two different boards with MMjoy and a board with FreeJoy. None of them work. I wired a completely new Din connector and checked continuity. My next step is to try and test the grip on a Warthog base. Unfortunately I don't have one. I bought the stand alone grip for this project so I don't have any way to test it right now. Possibly I bricked the grip working on it.

Link to comment
Share on other sites

See attached. The colors inside the grip for the Mini-Din are Green, Yellow, Orange, Red, Brown. My Mini-Din cable is now wired the same colors (was different in previous pictures) and I have continuity from the end of my wires to the connector inside the grip with no shorts.

1341726748_2020-10-3015_19_32.thumb.jpg.eb901b6f0025600faaa4af3b8bc2a073.jpg

625669206_2020-10-3015_17_40.thumb.jpg.64d048e26d5fe9ba7fe6b2e1a96f36b7.jpg

Link to comment
Share on other sites

The colors inside the grip for the Mini-Din are Green, Yellow, Orange, Red, Brown.

 

Is the same of MMjoy2 scheme (J7):

 

Handle-shift-register-thrustmaster-FLCS-F22-Cougar-Wiring-Colors.jpg

 

Green = Gnd

Brown = +5V

Yellow = MISO (Data)

Orange = SCK

Red = CS

Brown = +5v

 

And the same of what Terril Dactil track:

 

Cougar.jpg

 

 

 

 

 

 

Link to comment
Share on other sites

I think I may have identified some kind of issue. When I have the shift register settings in the attached photo and nothing hooked up to the grip I get what is shown in the video. Buttons flashing on and off. I have tested this with multiple sets of wires. When wires are hooked up it all goes wonky. Is this normal?

1383021113_2020-10-3021_13_36.thumb.jpg.106498232abc2b7ee3c6e4fdc386a2a5.jpg

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...