Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 43 of 112 1 2 41 42 43 44 45 111 112
#4272133 - 06/21/16 08:08 PM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: Sokol1]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
I finished my buttons box and everything is working bar the enconders.

I believe I might have done something wrong.

The enconders work the following way.

Pole A goes to one input, pole B(central) goes to ground and pole C goes to the other input

When going right I get the following signals as I keep turning

Pole A 5v > Pole C 5v > No voltage on poles > Pole A 5v > Pole C 5v > No voltage on poles > .......


When going left I get the following signals as I keep turning

Pole C 5v > Pole A 5v > No voltage on poles > Pole C 5v > Pole A 5v > No voltage on poles > .......


I tried to put this unsuccesfully in MMJOY2. I can see the hardware presses on the left but the configuration doesn't translate into actions.



Last edited by buccaneer89; 06/21/16 08:08 PM.
Inline advert (2nd and 3rd post)

#4272135 - 06/21/16 08:09 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: buccaneer89]  
Joined: Jun 2016
Posts: 19
Eddie123 Offline
Junior Member
Eddie123  Offline
Junior Member

Joined: Jun 2016
Posts: 19
Ostfold


Originally Posted By: buccaneer89
Originally Posted By: Eddie123
Hello.

Is there ever a chance that MMJoy will include some of the functionality that Link2FS has, like the possibillity of including
a LCD screen, for displaying radio frequency etc ?

Thank you

Vegard

As far as I remember you have a module that allows you to do that.

There are videos on youtube showing ammo in a 7 segment LCD screen.


Hey.

I have never found any videos showing that. And what do you mean by module ?

Vegard

#4272290 - 06/22/16 02:38 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Eddie123]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
Originally Posted By: Eddie123


Hey.

I have never found any videos showing that. And what do you mean by module ?

Vegard


This is the video I mentioned earlier.

https://www.youtube.com/watch?v=7yiP5VwXbKs

My russian is close to 0 so I won't be able to help you much. But mega_mozg should be able to help you with that.

#4272308 - 06/22/16 04:45 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jun 2016
Posts: 19
Eddie123 Offline
Junior Member
Eddie123  Offline
Junior Member

Joined: Jun 2016
Posts: 19
Ostfold

Hello.

Great, thanks for that.

Mega_mozg, any inputs on this ? I am looking to incorporate radio stack in the MMJoy,
and was hoping maybe there is soem documentation on this feature with the 8 led display ?

Looking to use 2 of them.

Thank you

Vegard

#4272329 - 06/22/16 06:27 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: ]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
Originally Posted By: Troll
Originally Posted By: buccaneer89
I finished my buttons box and everything is working bar the enconders.


Try setting "timer off" to yes.

I've tried this and it didn't work.
The moment I put the physical buttons in the encoder part of the program I don't get any more virtual button presses.

I have the encoder connected as a normal button so that means with resistors. That might be a problem but I don't see how it is in this case since this encoder is a level encoder, not a pulse encoder.

So from what I understand there are two types of encoders.

-Pulse encoders will give you a pulse during a few milliseconds every time you rotate to the left on one of the poles, and every time you rotate to the right on the other pole.
-Level poles will have 3 levels: no voltage on any pole, rotate to the left and one pole will get voltage, rotate again and the other pole gets voltage, rotate again and no voltage on any pole.

My encoders are level encoders which if I don't assign anything they work perfectly on the hardware buttons. But once I configure them they don't work. So I presume something I am doing in the configuration is wrong.

Additional notes
I am using shift registers.
And this are the schematics used.
http://i.imgur.com/jhTKIuh.jpg

So the encoder is connected to ground on the common central pole and as buttons on the side poles.

#4273353 - 06/25/16 04:44 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
to buccaneer89:



1) set "timer off" to yes and "Save sets to device"
2) use "VKB button tester" for checking right function of encoders
3) by the way - better timer delay for encoders is 100-150ms

#4275221 - 07/01/16 07:45 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2010
Posts: 3
Strikeman Offline
Junior Member
Strikeman  Offline
Junior Member

Joined: Oct 2010
Posts: 3
I just wanted to drop in and say a big thanks to mega_mozg_13, for MMJoy and all the help he has provided on these forums. I recently did a Suncom F-15E stick conversion and it works like a charm.

I used Pro Micro, with a 3x4 button matrix with diodes. Everything works great despite my jittery pots. Ill try to put some pics up in the SFS conversion forum.

Im considering doing a hall sensor retrofit, Does anyone have any live image links to DocFlyers hall sensor replacement for the F-15 stick? All my searching on the internet has come up with mostly dead links.

#4275243 - 07/01/16 08:45 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
Quote:
...DocFlyers hall sensor replacement for the F-15 stick? All my searching on the internet has come up with mostly dead links.


Here in SimHQ are a topic of Doc.Flyer Suncom F-15 Hall conversion.
The images are now gone due Imageshack "kidnapping". smile

At some time I print a similar page with this instructions in local forum (Portuguese language), so I a able to "translate" (add some notes) and make a PDF with Doc.Flyer instructions. Download the PDF from there:

https://www.wetransfer.com/downloads/2cf...02160729/cca2e2






Last edited by Sokol1; 07/02/16 04:12 PM.
#4275494 - 07/02/16 06:45 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2010
Posts: 3
Strikeman Offline
Junior Member
Strikeman  Offline
Junior Member

Joined: Oct 2010
Posts: 3
Originally Posted By: Sokol1
Quote:
...DocFlyers hall sensor replacement for the F-15 stick? All my searching on the internet has come up with mostly dead links.


Here in SimHQ are a topic of Doc.Flyer Suncom F-15 Hall conversion.
The images are now gone due Imageshack "kidnapping". smile

At some time I print a similar page with this instructions in local forum (Portuguese language), so I a able to "translate" (add some notes) and make a PDF with Doc.Flyer instructions. Download the PDF from there:

https://www.wetransfer.com/downloads/2cf...02160729/cca2e2



That is awesome.

Muito obrigado

#4277626 - 07/09/16 03:22 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: buccaneer89]  
Joined: Jun 2016
Posts: 19
Eddie123 Offline
Junior Member
Eddie123  Offline
Junior Member

Joined: Jun 2016
Posts: 19
Ostfold

Thanks for the reply.

I got the displays now, but I got some doubts. Will this work with FSX ? Only video I have seen, shows it
with fighter simulator.

Vegard

Originally Posted By: buccaneer89
Originally Posted By: Eddie123
Hello.

Is there ever a chance that MMJoy will include some of the functionality that Link2FS has, like the possibillity of including
a LCD screen, for displaying radio frequency etc ?

Thank you

Vegard

As far as I remember you have a module that allows you to do that.

There are videos on youtube showing ammo in a 7 segment LCD screen.

#4278136 - 07/11/16 02:45 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Eddie123]  
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: Eddie123
I got the displays now, but I got some doubts. Will this work with FSX ?

Now we are have support olny "Warthuder" and "IL-2 Sturmovik". next DCS and FSX on plans...
If you know "how to" I can share something like API (program methods how to send data to controller).

#4278147 - 07/11/16 03:17 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jun 2016
Posts: 19
Eddie123 Offline
Junior Member
Eddie123  Offline
Junior Member

Joined: Jun 2016
Posts: 19
Ostfold

No, I dont know anything about that.

Well, maybe I can use those displays in a different project ...

#4279193 - 07/15/16 11:20 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: buccaneer89]  
Joined: Jul 2016
Posts: 6
kuabi Offline
Junior Member
kuabi  Offline
Junior Member

Joined: Jul 2016
Posts: 6
NOTTS
Originally Posted By: buccaneer89
Originally Posted By: Troll
Originally Posted By: buccaneer89
I finished my buttons box and everything is working bar the enconders.


Try setting "timer off" to yes.

I've tried this and it didn't work.
The moment I put the physical buttons in the encoder part of the program I don't get any more virtual button presses.

I have the encoder connected as a normal button so that means with resistors. That might be a problem but I don't see how it is in this case since this encoder is a level encoder, not a pulse encoder.

So from what I understand there are two types of encoders.

-Pulse encoders will give you a pulse during a few milliseconds every time you rotate to the left on one of the poles, and every time you rotate to the right on the other pole.
-Level poles will have 3 levels: no voltage on any pole, rotate to the left and one pole will get voltage, rotate again and the other pole gets voltage, rotate again and no voltage on any pole.

My encoders are level encoders which if I don't assign anything they work perfectly on the hardware buttons. But once I configure them they don't work. So I presume something I am doing in the configuration is wrong.

Additional notes
I am using shift registers.
And this are the schematics used.
http://i.imgur.com/jhTKIuh.jpg

So the encoder is connected to ground on the common central pole and as buttons on the side poles.


Hi, I'm doing much the same, adding buttons and encoders to a collective. Also using 74hc165 shift registers. Like you, buttons are working and to a point so are the encoders but even with timers set i'm getting major bouncing. Have you managed to get your emcoders working?

#4279630 - 07/16/16 09:51 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
@ kuabi and buccaneer89
Maybe your problem with encoders is that you did not define columns and rows in MMJoy2 software and diodes are not properly oriented.

Try to connect encoder like this:


MMJoy2 settings:


Some other pictures:





I hope that help you.

#4279701 - 07/17/16 11:50 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2016
Posts: 6
kuabi Offline
Junior Member
kuabi  Offline
Junior Member

Joined: Jul 2016
Posts: 6
NOTTS
@erichos
Many thanks, that worked for me. I can now put together a small matrix to handle 4 encoders to work alongside my 3 shift registers.

#4279838 - 07/18/16 04:04 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
firmware allow to use button matrix / shift reg. 74HC165 / shift reg. 4021B - with any variants.
first firmware layer just read hardware (buttons matrix/shift reg's and axis sensors), calculate encodres this is second firmware layer - program all the same where and how they are connected.

#4280377 - 07/20/16 03:23 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2016
Posts: 6
kuabi Offline
Junior Member
kuabi  Offline
Junior Member

Joined: Jul 2016
Posts: 6
NOTTS
I am trying to get my head around the button matrix. I'm using a promicro clone and will have 3 x 74hc165's daisy chained together. At the moment I have one working on my breadboard which I'm happy with. This has used pins (b1, d2 and d3). I wish to have 4 x rotary encoders and up to 6 buttons. At the moment I have the rotary encoders working using 8 columns (pins e6, b4, d7, c6, d4, d0, d1, b2, b6) and row b5. These show as encoders 1 to 8 which is great. 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?


#4280391 - 07/20/16 04:18 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2014
Posts: 16
Euphoria Offline
Junior Member
Euphoria  Offline
Junior Member

Joined: Oct 2014
Posts: 16
United States
Set the option next to "74HC165" to 3. That setting is for the number of shift registers.

Last edited by Euphoria; 07/20/16 04:26 PM.
#4280397 - 07/20/16 04:32 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2016
Posts: 6
kuabi Offline
Junior Member
kuabi  Offline
Junior Member

Joined: Jul 2016
Posts: 6
NOTTS
Sorry I didn't explain myself fully. I know how to add more registers it's the matrix that's confusing me.

#4280421 - 07/20/16 06:25 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2016
Posts: 6
kuabi Offline
Junior Member
kuabi  Offline
Junior Member

Joined: Jul 2016
Posts: 6
NOTTS
Finally got it working. I was looking at it in totally the wrong direction. Cleared out all the settings and started on the matrix first. All that is needed now is to test with all 3 shifts and wire into my collective. This really is one great program :-)

Page 43 of 112 1 2 41 42 43 44 45 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