|
Joined: Mar 2016
Posts: 5
Junior Member
|
Junior Member
Joined: Mar 2016
Posts: 5 |
yes. Which button column and Which button row? tanks for your answer.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
Is OK, but in this arrange will result in ~185x45 mm board, difficult to fit inside a "joystick": http://s24.postimg.org/50mdwwfvp/Matrix2.jpgHere a more compact 6x6 matrix: 94x40 mm - PCB easy to do with toner method (1 mm trails) and less bridges (blue):
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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.
Last edited by Sokol1; 03/13/16 03:25 PM.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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.jpgIn 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. 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.jpgYou 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.jpgThe 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-109BTW - 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.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
The matrix looks OK, for TLE5010 plug you need connection for SCK pin. https://mmjoy.googlecode.com/svn/wiki/CobraM5/DSCF5915.jpgTeensy++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.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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. 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 uploadEdit - Think that now are correct:
Last edited by Sokol1; 03/15/16 03:54 AM.
|
|
|
|
Joined: Jan 2014
Posts: 274
Member
|
Member
Joined: Jan 2014
Posts: 274 |
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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.
Last edited by Sokol1; 03/15/16 03:25 PM.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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. Cooper background fill is good for DIY, because mean less area to corrode. 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.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
Yes, now make or order - draw this is addictive, you can end wasting time drawing and not building (me).
|
|
|
|
Joined: Mar 2016
Posts: 1
Junior Member
|
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.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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...
|
|
|
|
Joined: Mar 2016
Posts: 1
Junior Member
|
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 Edit
Last edited by Cariddi; 03/29/16 04:16 PM.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
Troll, I think you can find the answer with practical tests. Cariddi, That post need pictures.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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.
|
|
|
|
Joined: Nov 2001
Posts: 3,957
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
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.
|
|
|
|
Joined: Mar 2015
Posts: 51
Junior Member
|
Junior Member
Joined: Mar 2015
Posts: 51 |
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
|
|
|
|
|