Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 65 of 112 1 2 63 64 65 66 67 111 112
#4345750 - 03/20/17 10:50 PM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: SolderMonkey]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted by SolderMonkey
Essentially Encoders are just buttons. The timing is weird on them, but you can chain them like a switch. As long as you have space in the software for encoders, you can add more.


Thanks SolderMonkey.
So I assume from your comment that I must maintain the outer pins as individual columns as I found that when I placed middle pins as individual rows I could not get 2 encoders working correctly. I setup outer pins into 2 common columns as it suited me more to have less columns used.

However, as I did not want to use encoder push buttons I did not wire those in anywhere on assumption that they were optional. DO I need to wire them in?

Cheers

Last edited by Barra; 03/20/17 10:54 PM.
Inline advert (2nd and 3rd post)

#4345753 - 03/20/17 10:58 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2014
Posts: 33
SolderMonkey Offline
Junior Member
SolderMonkey  Offline
Junior Member

Joined: Sep 2014
Posts: 33
Ari-freakin-zona
They're just a button, use them or don't. They're separate from the shaft turning and don't need to be hooked up.

I'm not sure on the outers having to be the columns. I've never tried hooking them up backwards from the displayed method.

Having buttons and not hooking them up might hurt the button's feelings though. Don't be insensitive.

#4345756 - 03/20/17 11:27 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: SolderMonkey]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted by SolderMonkey

Having buttons and not hooking them up might hurt the button's feelings though. Don't be insensitive.

Ok I will try not to be insensitive in the future! hahaha

#4345788 - 03/21/17 02:52 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
Successfully reworked and now 2 Encoders working. dance Not going with the 3 as originally had planned at this point. Also added buttons of encoders but not necessary - may or may not use. If I use then I need to delve into a mapper which I was not going to do.

Now to get box complete. Still waiting on some gear to finish that.

Thanks for help all.

Attached copy of software setup. It took a while to find the button numbers for the encoders. Still not sure what has happened to "Button #1" It seems to have gone missing in action? duh
Cheers

Attached Files MMJoy Set 2017_03_21.PNG
Last edited by Barra; 03/29/17 12:45 PM.
#4345800 - 03/21/17 05:40 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Barra]  
Joined: Sep 2014
Posts: 33
SolderMonkey Offline
Junior Member
SolderMonkey  Offline
Junior Member

Joined: Sep 2014
Posts: 33
Ari-freakin-zona
Barra - Can you diagram your connections and post a few photos of your creation here? I've never hooked up a matrix, a shift register and encoders into the same controller. Incredibly curious what you've got going on, how you hooked it up and how it's working for you. I just threw together an order of parts for a true button box. Maybe it needs encoders ...

#4345805 - 03/21/17 07:32 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: SolderMonkey]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
OK will do. It will be rough drawing as I don't know much about the circuit diagram protocols.

As a starter for you - I built a test bed to work out how each item worked with MMjoy. Together, that covered 9 momentary buttons, 1 "On-None_On" toggle and a rotary switch (3 switch points) all connected to Shift Registers. In the end I have decided to drop the Rotary. I built the button matrix for the 2 encoders and their buttons. And last was a standard pot. This was the test bed and final box will be 3 pots, 2 Encoders/buttons with a total of 32 buttons.

Like to thank debolestis for his SR boards - love them.

This was a project to learn on as I will try and build a set of rudder pedals next! That will be a challenge.

Cheers

#4346237 - 03/23/17 06:24 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: SolderMonkey]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted by SolderMonkey
Barra - Can you diagram your connections and post a few photos of your creation here? I've never hooked up a matrix, a shift register and encoders into the same controller. Incredibly curious what you've got going on, how you hooked it up and how it's working for you. I just threw together an order of parts for a true button box. Maybe it needs encoders ...


Solder Monkey I have tried to do a diagram that covers what I did. It was done in Excel because that is what I know to a reasonable degree. Do not have any other circuit software. Also could not find a free one.

I attached 2 PDF's. 1 is of the Test Bed wire diagram which is done as best I could do - I do hope I got it right!! The 2nd just shows different parts of test bed. With exception of Shift Register board all are temporary setups.

The Perf Board has Diodes on reverse with header pins on front. I did not want to solder wires from switches together in case things did not work - just as well. The Diode arrangement and Columns with them may look strange. They are like that because they started as rows which I redid (by cutting some of connecting wires) after your reply, because I could not get rows working as covered earlier. I also added the extra connection to columns to cater for the push buttons of Encoder. I also used to practice some soldering. biggrin

Again I just like to thank Mega_Mozg_13 for program along with Sokol1 and Debolestis and many others here and on ED forums. Without all I would not have got anywhere. cheers

Hope this helps in some way.

Attached Files Wiring.PNGTest Bed.PNG
Last edited by Barra; 03/28/17 12:17 PM.
#4346416 - 03/23/17 09:04 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2012
Posts: 20
E69_Jack_Aubrey Offline
Junior Member
E69_Jack_Aubrey  Offline
Junior Member

Joined: Jan 2012
Posts: 20
Spain
I'm having trouble updating the firmware, i setted every field for the arduino micro, then i push the reset button and when the port turn green i push the upload firmware button; then the cmd window open and show a message about connecting to the programmer and nothing else happens. Does anyone knows what i can be doing worng?????

#4346433 - 03/23/17 11:11 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: E69_Jack_Aubrey]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted by E69_Jack_Aubrey
I'm having trouble updating the firmware, i setted every field for the arduino micro, then i push the reset button and when the port turn green i push the upload firmware button; then the cmd window open and show a message about connecting to the programmer and nothing else happens. Does anyone knows what i can be doing worng?????


I don't know a lot but maybe you post a copy of MMJoy2 software page so that others can see and review. I know I did not think it had done anything but it had.

#4346497 - 03/24/17 12:43 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: erichos]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted by erichos


Only 2xCol and 1xRow I used for switch with LED indication (for GEAR) and another one switch. This picture may help you:

[Linked Image]



Erichos

Is there much to adding an LED to a board (eg Pro Micro)? Like you I would like to add an LED for Gear up if at all possible.

#4346520 - 03/24/17 02:12 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: E69_Jack_Aubrey]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by E69_Jack_Aubrey
I'm having trouble updating the firmware, i setted every field for the arduino micro, then i push the reset button and when the port turn green i push the upload firmware button; then the cmd window open and show a message about connecting to the programmer and nothing else happens. Does anyone knows what i can be doing worng?????


Possibly doing nothing wrong , it is sometimes a pain in the A** smile but I find if I double tap the reset button quickly instead of pushing it just once it seems to work better ... it's almost like a single tap doesn't always get it into Bootloader mode , just restarts the Pro/Leonardo

If you Open Device Manager you can also watch and Check the Port no#s and hit update Firmware at the right moment as you only get about 8 secs while it is in Bootloader Mode.

KB


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4346523 - 03/24/17 02:19 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
Originally Posted by erichos


Only 2xCol and 1xRow I used for switch with LED indication (for GEAR) and another one switch. This picture may help you:

[Linked Image]



Erichos

Is there much to adding an LED to a board (eg Pro Micro)? Like you I would like to add an LED for Gear up if at all possible.


Could you not use a Double Pole Switch , DPDT I think? in an ON-ON type one ? ( Up and Down)

I wired an LED into my FLCS's Download switch in the ON position since that side of the original switch was unused , not sure what I'll use it for yet though , it was just an exercise since the Button was already there.

KB.


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4346537 - 03/24/17 03:01 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Kb1rd1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted by Kbird


Could you not use a Double Pole Switch , DPDT I think? in an ON-ON type one ? ( Up and Down)



DPDT switch is two mechanical switches - as 6 pins - under one lever/rocket.

| |

| |

| |

Just wire each ON - one from left (switch) pins column, other in right - in two different MMJoy2 button inputs.


Last edited by Sokol1; 03/24/17 03:05 PM.
#4346551 - 03/24/17 03:54 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2012
Posts: 20
E69_Jack_Aubrey Offline
Junior Member
E69_Jack_Aubrey  Offline
Junior Member

Joined: Jan 2012
Posts: 20
Spain
This is what actually is happening, i push the button (now double push) and there is a green ligth in my arduino micro, then after it atop i see the port back to green and i can push the upload button
[Linked Image]



The damm thing change port while in bootloader mode jawdrop thank you Kbird I wouldn't check the device manager by myself banghead

Last edited by E69_Jack_Aubrey; 03/24/17 04:00 PM.
#4346690 - 03/24/17 10:13 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: E69_Jack_Aubrey]  
Joined: Dec 2016
Posts: 115
Barra Offline
Member
Barra  Offline
Member

Joined: Dec 2016
Posts: 115
Australia
Originally Posted by E69_Jack_Aubrey
This is what actually is happening, i push the button (now double push) and there is a green ligth in my arduino micro, then after it atop i see the port back to green and i can push the upload button
[Linked Image]



The damm thing change port while in bootloader mode jawdrop thank you Kbird I wouldn't check the device manager by myself banghead


I agree with Kbird. Use double tap for reset. Do that a few times while watching Device Manager COM List.

It will change COM number while in Bootloader. Then when Bootloader is finished COM number will revert to the original COM number. You need nee to use the COM number that appeared briefly during Bootloader.

You are highlighting the Micro device line in the "Device list and configuration" box before trying to do upload?

Last edited by Barra; 03/24/17 10:54 PM.
#4346705 - 03/24/17 10:42 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
Originally Posted by Sokol1
Originally Posted by Kbird


Could you not use a Double Pole Switch , DPDT I think? in an ON-ON type one ? ( Up and Down)



DPDT switch is two mechanical switches - as 6 pins - under one lever/rocket.

| |

| |

| |

Just wire each ON - one from left (switch) pins column, other in right - in two different MMJoy2 button inputs.



Not sure I understand fully Sokol1.

I could put into either the matrix or the shift registers. Say I used an On-None-On toggle switch where the up switch is "On" and the down switch is "Off". I then wired an LED to the "Up" connection point as well as the standard wire coming from that same connector but take both to separate MMJoy2 button inputs?
By doing a separate button input for LED this will then go to maximum count of 32 buttons for Windows-True?


What I did in wiring I drew in post: http://SimHQ.com/forum/ubbthreads.p...uild-your-own-usb-controller#Post4345788

#4346728 - 03/25/17 12:49 AM 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
I don't think that is good idea connect LED in buttons place on Shift Register or Diode Matrix*, connect to external power source, e.g. USB cable + and - wires. *

And use 2 pins from DPDT switch for turn LED on together with button on MMjoy2. Can use a DPST (ON-OFF) for this.

[Linked Image]upload photos

MMJoy2 LED support is for output LED and work for War Thunder, not all games.

* But if want connect there look back in this topic someone post how he connect LED in between diode matrix.

#4346729 - 03/25/17 01:27 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
OK thanks Sokol1

#4346733 - 03/25/17 02:15 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: E69_Jack_Aubrey]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Originally Posted by E69_Jack_Aubrey
This is what actually is happening, i push the button (now double push) and there is a green ligth in my arduino micro, then after it atop i see the port back to green and i can push the upload button
[Linked Image]



The damm thing change port while in bootloader mode jawdrop thank you Kbird I wouldn't check the device manager by myself banghead



Yes that is standard smile ( did you read the Wiki? https://github.com/MMjoy/mmjoy_en/wiki)

Once you have the Firmware loaded , you wont see the Arduino Bootloader Mode anymore but it still changes Com Ports during Firmware updates. ( not loading Sets though as they are called )

You are Using Firmware 2016-8-18Upd. are you? that is the recommended one here as the newer 2016-11-1 has a few Bugs....

KB

Last edited by Kbird; 03/25/17 11:03 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4346983 - 03/26/17 03:33 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Dec 2016
Posts: 454
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 454
Hi , I am having a wiring issue I believe , the TLE5010 Boards are installed and Working fine , the 4021 Shift Registers in the Handle are working fine too ....BUT only if I don't connect them at the same time , ie the TLE5010 are working or the Buttons in the Handle are working but not both at the same time . From the information below from earlier in the Thread my understanding is that i can connect all the wires together to their appropriate Pins except CS , which each have their own Pins , and the 2 Gen wires from the TLE 5010 Boards , they are wired together and then go to B6 on the Leonardo.

I am not sure if the Handle Wiring in the FLCS is the Same as the Cougar , I found the image below online , perhaps that is the issue and the colours are different in the FLCS? ( I thought FLCS,F22 and Cougar were the same though?)


From Earlier in the Thread.......

As mega_mozg_13 wrote you need to connect:
"B6" for TLE5010-GEN - this pin are shared for all TLE5010/5011 sensors.

"B3" for SPI-MISO - this pin are shared for all "SPI" sensors (TLE5010/5011/kma200/mcp3201-3208).
"B1" for SPI-SCK - this pin are shared for all "SPI" sensors (TLE5010/5011/kma200/mcp3201-3208).

"SPI-CS" - you can connect as you like, and where you connect CS-pin need to setup at configurator. this pin are individual to sensor. (F4 & F5 - just a sample).

also additional data line "SPI-MOSI" shared for "SPI" sensors mcp3202-3208. ... if you did not use IC MCP3202-3208 you do not need pin SPI-MOSI and you can use this pin for button matrix or like CS for TLE5011 and so on...

Use saved calibration not auto calibration for TLE5011.


Thanks for the help,


KB

***SEE CORRECTED IMAGE IN THIS POST
http://SimHQ.com/forum/ubbthreads.p...uild-your-own-usb-controller#Post4347381

Attached Files Handle shift_register_thrustmaster_warthog_cougar.jpg
Last edited by Kbird; 04/01/17 05:08 PM.

My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
Page 65 of 112 1 2 63 64 65 66 67 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
Roy Cross is 100 Years Old
by F4UDash4. 04/23/24 11:22 AM
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
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0