#4141541 - 06/30/15 11:17 PM
Re: MMJoy - Build your own USB controller
[Re: mega_mozg_13]
|
Joined: Jun 2015
Posts: 2
FlyerZ
Junior Member
|
Junior Member
Joined: Jun 2015
Posts: 2
|
Many thanks mega_mozg. I will try a 16-32ms pulse length for the encoders. Steven.
|
|
#4141610 - 07/01/15 06:21 AM
Re: MMJoy - Build your own USB controller
[Re: Euphoria]
|
Joined: Jan 2014
Posts: 274
mega_mozg_13
Member
|
Member
Joined: Jan 2014
Posts: 274
BELARUS, Minsk
|
Can you explain how to use "Shift" function? When I assign shift to a toggle switch, and configure buttons to use Shift 1, both unshifted and shifted buttons activate.
Yes it is right by buttons intergnal politics: "button 1" work only from "hw.button 1" without any other conditions; "button 9" work with "hw.button 1"(main) + "hw.button 13"(shift); so you need switch shift with 3 positions "on-off-on" and add second shift to "button 1". sample, Combra M5:
Last edited by mega_mozg_13; 07/01/15 01:02 PM.
|
|
#4141738 - 07/01/15 03:31 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
If I understand, the shift is a "mode" selector, like in X-52 or Defender Cobra M-5. Allow each physical button press 1(?) virtual button if "shift" are ON.
|
|
#4147995 - 07/18/15 05:19 AM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2011
Posts: 20
xaoslaad
Junior Member
|
Junior Member
Joined: Nov 2011
Posts: 20
NC, US
|
Thank you for the hint. I think I am starting to understand and will manage to make it work if I put my mind to it. I might have some questions, but I watched some tutorials about connecting encoders to an Arduino: https://www.youtube.com/watch?v=HQuLZHsGZdIwhich had somewhat different wiring from: https://www.youtube.com/watch?v=p18UayMMIWkhttps://www.youtube.com/watch?v=FGxLXqzPe3QBut I see from the second that the capacitors they both used are probably a good idea to protect against bounce? Anyway, I'll have some fun/frustration tinkering when the stuff arrives, I am sure. If I can get it working on a breadboard like this I'll look to make a smaller and more permanent version and boxing it up pretty.
|
|
#4148058 - 07/18/15 02:39 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
Remember that MMJoy firmware for (some) Arduino boards is for joystick controller, encoder should be connected in this way, using diodes (1N4148...) - to avoid "ghost" press: http://simhq.com/forum/files/usergals/2014/08/full-37484-85623-pins_common.pngIn the linked videos I dont know the purpose of encoder, maybe are for use in audio volume control, or steep motor control... So, depends of intended use maybe MMjoy firmware is not suitable for your purposes.
|
|
#4148767 - 07/20/15 08:14 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Jul 2015
Posts: 13
Vindicore
Junior Member
|
Junior Member
Joined: Jul 2015
Posts: 13
|
Hi all - some really impressive work in this topic! I am interested in using MMJoy2 to add a couple of thumbsticks and extra buttons to my cheap Thrustmaster HOTAS X (can’t afford an off the shelf better HOTAS) to make it better. I initially followed this old guide to add a single one of these thumbsticks to the throttle but now I want more and that little guide will no longer help, so I have simply switched to MMJoy2 which was much easier to set up and get working. I am a novice when it comes to electronics so I likely have some pretty basic questions. First question: if you look at that guide I have used a GND, VCC, A3 and A2 pins for the thumbstick which works just fine with MMJoy2 – if I want to add a second thumbstick I would use A1 and A0, but do I simply connect that to VCC in parallel with the original thumbstick I put in? Second question(s): I only want to add at most 8 buttons so I presume that I do not need a button matrix? Looking at SolderMonkey’s set up on page 14 that seems to be the case. If that is true do I simply connect the buttons from the left hand side numbered pins on the Pro Micro through to the RX B(D2) pin? Do I need a diode to connect them to that D2 pin to prevent ghost clicks? Third question: if I wanted to use some toggle switches instead of momentary push buttons what extra work would it require? As I say I am just getting started so thanks in advance; really excited to give this more of a go.
|
|
#4149400 - 07/22/15 01:03 PM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
|
Joined: Apr 2015
Posts: 1
Dplus12
Junior Member
|
Junior Member
Joined: Apr 2015
Posts: 1
Ohio, USA
|
After lurking on this thread for awhile, I finally got everything set up for my X36/X35T... and besides issues with the original DB15 connector (new one is coming in the mail), I'm having issues with the MCP 3208 and setting up the axes...
I'm only getting a couple to show up, and they are not on the channel they are supposed to be (Joystick X, and Y are both showing on channel 1, Throttle is showing up on channel 2 instead of 4, etc), is my MCP3208 damaged? Also, all the documentation I can find for setting up curves and all the hundreds of settings for the axes are from Google-translated Russian, so I'm having a hard time figuring out if there is something else I should tweak. I'm by no means an electrical engineer so this has all been a great learning experience.
Thanks all! Dplus12
Last edited by Dplus12; 07/22/15 01:05 PM.
|
|
|
|