Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 67 of 112 1 2 65 66 67 68 69 111 112
#4350785 - 04/13/17 02:49 AM Re: MMJoy/MMjoy2 - 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
Originally Posted by mega_mozg_13
Originally Posted by Sokol1
Mega_MOZG, you can attach this labels again, the above link is broken now.

old "downloads" https://drive.google.com/folderview?id=0B2zIeYwbAIHOMFlzSkNPZ1NXV1k&usp=sharing

Mega/Sokol
Could I please get copy or link to pdf. Link is not found.

Regards



What is it you are trying to download?

KB


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
Inline advert (2nd and 3rd post)

#4350789 - 04/13/17 03:47 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Kbird trying to get the label for pro micro which is "promicro_labels.pdf which I can stick to bottom of pro micro - keep track of pins better.

see page 89 http://SimHQ.com/forum/ubbthreads.p...uild-your-own-usb-controller#Post4283545

#4350915 - 04/13/17 05:59 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
Here are my labels, both types for ProMicro and 2 files (one is from openoffice for editing and second is .pdf):
erichos`s promicro labels

#4351001 - 04/14/17 03:08 AM Re: MMJoy/MMjoy2 - 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
Kbird trying to get the label for pro micro which is "promicro_labels.pdf which I can stick to bottom of pro micro - keep track of pins better.

see page 89 http://SimHQ.com/forum/ubbthreads.p...uild-your-own-usb-controller#Post4283545


Sorry Barra , I didn't get here last night to see your reply , that file isn't on this thread but I found it on the IL2 Forums a while back on the MMjoy thread there.... but I see Erichos has uploaded one too.. but here is what I have too...

KB

Attached Files
promicro_labels.pdf (349 downloads)

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4351012 - 04/14/17 04:51 AM Re: MMJoy/MMjoy2 - 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 erichos and Kbird. Much appreciated.

#4351808 - 04/18/17 10:16 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
When using shift registers can I use a common "bar" for 8 switche common wires and then run just 1 wire to the shift register?

I have finally built box with all switches encoders and potentiometres and while encoders and pots work it appears that all switches seem active. The only change I made was to use a common bar for each of the SR's. Unless I have bugged i\the board.

#4351845 - 04/18/17 01:20 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
You can use one common wire for all 8 possibles buttons per Shift Register i/c or one common for each switch.

The first save some wires and pins, but result less flexible, with the second you can change a button without need disconnect he other seven.

Depends on space available for Shift Register board, the fist case is more suitable for use inside joystick grip, due space restrictions, e.g. like is done Cougar/Warthog Shift Register.



#4351933 - 04/18/17 06:12 PM Re: MMJoy/MMjoy2 - 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
When using shift registers can I use a common "bar" for 8 switche common wires and then run just 1 wire to the shift register?

I have finally built box with all switches encoders and potentiometres and while encoders and pots work it appears that all switches seem active. The only change I made was to use a common bar for each of the SR's. Unless I have bugged i\the board.



If I understand you correctly NO ..... it's not like a Button Matrix at all.....the Common wires just goto Ground ...so yes they can all be barred/tied together and a single wire run to ground from there whether on the Arduino or to a ground point on the SR PCB

The other 8 wires go individually from each switch to a Pin on the SR with a resistor to Power , easiest to see this on MegaMozg SR PCB Pic (below)

And this is my current MegaMozg SR Board done on a breadboard for Rotary switch testing ....which has only proven I have 3 Rotary switches of the wrong kind ,my local stores are useless smile... all are MBB (shorting) so no good for flightsimming as they are always on.


KB

Attached Files IMG_20170418_102947 (Medium).jpgIMG_20170418_102920 (Medium).jpgShift Register Board Layout.png

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4351973 - 04/18/17 09:21 PM Re: MMJoy/MMjoy2 - 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 Sokol and Kbird.

I ran all active switch wires to each SR and wired commons (per 8 switches) together and then ran one common to each SR bank (per 8 switches).

But for some reason it seems all switches are on. See file
Anyone see anything wrong?

Attached Files MMJoy Set 2017_04_19.PNG
#4351976 - 04/18/17 09:32 PM 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
Kbird, what is your problem with wrong kind of rotary switch? You can change it by MMJoy2 software, MBB or BBM - it does not matter, set it in MMJoy2!

Barra - sorry I do not understand what is problem, can you post here your scheme?

Last edited by erichos; 04/18/17 09:39 PM.
#4351994 - 04/18/17 11:15 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Erichos

I finished putting a button box together with 3 pots 2 encoders and numerous switches via SR's (8 switch common wires are wiring together with a common wire running to SR from the bunched common wires). The pots and encoders including encoder buttons work. But SR switches show as always on.

Software pic in post shows switches lit and button tester shows on as well. To me with little electronic knowledge it's like maybe a short causing them to show on.
It will take me a while to draw a scheme so I will look at that.

#4352000 - 04/18/17 11:55 PM Re: MMJoy/MMjoy2 - 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
Erichos

I finished putting a button box together with 3 pots 2 encoders and numerous switches via SR's (8 switch common wires are wiring together with a common wire running to SR from the bunched common wires). The pots and encoders including encoder buttons work. But SR switches show as always on.

Software pic in post shows switches lit and button tester shows on as well. To me with little electronic knowledge it's like maybe a short causing them to show on.
It will take me a while to draw a scheme so I will look at that.



Hi Barra , I did not know ( and you didn't say ..more info is better...) that you are using CD4021 SR's not the 74HC165 SR Chips like most . The FLCS uses 3 x 4021's in its Handle for all the Buttons so you can use that wiring scheme for an example (pic posted a few pages back) but I suspect that you making the wires "common" is the issue but here is a "CD4021 Schematic" I had saved a while back too....

KB

forgot to mention there are example PCB layouts in the MMJoy2 Folder under PCB , you can use the free version of Sprint 6.0 Viewer to look at and print them ( the Demo doesn't allow saving or printing)

Attached Files Shift Register CD4021 Pin Out.jpg
Last edited by Kbird; 04/19/17 12:54 AM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4352002 - 04/19/17 12:03 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2017
Posts: 4
Buncan Offline
Junior Member
Buncan  Offline
Junior Member

Joined: Apr 2017
Posts: 4
Hi folks,
i'm new here.
I have a question. smile
Is it possible to run a mcp3208 and a couple 74hc165 shift registers together on a pro micro?
Or is mmjoy2 restricted to one type at a time?

#4352006 - 04/19/17 12:30 AM 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

Originally Posted by erichos
Kbird, what is your problem with wrong kind of rotary switch? You can change it by MMJoy2 software, MBB or BBM - it does not matter, set it in MMJoy2!


Hi Erichos , I think i misunderstood then as back on page 124 you said I had the wrong type of Rot. Switch as they were always on and the 2 others I got have also turned out to be the same, in that they always show the switch position as "ON"
not "momentary on" , they seem to be selector type switches so for example position 8 will always show as ON in MMJoy or the Sim at 8 , which may work for somethings' I guess but I was thinking that most Sims want to see a momentary ON only.

Is there a "mode" for the Button that makes it Momentary? I played with the mode settings ....some work but always show as ON

http://SimHQ.com/forum/ubbthreads.p...uild-your-own-usb-controller#Post4338413


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4352007 - 04/19/17 12:35 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Buncan]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by Buncan
Hi folks,
i'm new here.
I have a question. smile
Is it possible to run a mcp3208 and a couple 74hc165 shift registers together on a pro micro?
Or is mmjoy2 restricted to one type at a time?




I'm no expert but perhaps here are some examples I have saved from my Inet travels that may help....

I had issues with my FLCS handle miso and the TLE5010 Chip's Miso (Data) not liking each other but Erichos pointed out that I can use any digital pin for Data so I shifted the Hand MISO (DATA) to another Pin instead of the one on the ICSP Header and it's now working fine.

KB


Attached Files mmjoy2_promicro+mcp3208+CD4021B Shift register.pngmmjoy2_promicro_mcp3208_extension.pngmcp3208.png
Last edited by Kbird; 04/19/17 05:04 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4352018 - 04/19/17 01:25 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Kb1rd1]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted by Kbird
Originally Posted by Barra
Erichos

I finished putting a button box together with 3 pots 2 encoders and numerous switches via SR's (8 switch common wires are wiring together with a common wire running to SR from the bunched common wires). The pots and encoders including encoder buttons work. But SR switches show as always on.

Software pic in post shows switches lit and button tester shows on as well. To me with little electronic knowledge it's like maybe a short causing them to show on.
It will take me a while to draw a scheme so I will look at that.



Hi Barra , I did not know ( and you didn't say ..more info is better...) that you are using CD4021 SR's not the 74HC165 SR Chips like most . The FLCS uses 3 x 4021's in its Handle for all the Buttons so you can use that wiring scheme for an example (pic posted a few pages back) but I suspect that you making the wires "common" is the issue but here is a "CD4021 Schematic" I had saved a while back too....

KB

forgot to mention there are example PCB layouts in the MMJoy2 Folder under PCB , you can use the free version of Sprint 6.0 Viewer to look at and print them ( the Demo doesn't allow saving or printing)



Yes using 4021 - 4 of them on a PCB by Debolestis

#4352028 - 04/19/17 04:24 AM Re: MMJoy/MMjoy2 - 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
Originally Posted by Kbird
Originally Posted by Barra
Erichos

I finished putting a button box together with 3 pots 2 encoders and numerous switches via SR's (8 switch common wires are wiring together with a common wire running to SR from the bunched common wires). The pots and encoders including encoder buttons work. But SR switches show as always on.

Software pic in post shows switches lit and button tester shows on as well. To me with little electronic knowledge it's like maybe a short causing them to show on.
It will take me a while to draw a scheme so I will look at that.



Hi Barra , I did not know ( and you didn't say ..more info is better...) that you are using CD4021 SR's not the 74HC165 SR Chips like most . The FLCS uses 3 x 4021's in its Handle for all the Buttons so you can use that wiring scheme for an example (pic posted a few pages back) but I suspect that you making the wires "common" is the issue but here is a "CD4021 Schematic" I had saved a while back too....

KB

forgot to mention there are example PCB layouts in the MMJoy2 Folder under PCB , you can use the free version of Sprint 6.0 Viewer to look at and print them ( the Demo doesn't allow saving or printing)



Yes using 4021 - 4 of them on a PCB by Debolestis



Then I would try contacting @Debolestis via PM , he is still around , thank him for the PCBs and ask him how to wire it smile

http://SimHQ.com/forum/ubbthreads.php/users/39266/debolestis


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4352104 - 04/19/17 04:07 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Kb1rd1]  
Joined: Apr 2017
Posts: 4
Buncan Offline
Junior Member
Buncan  Offline
Junior Member

Joined: Apr 2017
Posts: 4
Originally Posted by Kbird
Originally Posted by Buncan
Hi folks,
i'm new here.
I have a question. smile
Is it possible to run a mcp3208 and a couple 74hc165 shift registers together on a pro micro?
Or is mmjoy2 restricted to one type at a time?




I'm no expert but perhaps here are some examples I have saved from my Inet travels that may help....

I had issues with my FLCS handle miso and the TLE5010 Chip's Miso (Data) not like each other but Erichos pointed out that I can use any digital pin for Data so I shifted the Hand MISO/DATA to another Pin instead of the one on the ICSP Header and it's now working fine.

KB



Thanx for your answer Kbird
I got a first breadboard setup running with a MCP3208 for the axes, 2 chained 74HC165 for 16 Buttons and a 4x5 Button Matrix for 20 Buttons.

But i seems i have problems with my Encoders.
I use ALPS STEC12E08 encoders (detended with pushbutton).
They respond not how they should.
Turning the encoder slowly theres mostly no response, turing it faster it works but in a very jumpy way.
As i know, there are encoders with different encoder detend modes out there, which maybe have to be processed differently.
Or is the Encoder just fine and it's a problem that the update rate of the shiftregister is to slow?

Heres the specsheet for the STEC12E08 Encoders
http://cdn-reichelt.de/documents/datenblatt/F100/402097STEC12E08.PDF

Last edited by Buncan; 04/19/17 04:11 PM.
#4352123 - 04/19/17 04:53 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Buncan]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by Buncan
Originally Posted by Kbird
Originally Posted by Buncan
Hi folks,
i'm new here.
I have a question. smile
Is it possible to run a mcp3208 and a couple 74hc165 shift registers together on a pro micro?
Or is mmjoy2 restricted to one type at a time?




I'm no expert but perhaps here are some examples I have saved from my Inet travels that may help....

I had issues with my FLCS handle miso and the TLE5010 Chip's Miso (Data) not like each other but Erichos pointed out that I can use any digital pin for Data so I shifted the Hand MISO/DATA to another Pin instead of the one on the ICSP Header and it's now working fine.

KB



Thanx for your answer Kbird
I got a first breadboard setup running with a MCP3208 for the axes, 2 chained 74HC165 for 16 Buttons and a 4x5 Button Matrix for 20 Buttons.

But i seems i have problems with my Encoders.
I use ALPS STEC12E08 encoders (detended with pushbutton).
They respond not how they should.
Turning the encoder slowly theres mostly no response, turing it faster it works but in a very jumpy way.
As i know, there are encoders with different encoder detend modes out there, which maybe have to be processed differently.
Or is the Encoder just fine and it's a problem that the update rate of the shiftregister is to slow?

Heres the specsheet for the STEC12E08 Encoders
http://cdn-reichelt.de/documents/datenblatt/F100/402097STEC12E08.PDF



I was having issues with my Rotary Encoder too but it was just my MMJoy setup not my wiring , Erichos was kind enough to do a nice step by step for me back on page 124 to get them working....I would never have gotten past Step 4 to 5+6+7 (that is where I was stuck) , not by looking at the Wiki anyway. I few posts either side of that one may have more info too.

However my Rotary Encoder is direct to my Leonardo not through the 74HC165 SR which is setup for Rotary switches (not encoders which are digital)

http://SimHQ.com/forum/ubbthreads.p...uild-your-own-usb-controller#Post4333127


KB

Last edited by Kbird; 04/19/17 05:02 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4352241 - 04/20/17 03:50 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Kb1rd1]  
Joined: Apr 2017
Posts: 4
Buncan Offline
Junior Member
Buncan  Offline
Junior Member

Joined: Apr 2017
Posts: 4
The encoder feels still a bit unresponsive if turned to slow or to fast, but however - using a encoder is not the most significant for my project.

Actually i'm looking for a ministick that doesn't move in a circle but instead in a squared window.
Imagine the red line on this pic as the cutout.
[Linked Image]
The usual gamepad like ministicks are all moving in a circle, which results in reduced max deflection values on X and Y axes, when moving the stick diagonal.
Thats really bad for a strafing stick (i want to use the controller in Star Citizen).
Does anybody know, if such kind of ministick i'm looking for, is somewhere available at all?

Btw - here are some Pics of my Project.
http://imgur.com/a/RgFJd
It's planned as a expansion for my dual stick + rudderpedals setup.


Last edited by Buncan; 04/20/17 04:57 AM.
Page 67 of 112 1 2 65 66 67 68 69 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
It's Friday: grown up humor for the weekend.
by NoFlyBoy. 04/12/24 01:41 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0