SimHQ
Previous Thread
Next Thread
Print Thread
Rating: 5
Hop To
Page 67 of 112 1 2 … 65 66 67 68 69 … 111 112
Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456
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)

Joined: Dec 2016
Posts: 115
B
Member
Member
B Offline
Joined: Dec 2016
Posts: 115
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

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

Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456
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
Attachments
Attached PDF document
promicro_labels.pdf (34.32 KB, 424 downloads)


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
Joined: Dec 2016
Posts: 115
B
Member
Member
B Offline
Joined: Dec 2016
Posts: 115
Thanks erichos and Kbird. Much appreciated.

Joined: Dec 2016
Posts: 115
B
Member
Member
B Offline
Joined: Dec 2016
Posts: 115
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.

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



Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456
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
Attachments
IMG_20170418_102947 (Medium).jpg IMG_20170418_102920 (Medium).jpg Shift Register Board Layout.png


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
Joined: Dec 2016
Posts: 115
B
Member
Member
B Offline
Joined: Dec 2016
Posts: 115
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?
Attachments
MMJoy Set 2017_04_19.PNG

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

Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456
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)
Attachments
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
Joined: Apr 2017
Posts: 4
B
Junior Member
Junior Member
B Offline
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?

Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456

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
Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456
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

Attachments
mmjoy2_promicro+mcp3208+CD4021B Shift register.png mmjoy2_promicro_mcp3208_extension.png mcp3208.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
Joined: Dec 2016
Posts: 115
B
Member
Member
B Offline
Joined: Dec 2016
Posts: 115
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

Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456
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
Joined: Apr 2017
Posts: 4
B
Junior Member
Junior Member
B Offline
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.
Joined: Dec 2016
Posts: 456
K
Member
Member
K Offline
Joined: Dec 2016
Posts: 456
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
Joined: Apr 2017
Posts: 4
B
Junior Member
Junior Member
B Offline
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 

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,408 SAM Simulator
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 8.0.1