Previous Thread
Next Thread
Print Thread
Rating: 5
Hop To
Page 34 of 112 1 2 32 33 34 35 36 111 112
Joined: Mar 2016
Posts: 5
A
Junior Member
Offline
Junior Member
A
Joined: Mar 2016
Posts: 5
yes.
Which button column and Which button row?
tanks for your answer. salute

Inline advert (2nd and 3rd post)

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
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):


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


Last edited by Sokol1; 03/13/16 03:25 PM.
Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
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.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.
Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
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

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

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.
Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274

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




Last edited by Sokol1; 03/15/16 03:25 PM.
Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
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. 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.
Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
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). smile

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
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





Joined: Mar 2016
Posts: 1
M
Junior Member
Offline
Junior Member
M
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
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
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
C
Junior Member
Offline
Junior Member
C
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.
Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
Troll,

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

Cariddi,

That post need pictures. smile

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
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: Mar 2015
Posts: 51
S
Junior Member
Offline
Junior Member
S
Joined: Mar 2015
Posts: 51
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?.

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
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
S
Junior Member
Offline
Junior Member
S
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

Page 34 of 112 1 2 32 33 34 35 36 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
Fallout: México - Official Reveal Trailer
by Crane Hunter - 10/08/24 12:12 AM
Here we go again. Milton no less.
by Nixer - 10/05/24 06:40 PM
MLB playoffs - Anyone here care?
by PanzerMeyer - 10/04/24 11:40 AM
Witcher 3 in 2024
by DBond - 10/03/24 12:57 PM
John Amos was 84
by Arthonon - 10/02/24 02:54 PM
Pete Rose
by Tarnsman - 09/30/24 11:53 PM
Maggie Smith was 89
by F4UDash4 - 09/30/24 12:37 AM
Kris Kristofferson was 88
by F4UDash4 - 09/30/24 12:36 AM
Surviving US Aerial Aces
by F4UDash4 - 09/25/24 12:56 PM
Nooooo! Oh wait, I think we're ok.
by MarkG - 09/23/24 04:27 PM
Popular Topics(Views)
6,472,113 SAM Simulator
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.7.5