Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 59 of 112 1 2 57 58 59 60 61 111 112
#4329900 - 01/20/17 01:23 PM Re: MMJoy - Build your own USB controller ***** [Re: Sokol1]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Thanks to all for this incredible source!
I am very new to all this but want to make the jump after reading all this thread and others. I have just received Pro Micro clone but still need to get a few things. Eventually I plan to attempt rudder pedals with a number of additional buttons. However to learn the process I am starting slow. Step 1 is to make a simple box with 4 buttons a Pot and Encoder (the last 2 are just for learning as I have no plans for them yet). Step 2 will be to add another 16-20 buttons with either matrix or Shift Register 74HC165.

Some questions:
When I add the extra buttons in Step 2 do I need to do a re-set of board so that it adds them?
I know that a matrix needs Diodes like 1N4148. But I am getting mixed up with Shift registers. Some posts say no Diodes but example in the Wiki seems like it has some. For a Parallel In Serial out Shift Register is all I need the 2-3 IC's and a PCB?
What is best way to obtain a PCB for Shift Registers?

Thanks

Inline advert (2nd and 3rd post)

#4329948 - 01/20/17 04:01 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
1 - Yes, if you want more buttons need reconfigure JoySetup to add more lines and columns, or can set in that way since the begin, can set 32 buttons and use only 4, buttons are NO circuits, so if you dont press then dont make difference. Bu reconfigure JoySetup is easy and fast.

2 - Diode 1N4148 is need if you want use Diode Matrix, not for Shift Register.

3 - Each Shift Register IC handle 8 buttons, so the IC count in your PCB depends on number of buttons wanted. A Shift Register board can be chained in the next.

4 - Making then. smile In Sparkfun are a Shift Register board based on 74HC165, but I dont know if work "PnP" in MMjoy2.




#4330043 - 01/20/17 09:33 PM Re: MMJoy - Build your own USB controller [Re: Barra]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted By: Barra
Thanks to all for this incredible source!
I am very new to all this but want to make the jump after reading all this thread and others. I have just received Pro Micro clone but still need to get a few things. Eventually I plan to attempt rudder pedals with a number of additional buttons. However to learn the process I am starting slow. Step 1 is to make a simple box with 4 buttons a Pot and Encoder (the last 2 are just for learning as I have no plans for them yet). Step 2 will be to add another 16-20 buttons with either matrix or Shift Register 74HC165.

Some questions:
When I add the extra buttons in Step 2 do I need to do a re-set of board so that it adds them?
I know that a matrix needs Diodes like 1N4148. But I am getting mixed up with Shift registers. Some posts say no Diodes but example in the Wiki seems like it has some. For a Parallel In Serial out Shift Register is all I need the 2-3 IC's and a PCB?
What is best way to obtain a PCB for Shift Registers?

Thanks




You don't need to reload the Firmware it is only done once (unless it gets an upgrade by Mega-Mozg) you just reload the "sets" with the "load sets to device button", very fast and easy. When you restart MMJoy you can also "Load Sets from Device" if needed

I'm very new too , so not sure about the Shift registers as my FLCS already had them (4021 type) in the Handle Originally.

One of the members here Debolitis? has an OSH webpage for them already made and you can just order them in several types to suit your needs.


*** SR PCB's my link to his page (click the Blue link) .....https://oshpark.com/profiles/Debolestis/page/2

KB






Last edited by Kbird; 01/23/17 03:49 AM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4330050 - 01/20/17 09:44 PM 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
Hi , I finally have a modded FLCS working in Windows with MMjoy2 , thanks again to Mega for MMJoy2 , I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.

I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..


Thanks again.


KB.




So noboby knows or did nobody see this question ?

thanks guys....


KB


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4330051 - 01/20/17 09:46 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted By: Sokol1


4 - Making then. smile In Sparkfun are a Shift Register board based on 74HC165, but I dont know if work "PnP" in MMjoy2.





Thanks Sokol1 - is this what you are referring too? https://www.sparkfun.com/products/11733
If so I maybe I will try depends if I can get one locally.

Kbird thanks also. I will look up Debolitis source.

#4330086 - 01/20/17 11:13 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
Originally Posted By: Kbird
Originally Posted By: Kbird
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.

I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..


So noboby knows or did nobody see this question ?


This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2".
No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function).

Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one.

#4330094 - 01/20/17 11:47 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
Originally Posted By: Kbird
Originally Posted By: Kbird
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.

I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..


So noboby knows or did nobody see this question ?


This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2".
No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function).

Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one.






MMjoy sees Button 15 and then button 15+14 pressed together , the Windows Game Control Applet only sees the 15 and does not appear to see the 15+14 buttons pressed together. I had MMjoy map them as HW Button 1 and HW Button 2 but perhaps MMjoy cannot map the 15+14 keypresses together?

I may just have to use only one stage or alter the Trigger so it only hits the 1st switchat that position somehow.

Thanks Sokol1

KB.


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4330106 - 01/21/17 12:43 AM Re: MMJoy - Build your own USB controller [Re: Kb1rd1]  
Joined: May 2016
Posts: 55
Forsaken_joystick Offline
Junior Member
Forsaken_joystick  Offline
Junior Member

Joined: May 2016
Posts: 55
Argentina
Originally Posted By: Kbird
Originally Posted By: Sokol1
Originally Posted By: Kbird
Originally Posted By: Kbird
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.

I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..


So noboby knows or did nobody see this question ?


This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2".
No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function).

Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one.






MMjoy sees Button 15 and then button 15+14 pressed together , the Windows Game Control Applet only sees the 15 and does not appear to see the 15+14 buttons pressed together. I had MMjoy map them as HW Button 1 and HW Button 2 but perhaps MMjoy cannot map the 15+14 keypresses together?

I may just have to use only one stage or alter the Trigger so it only hits the 1st switchat that position somehow.

Thanks Sokol1

KB.



In my setup MMJOY2 software and Windows see exactly the same... the first and later adds the other. Physical button 2 and 3.

#4330129 - 01/21/17 03:33 AM Re: MMJoy - Build your own USB controller [Re: Forsaken_joystick]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted By: Forsaken_joystick
Originally Posted By: Kbird
Originally Posted By: Sokol1
Originally Posted By: Kbird
Originally Posted By: Kbird
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.

I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..


So noboby knows or did nobody see this question ?


This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2".
No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function).

Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one.






MMjoy sees Button 15 and then button 15+14 pressed together , the Windows Game Control Applet only sees the 15 and does not appear to see the 15+14 buttons pressed together. I had MMjoy map them as HW Button 1 and HW Button 2 but perhaps MMjoy cannot map the 15+14 keypresses together?

I may just have to use only one stage or alter the Trigger so it only hits the 1st switchat that position somehow.

Thanks Sokol1

KB.



In my setup MMJOY2 software and Windows see exactly the same... the first and later adds the other. Physical button 2 and 3.



Which Firmware Version are you using Forsaken? ,I am using 2016-11-01 and already noticed a bug in that is does not "see the programmed axis's in the Used window... but it does see the 22 buttons, maybe this is just something else not possible in 2016-11-01 ?

Thx.


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4330167 - 01/21/17 01:47 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2017
Posts: 35
sunrrrise Offline
Junior Member
sunrrrise  Offline
Junior Member

Joined: Jan 2017
Posts: 35
Hello,
my question is not strictly related to MMJoy2, but I want to ask about KMZ60 magrez sensor implementation. I build my own throttle quadrant with six axes and 32 buttons.

I want to use Arduino Leonardo as a base and extend it with MCP3208 and two MCP23017 extenders. So, my questions are following:
- does KMZ60 require any opamp or can I connect it directly to MCP3208? I saw the plans of PCBs for MMJoy2 and there are only two capacitors and one resistor so the implementation seems to be extremally easy. I want to use 90 degrees of lever motion (-45/+45*). Will there be any problem with covering range of motion or linearity?
- do I have to plug both sinus and cosinus outputs to MCP3208 or one would be enough? If so it means that one MCP3208 would be enough only for four axes. Am I correct?

#4330398 - 01/22/17 01:42 PM Re: MMJoy - Build your own USB controller [Re: Kb1rd1]  
Joined: May 2016
Posts: 55
Forsaken_joystick Offline
Junior Member
Forsaken_joystick  Offline
Junior Member

Joined: May 2016
Posts: 55
Argentina
[/quote]

In my setup MMJOY2 software and Windows see exactly the same... the first and later adds the other. Physical button 2 and 3. [/quote]


Which Firmware Version are you using Forsaken? ,I am using 2016-11-01 and already noticed a bug in that is does not "see the programmed axis's in the Used window... but it does see the 22 buttons, maybe this is just something else not possible in 2016-11-01 ?

Thx.[/quote]

It's 2016-08-18

#4330539 - 01/23/17 01:46 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Feb 2016
Posts: 13
liliyahq Offline
Junior Member
liliyahq  Offline
Junior Member

Joined: Feb 2016
Posts: 13
The shift register confused me .l plan to connect the warthog to Arduino micro and use mmjoy firmware 2015 version,so I conncet the MSIO to D2 and the CS to D3.Will it work?

#4330719 - 01/23/17 06:07 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
I finished joystick Cobra M5 with MMJoy2:














#4330757 - 01/23/17 07:57 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Aug 2015
Posts: 68
Debolestis Offline
Junior Member
Debolestis  Offline
Junior Member

Joined: Aug 2015
Posts: 68
Croatia
Which shift registers does cobra use?

#4330783 - 01/23/17 09:06 PM Re: MMJoy - Build your own USB controller [Re: Forsaken_joystick]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted By: Forsaken_joystick
[/quote]

In my setup MMJOY2 software and Windows see exactly the same... the first and later adds the other. Physical button 2 and 3.


Which Firmware Version are you using Forsaken? ,I am using 2016-11-01 and already noticed a bug in that is does not "see the programmed axis's in the Used window... but it does see the 22 buttons, maybe this is just something else not possible in 2016-11-01 ?

Thx.

It's 2016-08-18



I tried some different versions but it didn't help the Trigger issue in my FLCS.....


I have done the Wiring on the TQS too now but, I can't however work out/understand how MMJoy2 is setup to Input the Button Matrix fully, I never used MMjoy or MegaMozg's earlier Firmwares, perhaps I should google those tutorials? That section of MMJoy2 only shows (2) 10 input lines even though it supports 132 buttons. I had thought perhaps you program one Row at a time and send it to the Leonardo but that didn't work.

I have more buttons than I can put on one Row , so far I have B3 Row (+8 switches/columns) and the ANT switch at B1 Row/D6 Column Setup but I still have the Hat switch I installed to replace the Eraser Nub to setup on B2 . plus a Rotary encoder and some other Switches perhaps.
I am using the ICSP header Pins for Rows (COM) as I need the AXIS Pins F0,F1,F4 for my CH Pro PEDALS as well (F7,F6,F5 are used by the TQS Z axis and RNG + ANT Pots) and the other side is Full except Pin 12 which I saved in case I can do a TLE5010 Mod, if needed/possible in the future.

hoping someone can post some pics of how it is done , mine so far is below...... THANKS .....






KB.


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4330785 - 01/23/17 09:10 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: erichos]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Nice Work Erichos... thumbsup

that proves a button matrix is programmable unless it is all Shift registers???, I just can't figure it out in MMJoy2-2016-11-01 (see above thx.)

KB

Last edited by Kbird; 01/23/17 09:12 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4330895 - 01/24/17 08:15 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Debolestis]  
Joined: Apr 2016
Posts: 63
erichos Offline
Junior Member
erichos  Offline
Junior Member

Joined: Apr 2016
Posts: 63
Slovakia
Originally Posted By: Debolestis
Which shift registers does cobra use?


Cobra has two 4021 shift registers in stick.

#4330900 - 01/24/17 08:29 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Kb1rd1]  
Joined: Apr 2016
Posts: 63
erichos Offline
Junior Member
erichos  Offline
Junior Member

Joined: Apr 2016
Posts: 63
Slovakia
Originally Posted By: Kbird
Nice Work Erichos... thumbsup

that proves a button matrix is programmable unless it is all Shift registers???, I just can't figure it out in MMJoy2-2016-11-01 (see above thx.)

KB


Only 2xCol and 1xRow I used for switch with LED indication (for GEAR) and another one switch. All others are connected to Shift registers. But I do not know what is problem with button matrix? I used it in my previous project w/o problem. I usually use matrix button 6x6 so it is enough for 32 buttons and HAT. I do not understand why do you set rows B3 then 8xNothing and B1???? Same problem in COL between D6 and E6. I allways set it in a row w/o gaps. Then do not forget to set buttons numbers at the table on the right side and "Save sets to device". Must work. This picture may help you:



I recommend you use last stable version of MMJoy2 so version [20160818upd1] that is w/o BUGs but button matrix must work at any version.

Due to your picture you can use 11 free pins so max you can make matrix of 5x6=30 buttons. You made only 2x9=18 buttons and I think problem is bad setings of SW MMJoy2. If you want post here picture or scheme of your connections and then I make you settings and post here picture of MMJoy2 software settings. OK?

Last edited by erichos; 01/24/17 11:07 AM.
#4330912 - 01/24/17 11:11 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: liliyahq]  
Joined: Apr 2016
Posts: 63
erichos Offline
Junior Member
erichos  Offline
Junior Member

Joined: Apr 2016
Posts: 63
Slovakia
Originally Posted By: liliyahq
The shift register confused me .l plan to connect the warthog to Arduino micro and use mmjoy firmware 2015 version,so I conncet the MSIO to D2 and the CS to D3.Will it work?


Which shift registers did you use? It is important. You can use only IC 4021 or 74HC165. Pins MISO and CS you can connect everywhere, it is digital inputs. And you have to configure at MMJoy2 software correctly.
Look at this: https://github.com/MMjoy/mmjoy_en/wiki/C...shift-registers

Last edited by erichos; 01/24/17 11:17 AM.
#4331003 - 01/24/17 03:27 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: erichos]  
Joined: Feb 2016
Posts: 13
liliyahq Offline
Junior Member
liliyahq  Offline
Junior Member

Joined: Feb 2016
Posts: 13
Originally Posted By: erichos
Originally Posted By: liliyahq
The shift register confused me .l plan to connect the warthog to Arduino micro and use mmjoy firmware 2015 version,so I conncet the MSIO to D2 and the CS to D3.Will it work?


Which shift registers did you use? It is important. You can use only IC 4021 or 74HC165. Pins MISO and CS you can connect everywhere, it is digital inputs. And you have to configure at MMJoy2 software correctly.
Look at this: https://github.com/MMjoy/mmjoy_en/wiki/C...shift-registers

THX m8~,the warthog should use 4021 I guess,so I can connect the warthog to the FCC then,thanks again.

Page 59 of 112 1 2 57 58 59 60 61 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
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
It's Friday: grown up humor for the weekend.
by NoFlyBoy. 04/12/24 01:41 PM
OJ Simpson Dead at 76
by bones. 04/11/24 03:02 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0