Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 44 of 112 1 2 42 43 44 45 46 111 112
#4280432 - 07/20/16 07:55 PM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: Sokol1]  
Joined: Jul 2016
Posts: 25
Snagov Offline
Junior Member
Snagov  Offline
Junior Member

Joined: Jul 2016
Posts: 25
In MMJoy2, there are any posibility to use one interruptor (on/off) to work like a push button?

I want use this:




Now, i have 3 pulsations on 4,5 and 6 button of MMjoy, but, permanent, not like a pushbutton.

I need 3 positions like FW190 in DCS Series,

Magnetos:
1 position: off
2 position: magneto 1
3 position: magneto 2

Thanks....

Inline advert (2nd and 3rd post)

#4280538 - 07/21/16 04:21 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: kuabi]  
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: kuabi

I am trying to get my head around the button matrix.My problem seems to be when I add another row. Only 1 encoder works and 1 works on one button only. Are there set pins for rows and columns and do they need to be used in a certain order?

kuabi
buttons are dynamically numbered sequentially. first goes button maxtrix(BM). second - shift registers(SR).

so if you earlier had BM 1*8, SR bind starts from "9" position.
when you increase BM to 2*8, SR goes to "17" position.
more, BM reading algorytm:

loop_for_colunms
set column to high state
loop_for_rows
read row state
end_loop_rows
clear column high state
end_loop_columns

every time when you change button's sources you are need to reset encoder/joystick buttons.

#4280546 - 07/21/16 06:04 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Snagov]  
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: Snagov

In MMJoy2, there are any posibility to use one interruptor (on/off) to work like a push button?
Magnetos:
1 position: off
2 position: magneto 1
3 position: magneto 2

possible. set "MODE:SwitchON"+"TimerON" for each button(position), it is give only one short click when you switch position.

#4280591 - 07/21/16 11:23 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: mega_mozg_13]  
Joined: Jul 2016
Posts: 6
kuabi Offline
Junior Member
kuabi  Offline
Junior Member

Joined: Jul 2016
Posts: 6
NOTTS
Many thanks mega_mozg for that clear explanation.

#4280632 - 07/21/16 02:19 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2016
Posts: 25
Snagov Offline
Junior Member
Snagov  Offline
Junior Member

Joined: Jul 2016
Posts: 25
Thansks Mega_MOGZ!, WORKING GREAT!

#4280828 - 07/22/16 08:48 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jun 2016
Posts: 43
Wolf77 Offline
Junior Member
Wolf77  Offline
Junior Member

Joined: Jun 2016
Posts: 43
Czech Republic
Hello MegaMozg,
I just checked again your pictures of HotasX rebuild and noticed, that you probably did not use diodes. Am I correct? Was it due to using original buttons with their PCBs with common ground? I suppose you used this common ground as a ROW without diodes. Is it true?
Thanks W77

#4280829 - 07/22/16 08:52 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Wolf77]  
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: Wolf77
Hello MegaMozg,
I just checked again your pictures of HotasX rebuild and noticed, that you probably did not use diodes. Am I correct? Was it due to using original buttons with their PCBs with common ground? I suppose you used this common ground as a ROW without diodes. Is it true?
Thanks W77

74HC165

https://github.com/MMjoy/mmjoy_en/wiki/C...shift-registers

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

Last edited by mega_mozg_13; 07/22/16 08:57 AM.
#4281135 - 07/23/16 07:40 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: mega_mozg_13]  
Joined: Jun 2016
Posts: 43
Wolf77 Offline
Junior Member
Wolf77  Offline
Junior Member

Joined: Jun 2016
Posts: 43
Czech Republic
Eh, I see now. Thanks.

#4281800 - 07/25/16 03:22 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2015
Posts: 13
Vindicore Offline
Junior Member
Vindicore  Offline
Junior Member

Joined: Jul 2015
Posts: 13
Talking of HOTAS X rebuilds:



I added 4 rotary dials with push functions, 3 toggle switches, an analogue thumbstick, a big toggle switch with missile cap. I also got rid of the home, SE and ST buttons and put in their place a 3 position slide switch and a couple of simple push buttons.

I separated the throttle from the joystick tether. And I added grip to avoid it feeling like plastic crap. Please ignore the mess around the thumbstick; I used the wrong glue at first and it got a bit melty...

Working on the stick now.

Last edited by Vindicore; 07/25/16 03:24 PM.
#4281811 - 07/25/16 03:50 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
Mega_MOZG,

With PRO Micro is possible use 8x4 as matrix format instead of suggested 6x6?

Because if possible will be convenient for Suncom SFS connector, in 8 x 3 format.

https://s31.postimg.org/o75dwnfdn/SFS.jpg

#4281829 - 07/25/16 04:29 PM Re: MMJoy/MMjoy2 - 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
Mega_MOZG,

With PRO Micro is possible use 8x4 as matrix format instead of suggested 6x6?

Because if possible will be convenient for Suncom SFS connector, in 8 x 3 format.

https://s31.postimg.org/o75dwnfdn/SFS.jpg


as you wish, up to 10*10 =)

#4282214 - 07/26/16 08:11 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
Hello,

It has been a while since I did any modding however ever since I have modded my Logitech 3D pro I was always thinking of getting Saitek x35/36 and modding it. Ofc with my luck I could not get it in reasonable price but finally i did.

So what's the plan? Well.... nothing too fancy, throttle and joystick with twist rudder (yes I like twist rudder smile.
I'll be using x35 and franken joystick that is an old CH Fligstick combined with Logitech Wingman Attack.
Since I'll be using Pro Micro I am trying to save pins and wires between throttle and joystick.
I have not decided on buttons yet but will have 7 axis for sure and I am not planning to use button matrix in throttle only shift register.

I made a simple schematic af what I am planning. Could you have a look at it and tell me if I got it right?




Cheers


Last edited by triggahappy; 07/26/16 08:16 PM.
#4282314 - 07/27/16 09:40 AM Re: MMJoy/MMjoy2 - 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

shift-reg line "data(old name miso/mosi)" connect to any controller unused pin(not to miso or miso).
tle5010 line "cs" connect to any controller unused pin(not to analog input ADC MCP3208).

#4282332 - 07/27/16 11:40 AM 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
Thank you Mega_Mozg smile

I did not know that mcp3208 is analog to digital, shame frown.

For tle5010/11 "cs" you mean any pin on pro micro that can be used for internal/external axis?

In mmjoy2_20151118 shift register MISO field I can use any unused pin, it does not have to be MISO than?



Cheers

Last edited by triggahappy; 07/27/16 11:57 AM.
#4282408 - 07/27/16 03:46 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
Originally Posted By: triggahappy


I did not know that mcp3208 is analog to digital, shame frown.

For tle5010/11 "cs" you mean any pin on pro micro that can be used for internal/external axis?


The case is that TLE501x have internal ADC converter (16? bits), so don't need be plugged in another ADC converter (MPC3208).

You use MPC3208 to send pot' signal for Arduino in digital format, useful if use long cables, or due PRO Micro pin restriction need use more axis inputs than the six ADC pins available in PRO Micro, as MPC3208 has 8 analog inputs.

TLE501x "CS" is the "axis" output and need goes for one of six ADC (axis) input available in PRO Micro. This require individual pin for each sensor.

Curiosity: Why your X-36 stick has 4 axis? Is X, Y, twist rudder and the 4rt?

#4282416 - 07/27/16 04:02 PM Re: MMJoy/MMjoy2 - 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

TLE501x "CS" is the "axis" output and need goes for one of six ADC (axis) input available in PRO Micro.

wrong, "CS" goes to any unused pin (there is no dependencies with internal ADC).

#4282467 - 07/27/16 07:03 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
Sorry I am confused guys. Which pin I have to use for shift register? In PCB folder is scheme fo 74HC165 and there is pin MOSI but in MMJoy2 software is pin MISO for shift register setting ?! Which one is right please? On ProMicro board are both pins - MISO and MOSI.
Thanks

EDIT: I tested it and it doesn`t matter. I can use any pin for MISO(MOSI) and CS for shift registers and pins that I use I have to set in MMJoy2. That`s all. Thx.

Last edited by erichos; 07/27/16 07:56 PM.
#4282480 - 07/27/16 08:11 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
Thank you for your help guys.

@Sokol
I am going to use x35 as a throttle with additional ps3 thumbstick but I am not going to use x36.
For the joystick I am making franken mod. CH Flighstick base/gimbal and Logitech Wingman Attack handle.
Why 4th axis? X,Y,Rudder and 4th axis is the oryginal CH Flightstick throttle. Its already there so why not to use it, perhaps one day it will come handy.

Btw. Has anyone tried to mod CH or Saitek pots (x,y axis)into halls keeping the trim function?

Cheers

Last edited by triggahappy; 07/27/16 08:15 PM.
#4282493 - 07/27/16 09:07 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
Originally Posted By: mega_mozg_13
Originally Posted By: Sokol1

TLE501x "CS" is the "axis" output and need goes for one of six ADC (axis) input available in PRO Micro.

wrong, "CS" goes to any unused pin (there is no dependencies with internal ADC).


What I call "ADC" is pins F5, F6, F7, F8... they don't can be used as input for "CS" for TLE501x as in this case they are not used for "Internal ACD"?

I say "ADC" pins labels because this scheme: smile

http://s16.postimg.org/fw3kh4s9h/PROMicro.jpg

Quote:
Btw. Has anyone tried to mod CH or Saitek pots (x,y axis)into halls keeping the trim function?


In Debolesis CH Combatstick - pictures in this thread - he maintain the mechanical trim, but the Bi-Tech 6127 HALL sensor used have similar format to original pot's.

Anyway this mechanical trim has not much use, they still in CH stick as legacy of DOS era, as all in this joystick is from 1990 decade of the last century. In CH-Hangar their guru Bob Church don't advise use this trim under Windows. biggrin

Today even in R/C transmitter, from where this kind of trim was copied, use "digital" trim.







Last edited by Sokol1; 07/27/16 09:22 PM.
#4282539 - 07/28/16 01:10 AM Re: MMJoy - 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
Quote:
I say "ADC" pins labels because this scheme: smile

http://s16.postimg.org/fw3kh4s9h/PROMicro.jpg


I think that is the old layout of pins that we could not change. We had to use pins F4 F5 F6 F7 B5 B6 as ADC.
But now in newer ver of mmjoy2 we can choose the pins.

I dont think I will ever use trim but if I was to use allegro 1324 instead of tle501x than I could mod CH pot into bic-hall and use trim mechanism for fine tuning the position of hall sensor and magnets.... I think it should work.

Bi-Tech 6127 HALL - nice sensor but bloody expensive

Btw this is the franken joystick that one day will work smile



There is your 4th axis and the big silver button will be replaced with 2 5-way switches acting as povs and other switches but I have not decided yet what where and how as I am waiting for more parts.

Last edited by triggahappy; 07/28/16 01:16 AM.
Page 44 of 112 1 2 42 43 44 45 46 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
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
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
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0