Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 34 of 112 1 2 32 33 34 35 36 111 112
#4239324 - 03/13/16 08:14 AM Re: MMJoy - Build your own USB controller ***** [Re: Sokol1]  
Joined: Mar 2016
Posts: 5
abbas Offline
Junior Member
abbas  Offline
Junior Member

Joined: Mar 2016
Posts: 5
yes.
Which button column and Which button row?
tanks for your answer. salute

Inline advert (2nd and 3rd post)

#4239362 - 03/13/16 12:56 PM Re: MMJoy - Build your own USB controller [Re: ]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted By: Troll
I'm trying to understand how I should make a prototype board so I can have two pins for every button...
Have a look at this:
https://www.dropbox.com/s/ebir2uo5tup971r/6X6%20Button%20Matrix.pdf?dl=0

The triangle is the diode...


Is OK, but in this arrange will result in ~185x45 mm board, difficult to fit inside a "joystick":

http://s24.postimg.org/50mdwwfvp/Matrix2.jpg

Here a more compact 6x6 matrix: 94x40 mm - PCB easy to do with toner method (1 mm trails) and less bridges (blue):


#4239395 - 03/13/16 03:22 PM Re: MMJoy - 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
Yes, if want I can send the files (.PDF) for Laser print, or Gerber files to order the PCB in some online shop.*

Laser metod - or better "Toner transfer method" is: https://www.youtube.com/watch?v=bk6WJpGyc4I

* Can be the fast and cheaper option, e.g.if you dont have all tools needed do make the PCB, e.g. 0,8mm drill for make holes, a Dremel... bu less fun. smile


Last edited by Sokol1; 03/13/16 03:25 PM.
#4239445 - 03/13/16 06:11 PM Re: MMJoy - 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 use Sprint Layout, simple but easy.

This USB controller, the MJoy8 - "Gran Papa" of MMJoy2, I DIY with toner transfer method.

http://i41.tinypic.com/da7vs.jpg

In the picture are receiving firmware.

But try draw with Fritzing, they have PCB make service: http://fritzing.org/services/

You find several others online, and very cheap ones in China.

Quote:
Imagine a pcb that has the teensy in the middle, and header pins for 32 buttons and 8 sensors...


Yes, but are penalty in board size, thehe above matrix with pins for fit a Arduino PRO Micro, increase the board size considerable:

http://s7.postimg.org/72mysjp5n/Matrix3.jpg

You can save some space using double side layout, but this add complication to draw and specially for make - not impossible but much more difficult for DIY.

If size is issue, there option to use Shift Register board with CD4021B instead matrix, each handle 8 buttons connection, fo 32 buttons will be needed four.

Sample: https://forum.warthunder.ru/uploads/monthly_03_2016/post-1315853-0-04810700-1457723067_thumb.jpg
The guy sold this boards ready to use, if I understand correct one board include all options.
https://forum.warthunder.ru/index.php?/topic/64234-mjoy-mjoy8-mjoy16-mmjoy/page-109

BTW - In this drawing how wire a matrix (4x2) without use PCB.

http://s16.postimg.org/s5jexmkat/Matrix.jpg




Last edited by Sokol1; 03/13/16 08:36 PM.
#4239478 - 03/13/16 08:24 PM Re: MMJoy - 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
LOL. MMJOy2 "pirate".

http://world.taobao.com/item/520508841650.htm?spm=a312a.7700714.0.0.0kvtmH#detail
Including CD4021 Shift Register board and TLE5010.

biggrin

#4239733 - 03/14/16 03:33 PM Re: MMJoy - 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
The matrix looks OK, for TLE5010 plug you need connection for SCK pin.

https://mmjoy.googlecode.com/svn/wiki/CobraM5/DSCF5915.jpg

Teensy++2.0 support with 6x6 matrix - 105x58 mm:

EDIT - See revised layout below.

Highlighted connection for analog axis (up) and TLE5010/11 (down) - not sure about this connection (if SPI-CS is MOSI?)...


Last edited by Sokol1; 03/15/16 03:55 AM.
#4239788 - 03/14/16 06:35 PM Re: MMJoy - 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
Based on this text, shared connections for TLE5010/11

GEN
MISO
SCK
Gnd
+5V

Individual (F4, 5....) pins - that can be used for analog axis input.

CS

In the above arrange you can connect analog axis in 3 pins from left.
Or digital (TLE5010/11) using all 6 pins - if pins used in Teensy++2.0 are correct.

Quote:
Where are the pin headers and the diodes?

Read more: http://simhq.com/forum/ubbthreads.php/topics/4208488#ixzz42u76rzcx
Follow us: @SimHQ on Twitter | SimHQ on Facebook


The pins header and diode in the above matrix, diode can be assembled on vertical (bellow) - or used SMD diode, or horizontal (up), or combine both options - for this need change in layout (not finished).
Blue are bridge on back side of board. All this optimized for DIY methods. For double layer, SMD, the layout can be more compact.


free picture upload


Edit - Think that now are correct:








Last edited by Sokol1; 03/15/16 03:54 AM.
#4239992 - 03/15/16 09:43 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk

#4240118 - 03/15/16 03: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
Is a resistor (1k), for replace the 5 eliminated in TLE5010 board.
But if you get TLE5010 board assembled with resistors, dont need add this in matrix.

OK, can be used diode and resistor SMD (0805) or pass through:



BTW - I try drawing with Fritizing, but this thing is PITA! In Sprint Layout is like draw in MS Paint. wink




Last edited by Sokol1; 03/15/16 03:25 PM.
#4241404 - 03/19/16 05:45 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
Looks OK and compact. Just invert the matrix pins vertically or the USB cable end above some pins connection.

Good idea in use diodes as jumpers, save some solder. smile

Cooper background fill is good for DIY, because mean less area to corrode. wink

For make in PCB shop don't matter - and some can optimize the layout before make.



Last edited by Sokol1; 03/19/16 06:31 PM.
#4241608 - 03/20/16 03:01 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: ]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet


Yes, now make or order - draw this is addictive, you can end wasting time drawing and not building (me). smile

#4242625 - 03/23/16 04:03 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
Based on this drawing for encoder diode are pointed for pins (contrary for buttons):

http://simhq.com/forum/files/usergals/2014/08/full-37484-85623-pins_common.png

A bit confuse what are row and what are column in the drawing - seems "to the next..." are inverted. smile





#4243299 - 03/25/16 05:21 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Mar 2016
Posts: 1
Miraculix Offline
Junior Member
Miraculix  Offline
Junior Member

Joined: Mar 2016
Posts: 1
Hi all,

I have set up a Pro micro with an 8x8 button matrix (not all connected yet) and when I press the button it is also recognized by MMJoy2 (numbers turn red in the tool).
Where I now have the problem is to do use it in a game (DCS/War Thunder). Do I have to assign a "Key" to each button (in the field "H/W button") or should it be recognized as Vjoy_btn_xyz?

Btw: Great work so far!

Last edited by Miraculix; 03/25/16 05:21 PM.
#4243319 - 03/25/16 07:07 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
8x8 matrix = 64 buttons

Windows and games see only 32 (DInput limit).

In Windows Game Controler (type: joy.cpl in start box) you should see and test the buttons up to 32.

For butons above #32 you need use keymapper (press button to send key press for games), eg. Joy2Key, XPadder, SVMapper, Autohotkey...







#4243438 - 03/26/16 08:35 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Mar 2016
Posts: 1
Cariddi Offline
Junior Member
Cariddi  Offline
Junior Member

Joined: Mar 2016
Posts: 1
Thanks everyone!
Thanks to this forum I built a throttle with 20 buttons using a pro-micro and MMjoy2.

I'm not going to upload pictures, though, because those are my frist weldings cool

Edit
Click to reveal..

biggrin

Last edited by Cariddi; 03/29/16 04:16 PM.
#4243487 - 03/26/16 02:56 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
Troll,

I think you can find the answer with practical tests. wink

Cariddi,

That post need pictures. smile

#4244823 - 03/30/16 10:58 PM Re: MMJoy - 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
Yes, the first time is need install the COM drivers - for the next MMJoy2's is not needed.

Help tick the field "Auto-start upload firmware when COM port is active" due the 8 seconds that this port remain open.

#4244995 - 03/31/16 02:22 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Mar 2015
Posts: 51
Sak75 Offline
Junior Member
Sak75  Offline
Junior Member

Joined: Mar 2015
Posts: 51
Madrid, Spain
Hello everyone. I have a question, I will redesign the joystick and thought was put into one of the sticks a dial axis as the link:

http://es.aliexpress.com/item/Free-Shipping-2PCS-LOT-Dual-axis-XY-Joystick-Module/2016825722.html

And use the axis as buttons. Mmjoy recognizes me well, I assign axis 1 and 2 and in the section axis button to select these axes. My question is on the percentage to be put?.

#4245181 - 03/31/16 10:54 PM Re: MMJoy - 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
If you are referring to "Axis to button" and assuming that you goal is use this mini-stick as 4 way "HAT".

Try - for example - 0 to 45% of axis X press button 1 and 55 to 100% press button 2.

The 45 and 55% value will define how much is need move the mini-stick for press the button. Test with different values.

Same in Y axis.

#4245349 - 04/01/16 01:07 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Mar 2015
Posts: 51
Sak75 Offline
Junior Member
Sak75  Offline
Junior Member

Joined: Mar 2015
Posts: 51
Madrid, Spain
Sorry is axis to button (the traslator software) i try with 0%-40% 60%-100% but the button is like always press. i think that maybe select the button like encoder? not?

Many thanks

Page 34 of 112 1 2 32 33 34 35 36 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
CD WOFF
by Britisheh. 03/28/24 08:05 PM
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0