Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 55 of 112 1 2 53 54 55 56 57 111 112
#4315221 - 11/25/16 09:18 PM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: Sokol1]  
Joined: Nov 2016
Posts: 5
masaV Offline
Junior Member
masaV  Offline
Junior Member

Joined: Nov 2016
Posts: 5
i no know what i must add vid/pid box ?
i not have try burn new micro now but you sai add vid/pid i no know what thats must add.
and use axis,button box come alltiem error somethink ?
newermind i looking more and try understand, read forum and test.

Inline advert (2nd and 3rd post)

#4315620 - 11/27/16 03:22 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
As general rule for VID/PID.

If you want that your MMJoy2 is show for Windows/Games before other joysticks use low number, eg.
0001/0001.

If want that MMJoy2 appear after other joysticks, use high number, eg. 9999/9999.

USBView (MMJoy2Setup low bar) show your actual joystick VID/PID, DXDiag (type in Windows START box) too, in "Input".

List of VID/PID - in HEX numbers - used by several USB devices: http://www.linux-usb.org/usb.ids

For change VID/PID numbers you use MMjoy2Setup - no need "flash" - an can be changed several times, but when you
make changes use "CLEARS SETS" or remove manually the previouys VID/PID from Windows register, or Windows don't
see the new number and don't recognize the joystick in Game Controlers, although for games games they still working.

Quote:
come alltiem error somethink ?

confused


#4315691 - 11/27/16 09:31 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2016
Posts: 5
masaV Offline
Junior Member
masaV  Offline
Junior Member

Joined: Nov 2016
Posts: 5
today i do all same than pro micro instruction pdf has how make joystick,
reset+gnd connect and mmjoy sofware make firmware come dos box who run text windows and then add 7 axis and 1 button (i think test first time) then upload firmware and now arduino micro not answer any usb port, no found, no read no write no do anythinkg and device manager no found usb device, before thats has usb device list "arduino micro", now not have anythink. what hell thats doing my board ?
how can repair this ?
i add mmjoy sofware 32u4 and arduino and firmware and load new firmaware but now no work anythinkg frown
win8 computer and mmjoy about somethink 4015114xx has version. just load this mmjoy2 to 1 site at forum.
same have instruction and other downloads.
mmjoy-en master and mmjoy2 has zip file.
i try read many help but no understand vgood what hel lthats must do make joystick ?
what is wrong ? and usb port need libus ? or not ? how add ? i try add new drivers to driver file location ia64 files have libus 0 dll but no installink computer say alltime windows have right drivers.
i no understand now what must doing frown

#4319583 - 12/13/16 06:50 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 1
Valecek Offline
Junior Member
Valecek  Offline
Junior Member

Joined: Dec 2016
Posts: 1
---
Hello guys. First of all GREAT PROJECT! And now my question. I am not able to connect shift registers (4021) to my Arduino Micro. I am not much educated in electronics so I dont know which pins to connect. The farrest I get was that 8 buttons were flashing in setup randomly. I have read every post here and datasheets for 4021 and still no help. Can some body plese tell me which pins at 4020 connect to what pins at Arduino Micro? I am using new software version with SR-CS and SR-DATA. Thank you very much!

#4319901 - 12/14/16 10:56 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 63
erichos Offline
Junior Member
erichos  Offline
Junior Member

Joined: Apr 2016
Posts: 63
Slovakia
Hi Valecek,
here is some general info, look at Example 1: One Shift Register:
Arduino shifting

or here but for IC 74HC165, very similar like 4021:
74HC165

and look at this picture:


Good luck


Last edited by erichos; 12/14/16 11:10 PM.
#4320827 - 12/17/16 11:42 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2014
Posts: 15
triggahappy Offline
Junior Member
triggahappy  Offline
Junior Member

Joined: Oct 2014
Posts: 15
Hi There,

Some time ago (like half a year ago lol) I started a project... It was all going well till 'life' happened and now we have Christmas...

Finally I found some time to finish it.

So the plan was to use old Ch Fighter stick combine it with old Logitech Wingman and for throttle go with Saitek x35t.

Call me weird but for some reason I simply find Saitek throttle uncomfortable.
So I decided to get second CH fighter stick and use it's gimbal as a throttle and 3D print the handle/grip.

Joystick, 3 axes 16 switches (12 buttons + pov)



Throttle, 1 main axis, thumbstick, pot, 20 switches




Joystick 'head' assembly



Joystick grip and twist assembly



Installing bearings was not as hard as I thought smile



Since I'll be using it for Elite Dangerous I was in need of 'center detent' to separate forward and reverse thrust.

Metal plate is made out of washer, white plastic is PTFE sheet and that small ball is ehhhh 'spring loaded ball thingy'.



3D printed throttle grip.



Throttle



Joystick




All I can say is:

Thank you mega_mozg_13 for MMJOY2 (the whole project), Sokol1 for help and ideas, and the whole SimHQ community for making my project possible to happen salute.

Last edited by triggahappy; 12/18/16 02:15 AM.
#4321329 - 12/19/16 03:07 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Mar 2015
Posts: 51
Sak75 Offline
Junior Member
Sak75  Offline
Junior Member

Joined: Mar 2015
Posts: 51
Madrid, Spain
Excellent works triggahappy, I play Elite Dangerous too. I prefer the reverse throttle made with a button.

#4321798 - 12/20/16 06:44 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2014
Posts: 15
triggahappy Offline
Junior Member
triggahappy  Offline
Junior Member

Joined: Oct 2014
Posts: 15
Thanks Sak75.
I would prefere having whole axis for forward thrust as well but I just can't get used to button reverse. I simply loose track when is farward and when is reverse. There should be some sort of an option to turn on/off portion of UI that would tell you what is the setting of thrust. Most preferably big red triangle saying REVERSE :P

#4322189 - 12/21/16 08:40 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454

Hi , thanks Mega_Morg and Sokol for the thread...

I had the issue uploading the Firmware with the Leonardo I got last weekend too, Windows 10 would not load the Drivers from the latest Firmware Package (2016-11-01)(driver enforcement?) so I used the drivers in the Arduino IDE 1.613 zip package to get it recognized. However the Reset button just would not "reset" the Leonardo to bootloader mode , it would disappear and almost instantly reappear on the same Com Port. Reading about the GND and RESET Pin on the Pro-Micro and touching it twice quickly gave me the idea to quickly push the Leonardo Reset button quickly twice and it worked smile and it gives me 5-8 secs to hit the Firmware download button now.
( A new Tip for the Wiki maybe?)

MMjoy2 seems to have loaded the Firmware now but the L-LED is now constantly lit on the Leonardo ...is that correct? maybe just me doing something wrong ? as I have only assigned a single button (correctly?) so far so it would be seen correctly in MMjoy2/Windows but the Windows Game Controller Window is calling it the MMJ-Reset and if I try to open the advanced options it throws an Error stating Your Game Controller is not Connected correctly.



I currently have nothing attached to the Leonardo , which may explain the error? I am just starting this endeavor as I have a gameport FLCS16+TQS and CH Pedals that I have had for many years (nearly unused) with the Stickworks Digital Chips installed , though I still have a number of the Old Chips as well as some new TM Pots and Hat Buttons I got before TM stopped selling them.

Micro Electronics and Arduino are new to me ,soldering/metering etc is not, so there will be a few questions I am sure but I am hoping someone knows of a good Writeup/Tutorial on converting the FLCS16+TQS specifically that would be a massive help....

So far I am about 65 pages into the thread so still plenty of reading to do , thanks guys.

KB

PS not as new around here as my post count would indicated when did EF2000 come out smile , just had to get a new account to post..


Edit ... also curious if anyone has tried the MuxShield II and if it would work with the Leonardo , it seems to give 48 pins vs the Leonardo's 20...

http://mayhewlabs.com/products/mux-shield-2






Last edited by Kbird; 12/28/16 06:05 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4322200 - 12/21/16 09:31 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted By: Sokol1
If I remember correctly Windows only recognize joystick that has at least 1 or 2 axis.

And when make modifications in previous configuration (axis, buttons) hit the "Clear settings".



Thanks Sokol , I'll try that , The PDF by Gene on loading the Firmware said to assign at least one button , so that was all I did.

I edited the last post so maybe you didn't see my question about the Muxsheild II and if it might work for MMjoy2 Users?

http://mayhewlabs.com/products/mux-shield-2


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4322201 - 12/21/16 09:32 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
If I remember correctly Windows only recognize joystick that has at least 1 or 2 axis.

And when make modifications in previous configuration (axis, buttons) hit the "Clear settings".

Convert F-16 FLCS will be easy, just wire the axis, and the Shift Register board inside grip to MMjoy2.

For throttle is more easy reuse the existent diode matrix

The "eraserhead" "IBM mouse" (under thumb finger) need be replaced with min-stick or HAT, their serial protocol is not compatible with MMJoy2.




#4322211 - 12/21/16 10:12 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: May 2016
Posts: 55
Forsaken_joystick Offline
Junior Member
Forsaken_joystick  Offline
Junior Member

Joined: May 2016
Posts: 55
Argentina
I think diodes should be added. My TQS had none.. skyisfalling

#4322221 - 12/21/16 10:38 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted By: Sokol1
If I remember correctly Windows only recognize joystick that has at least 1 or 2 axis.

And when make modifications in previous configuration (axis, buttons) hit the "Clear settings".

Convert F-16 FLCS will be easy, just wire the axis, and the Shift Register board inside grip to MMjoy2.

For throttle is more easy reuse the existent diode matrix

The "eraserhead" "IBM mouse" (under thumb finger) need be replaced with min-stick or HAT, their serial protocol is not compatible with MMJoy2.







For you I am sure it is easy smile 75 pages into thread and I am not so sure about that but maybe I just need to "do it" and try stuff out and learn how to use MMJoy2 as well ....


Thanks for tip on the eraser button , I never did like it and I have an extra gameport TM X Fighter stick too that I can also steal parts from if needed as well as some spare TM Hat Switches.

Where should diodes go in the TQS ? do you mean putting 1N4148 diodes on the buttons for the matrix I was just reading about to stop ghosting? does anyone have Schematics for the FLCS+TQS Wiring perhaps ?

Thx,

KB.

Last edited by Kbird; 12/21/16 10:39 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4322239 - 12/21/16 11:38 PM Re: MMJoy - Build your own USB controller [Re: Kb1rd1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Think in diodes in this way: One diode in one of 2 pins of each switch or HAT (HAT are just 4 switches around a pole).

Then became easy. smile

Or, for example using a breadboard for put the diodes side at side, and wire buttons and HAT there.

Or, make a Shift Register board (like he one inside grip) - require DIY or order a PCB - with 2 CD4021 and fit inside throttle, in this case no diodes needed.

Take a look in Debolestis Shift Register PCB's:

https://forums.eagle.ru/showpost.php?p=2780923&postcount=89

#4322245 - 12/22/16 12:02 AM Re: MMJoy - Build your own USB controller [Re: Kb1rd1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted By: Kbird
[quote=Sokol1]If I remember correctly Windows only recognize joystick that has at least 1 or 2 axis.

And when make modifications in previous configuration (axis, buttons) hit the "Clear settings".

Convert F-16 FLCS will be easy, just wire the axis, and the Shift Register board inside grip to MMjoy2.

For throttle is more easy reuse the existent diode matrix

The "eraserhead" "IBM mouse" (under thumb finger) need be replaced with min-stick or HAT, their serial protocol is not compatible with MMJoy2.





You were right Sokol , once Windows had 2 AXIS (X+Y) assigned JoyCPL started working without the Error above , assigning one button per the FAQ didn't work for some reason. Of course nothing is attached yet so not really working but slowly getting there thanks.

I have been reading the thread since last week , so I have picked up some 74HC165 SReg ,MCP3208 chips and 1N4148 diodes already , just not sure how I'll use them yet , still looking for pics of schematics etc before I get to far into this and ruin something by accident. smile

KB

Last edited by Kbird; 12/22/16 12:03 AM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4322251 - 12/22/16 12:06 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
This scheme was done for re-wire F22PRO and QTS i BU0836 using diode matrix.

Can give you a idea how wire TQS in MMjoy2 using diodes.

http://obrazki.elektroda.net/67_1213188440.jpg

#4322254 - 12/22/16 12:12 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted By: Sokol1
Think in diodes in this way: One diode in one of 2 pins of each switch or HAT (HAT are just 4 switches around a pole).

Then became easy. smile

Or, for example using a breadboard for put the diodes side at side, and wire buttons and HAT there.

Or, make a Shift Register board (like he one inside grip) - require DIY or order a PCB - with 2 CD4021 and fit inside throttle, in this case no diodes needed.

Take a look in Debolestis Shift Register PCB's:

https://forums.eagle.ru/showpost.php?p=2780923&postcount=89



Thanks I had seen that post earlier in the Thread/Inet Browsing and found his OSHPark Site too
https://oshpark.com/profiles/Debolestis/page/2


That was why I was wondering if the MuxShield would be good as it seems to have more inputs to use.

http://mayhewlabs.com/products/mux-shield-2

they have something called a Go Between Shield too

http://mayhewlabs.com/products/go-between-shield

KB.

****Edit Thanks for that Scheme of the F22+TQS they were pretty similar from what I remember

KB

Last edited by Kbird; 12/22/16 12:17 AM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4322266 - 12/22/16 01:04 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Kbird,

About this Mux-Shield you need ask Mega_MOZG. smile

Tiggerhappy,

Good job in you HOTAS, like the idea of 3D printed grip for throttle.

A curiosity, what is this circuit in lower part of stick PCB, with some condenser and heatstink?

http://simhq.com/forum/files/usergals/2016/12/full-38420-130235-img_20161217_212509.jpg

#4322311 - 12/22/16 05:49 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
Kbird, sorry, mmjoy support only 74HC165 and 4021 shift register.

#4322312 - 12/22/16 05:54 AM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
Originally Posted By: Sokol1
Kbird,
A curiosity, what is this circuit in lower part of stick PCB, with some condenser and heatstink?

look like Voltage Regulator (7805)

Page 55 of 112 1 2 53 54 55 56 57 111 112

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0