Forums » Technology » Flight Sim Pit Builders » More inputs by matrixing BU0386X Active Topics You are not logged in. [Log In] [Register User]
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
Hop to:
#3343731 - 07/17/11 08:28 AM More inputs by matrixing BU0386X
jimbop Offline
Junior Member

Registered: 03/18/11
Posts: 82
Loc: Australia
I couldn’t find a description of this anywhere so thought it could be worth posting. Not difficult anyway but could help someone out I guess.

Leo Bodnar’s BU0836X is a great piece of kit and very simple to use. But if you’re going to bother building a control box then you want to do it right and obviously that means you want more than 32 digital inputs (i.e. buttons and switches). Well, I did anyway… So your options are either to buy another card or to matrix the card to allow double-inputs as described here. A matrix on 23 of the BU0836X’s 32 inputs (allowing 9 of the 32 inputs for 3 additional rotary encoders EDIT: 8 of the 32 inputs for 4 additional rotary encoders) allows 276 inputs consisting of the 23 single inputs (Input_1, Input_2, Input_3 etc) and 253 unique dual inputs (Input_1 + Input_2, Input_1 + Input_3, Input_1 + Input_4 etc). You could think of Input_1, for instance, as Control and Input_2 as any other key. You can either map the inputs in the sim manually or you can assign them to keyboard inputs using Autohotkey, SVMapper, JoyToKey, Xpader etc.

The PCB is logically simple so I didn’t bother drawing a diagram and went straight to the circuits. Below is an extract showing the first input set of Input_1 combined with the other 22 inputs. Note that each double-input requires two diodes (I used 1N4148) to avoid other circuits being completed. Luckily diodes are about the cheapest bit of electronic gear you can buy at just a few cents each. This set repeats 22 times reducing by one each repeat. I used a 300 x 150 mm PCB with 0.8 mm holes – works great. Click for full size:



Full two-sided board (grey is bottom, red is top):


Top only:


Bottom only:


If you can't manage a double-sided PCB then you can do the top layer only and link up the array using hookup wire. Pretty tedious though.


Edited by jimbop (08/13/11 04:48 AM)
_________________________
Custom magnetic stick, control box and pedals | EVGA GTX480 superclock | i7 2600k @ 4.5 | GA-P67A-UD4-B3 | 8GB DDR3 1666 Corsair Vengeance | Antec 1200W TruePower | Windows 7 64-bit | FT clip + modded Logitech Fusion

Top
#3344007 - 07/17/11 05:02 PM Re: More inputs by matrixing BU0386X [Re: jimbop]
- Ice Offline
Hotshot

Registered: 06/23/05
Posts: 8886
Loc: Philippines / North East UK
Would love to see this in action... do you have actual pics?
_________________________
- Ice

Top
#3348111 - 07/22/11 06:36 AM Re: More inputs by matrixing BU0386X [Re: jimbop]
Valisk_61 Offline
Member

Registered: 08/28/06
Posts: 199
Loc: Widnes, UK
Mind = Blown

I know I need that, but can I make my brain understand it...
_________________________
FS~Valisk 'Val'
www.skiesoffire.org

"I've never seen the Icarus story as a lesson about the limitations of humans. I see it as a lesson about the limitations of wax as an adhesive." - Randall Munroe

Top
#3348136 - 07/22/11 07:37 AM Re: More inputs by matrixing BU0386X [Re: jimbop]
jimbop Offline
Junior Member

Registered: 03/18/11
Posts: 82
Loc: Australia
Here are some pics of my trial build where I have used hookup wiring (black wires) to link each set to the BU0836X digital inputs rather than using a two-sided PCB which I tend to avoid when possible since they are fiddly. The first picture shows the circuit side of the first set of crossover inputs (refer to OP), second is the other side showing the diodes. The holes between the diodes go to switches or buttons.

The last picture shows a test setup using an SPDT switch (but whatever switch/button etc will do). Note that the photo is deceptive since the red and brown (ground) are not on the same lug. Note that multiple switches can share any digital ground on the BU0836X.

I don't have screenshots for this section but trust me, I'm a scientist! Where the red wire sits on the first hole = output #23 only since there is no crossover with any other inputs (refer to circuit diagram). This output therefore needs no diode. Move the wire to the next hole and the output will be 23 + 22, next = 23 + 21, next = 23 + 20 etc. This set = 23 outputs in total which are 1 single + 22 dual. Move to the next set to the right of the photo and the first hole is #22. Next is then 22 + 21, then 22 + 20 etc.





Let me know if this isn't clear.
_________________________
Custom magnetic stick, control box and pedals | EVGA GTX480 superclock | i7 2600k @ 4.5 | GA-P67A-UD4-B3 | 8GB DDR3 1666 Corsair Vengeance | Antec 1200W TruePower | Windows 7 64-bit | FT clip + modded Logitech Fusion

Top
#3348143 - 07/22/11 07:49 AM Re: More inputs by matrixing BU0386X [Re: jimbop]
Valisk_61 Offline
Member

Registered: 08/28/06
Posts: 199
Loc: Widnes, UK
Wow - thanks very much for the clarification jimbop!

If I can get the front-to-back registration good enough, I might try to machine those traces on my CNC.
_________________________
FS~Valisk 'Val'
www.skiesoffire.org

"I've never seen the Icarus story as a lesson about the limitations of humans. I see it as a lesson about the limitations of wax as an adhesive." - Randall Munroe

Top
#3348146 - 07/22/11 07:51 AM Re: More inputs by matrixing BU0386X [Re: Valisk_61]
jimbop Offline
Junior Member

Registered: 03/18/11
Posts: 82
Loc: Australia
No problem. Double-sided is definitely the way to go if you can manage it, a much cleaner solution than hookups.
_________________________
Custom magnetic stick, control box and pedals | EVGA GTX480 superclock | i7 2600k @ 4.5 | GA-P67A-UD4-B3 | 8GB DDR3 1666 Corsair Vengeance | Antec 1200W TruePower | Windows 7 64-bit | FT clip + modded Logitech Fusion

Top
#3349412 - 07/23/11 05:53 PM Re: More inputs by matrixing BU0386X [Re: jimbop]
- Ice Offline
Hotshot

Registered: 06/23/05
Posts: 8886
Loc: Philippines / North East UK
Sorry guys, but my "electrics" knowledge is limited to closed loops and battery-powered stuff. Is there a newbie-version or a crash course on this?

I assume the purpose of this is to make the standard BU0386X have "more buttons," is that correct? From the OP, one BU0386X can have a max of 276 inputs, yes?
_________________________
- Ice

Top
#3349477 - 07/23/11 07:11 PM Re: More inputs by matrixing BU0386X [Re: jimbop]
jimbop Offline
Junior Member

Registered: 03/18/11
Posts: 82
Loc: Australia
I'll try again, maybe I should have been clearer initially but I thought this was conceptually straightforward. Maybe I've just been thinking about it longer... smile Actually, the number of unique combinations (with order unimportant) for all 32 digital inputs is 528! I've 'wasted' 9 of the BU0836X inputs on rotary switches which require three digital inputs each and so am left with a measly 276 unique combinations.

Suppose that Ctrl = Command_1, X = Command_2 and Ctrl+X (pressed simultaneously) = Command_3. These commands are sim controls like fire, open canopy, wheels down etc.

BU0836X has 32 digital inputs. Out of the box this lets you program 32 buttons or switches to whatever command you like in the sim of your choice. If your sim allows combination keyboard inputs (i.e. not only Ctrl and X inidividually but also Ctrl+X) then you could theoretically activate an additional sim command by simultaneously pressing Button_1 (think of this as Ctrl) and Button_2 (think of this as X).

The difficulty is that you could not achieve the same effect just by hooking up a third button (Button_3_ to connect both +V terminals from Button_1 and Button_2. In this scenario Button_3 would activate Input_1 and Input_2 but so would Button_1 and Button_2 since the circuit would be identical for all three buttons. That's why you need the diodes. If you added a couple of diodes to interrupt the circuit around Button_3 then this setup will work.

Whilst this would work for just a few buttons if you tried to manually link up numerous combination inputs you would end up with an enormous tangle of wire. Hence the matrix board with the diodes and crossovers neatly contained and only the 276 (or 528) wire leaving the board to the buttons and 23 (or 32) wires leaving the board to the BU0386X.

So in summary, no, this does not increase the number of inputs from BU0836X. It simply allows you to use BU0386X with numerous double-inputs. This is useful for sims where you can trigger three different commands by (for instance) Ctrl, X and Ctrl+X.


Edited by jimbop (07/23/11 07:14 PM)
_________________________
Custom magnetic stick, control box and pedals | EVGA GTX480 superclock | i7 2600k @ 4.5 | GA-P67A-UD4-B3 | 8GB DDR3 1666 Corsair Vengeance | Antec 1200W TruePower | Windows 7 64-bit | FT clip + modded Logitech Fusion

Top
#3349480 - 07/23/11 07:14 PM Re: More inputs by matrixing BU0386X [Re: - Ice]
jimbop Offline
Junior Member

Registered: 03/18/11
Posts: 82
Loc: Australia
An addition to above the only thing you need to understand is what a diode does, i.e. circuit one way but not the other.
_________________________
Custom magnetic stick, control box and pedals | EVGA GTX480 superclock | i7 2600k @ 4.5 | GA-P67A-UD4-B3 | 8GB DDR3 1666 Corsair Vengeance | Antec 1200W TruePower | Windows 7 64-bit | FT clip + modded Logitech Fusion

Top
#3350053 - 07/24/11 04:06 PM Re: More inputs by matrixing BU0386X [Re: jimbop]
HitchHikingFlatlander Offline
Senior Member

Registered: 09/21/06
Posts: 3939
Loc: California
My brain is melting here but no different than if you had explained it in kindergarten language lol! This really cool stuff. I'm looking at this board mainly to repair my Saitek pedals who's electronics were fried for reasons unknown. This is very useful to know that I can get more out of it!
_________________________
www.DCS-Mercenaries.com

A casual west coast Black Shark/A-10C Squadron always looking for extra pilots and good times!

Top
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
Hop to:

Moderator:  EinsteinEP, RacerGT 
 
Quick Search
Recent Articles
Support SimHQ
.
Social


Recent Topics
Dogs of War Meeting
by Asid
4 minutes 15 seconds ago
Spider Web Teaser [RoF]
by Smithcorp
Today at 08:42 AM
mouse cursor...linking virtual one to physical one in T.A.R.G.E.T.
by SpaceBlaze
Today at 07:39 AM
French air strike in Iraq from launch to recovery
by jdbecks
Today at 06:05 AM
A Humbling Experience
by Pielstick
Today at 06:03 AM
Poncho and Lefty Townes Van Zandnt original
by Li'lJugs
Today at 02:18 AM
DCS: MiG-21, or Please Tell Me It's Not Just Me...
by NavyNuke99
Today at 01:24 AM
Comparing music genres, re. rap vs. music
by Li'lJugs
Today at 12:24 AM
Grand Budapest Hotel
by PanzerMeyer
Yesterday at 11:51 PM
MiG-21 v F-4E (DCS)
by Ryujin
Yesterday at 11:36 PM
 

Forum Use Agreement | Privacy Statement
Copyright 1997-2014, SimHQ Inc. All Rights Reserved.