SimHQ
Previous Thread
Next Thread
Print Thread
Rating: 5
Hop To
Page 43 of 112 1 2 … 41 42 43 44 45 … 111 112
Joined: Apr 2016
Posts: 18
B
Junior Member
Junior Member
B Offline
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)

Joined: Jun 2016
Posts: 19
E
Junior Member
Junior Member
E Offline
Joined: Jun 2016
Posts: 19


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

Joined: Apr 2016
Posts: 18
B
Junior Member
Junior Member
B Offline
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.

Joined: Jun 2016
Posts: 19
E
Junior Member
Junior Member
E Offline
Joined: Jun 2016
Posts: 19

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

Joined: Apr 2016
Posts: 18
B
Junior Member
Junior Member
B Offline
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.

Joined: Apr 2016
Posts: 64
E
Junior Member
Junior Member
E Offline
Joined: Apr 2016
Posts: 64
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

Joined: Oct 2010
Posts: 3
S
Junior Member
Junior Member
S Offline
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.

Joined: Nov 2001
Posts: 3,960
S
Senior Member
Senior Member
S Offline
Joined: Nov 2001
Posts: 3,960
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.
Joined: Oct 2010
Posts: 3
S
Junior Member
Junior Member
S Offline
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

Joined: Jun 2016
Posts: 19
E
Junior Member
Junior Member
E Offline
Joined: Jun 2016
Posts: 19

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.

Joined: Jan 2014
Posts: 274
M
Member
Member
M Offline
Joined: Jan 2014
Posts: 274
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).

Joined: Jun 2016
Posts: 19
E
Junior Member
Junior Member
E Offline
Joined: Jun 2016
Posts: 19

No, I dont know anything about that.

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

Joined: Jul 2016
Posts: 6
K
Junior Member
Junior Member
K Offline
Joined: Jul 2016
Posts: 6
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?

Joined: Apr 2016
Posts: 64
E
Junior Member
Junior Member
E Offline
Joined: Apr 2016
Posts: 64
@ 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.

Joined: Jul 2016
Posts: 6
K
Junior Member
Junior Member
K Offline
Joined: Jul 2016
Posts: 6
@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.

Joined: Jan 2014
Posts: 274
M
Member
Member
M Offline
Joined: Jan 2014
Posts: 274
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.

Joined: Jul 2016
Posts: 6
K
Junior Member
Junior Member
K Offline
Joined: Jul 2016
Posts: 6
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?


Joined: Oct 2014
Posts: 16
E
Junior Member
Junior Member
E Offline
Joined: Oct 2014
Posts: 16
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.
Joined: Jul 2016
Posts: 6
K
Junior Member
Junior Member
K Offline
Joined: Jul 2016
Posts: 6
Sorry I didn't explain myself fully. I know how to add more registers it's the matrix that's confusing me.

Joined: Jul 2016
Posts: 6
K
Junior Member
Junior Member
K Offline
Joined: Jul 2016
Posts: 6
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 

Link Copied to Clipboard
Quick Search
Support SimHQ

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


Recent Topics
God Forbid they want to have a bit of fun at work
by NoFlyBoy - 09/22/26 08:50 PM
How a 5" 38 Caliber US Naval Gun Works
by F4UDash4 - 09/19/26 01:20 AM
100% commission based sales
by PanzerMeyer - 09/18/26 04:47 PM
Relativity
by Terl9999 - 09/18/26 04:34 AM
HOA's
by Terl9999 - 09/18/26 04:12 AM
Football
by Terl9999 - 09/18/26 02:42 AM
Flags
by Terl9999 - 09/15/26 10:03 PM
September 15th Battle of Britain Day.
by RedToo - 09/15/26 08:06 PM
Population Patterns
by PanzerMeyer - 09/15/26 03:43 PM
"Problem occurred in connection"
by F4UDash4 - 09/14/26 01:41 PM
Popular Topics(Views)
7,067,146 SAM Simulator
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 8.0.1