Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Cockpit Construction Continued (Part 32) (Read 5378 times)
May 8th, 2007 at 12:20am

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
Ice Protection Panel Wiring   Part I



Building a somethat "generic" pit... I can custom build my aircraft any way I like to.  Which is nice.   Smiley  After spending all day finishing a major proposal for a presentation next year relative to my pottery business and a residency I spent in Japan, I got to work on (read "play with") the pit.  

A long time ago (see WAY older threads) I lifted the basic design concept for the ice protection panel from some aircraft I saw on Airliner.net simply because I really liked the look of the general design.  This one  is not an exact copy, but it's close.  Can't remember the plane for the life of me .

Tonight I finally got around to starting on the wiring of this panel, since it is a somewhat complex layout featuring a lot of LEDs and a situation where the LEDs are driven from two separate and independent sets of switch contacts.  It is a pile of spagetti on the back!

To give you prospective simpit builders reading this an idea of the TIME involved in this kind of work, the results you see here for just the wiring done to the already built panel took four hours of steady work tonight.  Simpit building is s....l....o...w work, usually over years.  Shocked  (
See thread #1 for the date of the first posting on this project.
)
 
The first of two major steps involved for this particular panel is wiring up the LED indicators that show the status of the components that are switched on.  These include the 2 pitot heaters, the static port heater, four engine anti-ice controls, a complex airframe anti-ice system, and the TAT test indicator.  Looking at the FSUIPC offsets I find that there are apparently two pitot heater status indicators, and there apparently IS one level of airframe anti-ice.  There are some controls on this panel that are "for effect" only and will have no function in the sim.  The rest of the controls (like engine anti-ice) are pretty "stock" fs2004 panel gauge type controls that have easily assigned connections to the sim.

These LEDs on the panel are driven by the main +12V DC buss in the pit, and that buss is turned on when the Master Battery switch is set to "on", when the Ground Power is connected and the parking brake is set, or when the APU Generator or an Engine Generator is set to "on".


Below you can see the panel in an initial stage, with the components mounted, but almost no wiring hookup done yet (one -12V ground lead bundle set has been soldered and taped).  The panel is upside down from the position in which it is mounted on the overhead.  The row of double pole double throw switches along the top edge in the picture (which is the bottom on the overhead) are the pitot heaters on the left and right ends and the four engine anti-ice in the center between them.  Below them on the picture is an array of LEDs that form a sort of synoptic function display.  Next on the way down on the left and right is a pair of rotary wafer switches.  In the center you can see the main 12V DC power connector block.  On the lower right is the TAT test button and LED, and on the lower left is the static port heater switch.

...



In the shot below you see a closeup of the wiring for the manual control of the airframe anti-ice functions controlled by a six position wafer rotary switch.  This control allows the application of anti-ice to selected areas of the airframe.  Therefore it has to supply 12V to specific sets of LEDs to indicate WHERE the heat is.  This requires a LOT of wires to the individual LEDs.  Note my written comments on the back of the panel as to which contact is for what function.

...



In the next shot note the five vertically mounted diodes added on the manual control switch contacts.  This is necessary because all of the LEDs are also fed +12V DC from the other six position rotary switch that controls the AUTOMATIC functions for the anit-ice system.  The auto system results in all of the airframe LEDs being lit up at the same time.  So this has to have +12V connections to each of the individual LEDs....... which would cause problems with the manual switch if it were not for the diodes acting as one-way valves for the flow of current.

Without the diodes, because of the wiring connections from the "auto" switch, when the manual switch was placed in any position, it too would light ALL the LEDs.  NOT what I want!  So the diodes are inserted in the +12V feed to the LEDs from the "auto" switch to block the lighting up of the leds.  Simple and VERY useful trick for pit building.   Wink

...



Below you can see the panel with all of the 12V DC wiring in place.  The large balck and red wire is the master 12V supply buss for the panel.  Note that a number of places the wires have been bundled and some exposed surfaces are taped to prevent possible shorts.  

The control wiring for the actual simulator functions (communicated via the Hagstrom KE72 card) still has to be mounted.  That wiring goes on the OTHER set of contacts on the wafer switches and the DPDT toggles.  That work will get done tomorrow or the next day (hopefully).


...
« Last Edit: May 8th, 2007 at 9:53am by JBaymore »  

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #1 - May 8th, 2007 at 12:30am

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
Ice Protection Panel Wiring    Part II


Below is the front of the panel, showing the various functions.  Note the "auto" and "manual" multi-position switches on the left and right.  These will be wired to the single offset in the sim that controls airframe anti ice, so the complexity of the various functions is just "eye candy"......... awaiting Microsoft to add more anti-ice functions in future sims.   Wink


...



Below everything except the momentary TAT test LED is lit up for "maximum effect".   Cheesy   NOTE that the airframe anti-ice is set to "auto" on the left system, and "off" on the right.  Then see the NEXT picture where the airframe anti-ice is set to "wing" on the manual control and all other switches are "off"

...




...



Here in the next two shots the panel is mounted in its' "home" on the overhead of my simpit, with a few of the already activated other panels "lit up" too.  Still a lot to do up there.   

...


...



Next step....... wire up the interface to the sim


best,

.......................w
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #2 - May 9th, 2007 at 8:56pm

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
Wiring It Into The Sim Via the KE72


So here below is the last step in putting this panel into use.  I use CAT 5 wire with 4 twisted pairs (8 wires) and strapped an extra wire to it with electrical tape for the ground connection in order to to cover this panel's needs.  Here you can see the partially completed board from yesterday.... or the day before ....can't remember  Wink...... with the CAT 5 wire ready to go.  I next epoxied a strain relief into the center of the panel to "hold" the end of the CAT 5 wire onto the panel.

...



And after about another 2 1/2 hour's tedious wire stripping and soldering work ..... after checking carefully with ah multimeter to make sure I am getting it right......... below is the finished panel ready to mount and attach to the Hagstrom KE72 and main +12V DC power buss.

A little vino to go with this pile of spagetti?  Grin

...




Hagstrom KE 72 Code


Below is an example which I have cut out of the ASCII text file that is used to program a Hagstrom KE72 keyboard encoder card.  These cards are GREAT!  Well worth the money.....even if you are just making a desktop type cockpit with a few switch boxes.  

In the listing below, just after the APU panel listing at the top, you can see the actual programming for the new Ice Protection panel I just did.

The "INXX" identifies the hardware input number to use.  The ":" after the location means -do this when the switch is pressed/latched.  The "|" on the next line means -do this when the switch is released.  The stuff contained in a bracket (  for example [X]  ) is the key press to send.  There are ways to add shift and control and other stuff which you can see if you look at input 48........which sends a shift H when it is toggled on, and a shift H when it is toggled off.  That turns the pitot heater on and off.  

The colors are the color coding for the wires in the Cat5 cable that I used for the connections.

You could type this whole reply by flipping a switch simply by defining it in the configuration file, if you really wanted to.  Wink

Excerpt from Hagstrom KE-72 Configuration Programming


APU PANEL

41                                    Ground Power Toggle ON  (brown)
41                                    Ground Power Toggle OFF

42                                    APU Pump Toggle ON (orange)
42                                    APU Pump Toggle OFF

IN43:[(+)Shift][F4][(-)Shift]                                  APU Run Toggle ON (orange/white)
IN43|[(+)Shift][F4][(-)Shift]                                  APU Run Toggle OFF

IN44:[(+)Shift][W][(-)Shift]                                  APU Generator Toggle ON (green/white)
IN44|[(+)Shift][W][(-)Shift]                                  APU Generator Toggle OFF


IN45                                    OPEN TO USE  / Not Assigned Yet
IN45                                    OPEN TO USE  / Not Assigned Yet


ICE PROTECTION PANEL

IN46:[9]                                              Static Port Heat Toggle ON (orange)
IN46|[9]                                              Static Port Heat Toggle OFF (orange)

IN47:[0]                                              Airframe Anti-ice Toggle ON  (orange/white)
IN47|[0]                                              Airframe Anti-ice Toggle OFF  (orange/white)

IN48:[(+)Shift][H][(-)Shift]                                  Pitot Heat #1 Toggle ON  (green)
IN48|[(+)Shift][H][(-)Shift]                                  Pitot Heat #1 Toggle OFF  (green)

IN49                                              Pitot Heat #2 Toggle ON  (green/white) not assigned yet
IN49                                    Pitot Heat #2 Toggle ON  (green/white) not assigned yet

IN50:[E][1][H]                              Engine #1 Anti-ice Toggle ON   (blue)
IN50|[E][1][H]                              Engine #1 Anti-ice Toggle OFF   (blue)

IN51:[E][2][H]                              Engine #2 Anti-ice Toggle ON  (blue/white)
IN51|[E][2][H]                              Engine #2 Anti-ice Toggle OFF  (blue/white)

IN52:[E][3][H]                              Engine #3 Anti-ice Toggle ON  (brown)
IN52|[E][3][H]                              Engine #3 Anti-ice Toggle OFF  (brown)

IN53:[E][4][H]                              Engine #4 Anti-ice Toggle ON  (brown/white)
IN53|[E][4][H]                              Engine #4 Anti-ice Toggle OFF  (brown/white)


(Sorry about the formatting above!)


And back to the concept of how much WORK goes into this kind of stuff......... counting the time to write the config additions and load them into the Hagstrom and a few other misc. bits of time involved in this ...... this "little" part of the pit took almost a full day's work!


So there you have the next installment.  This thread is stuffed with the max of images... so no more will go here.


best,

.......................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #3 - May 9th, 2007 at 9:05pm

tunatuk   Offline
Lieutenant Colonel
I Fly Sim!

Posts: 7
*****
 
John,

I just got a KE24 for $20 and am about to order a KE72 as well, but I did have one question:

I have read that you need to use momentary switches only with these, and that on/off switches don't work as well...any truth to this?
 
IP Logged
 
Reply #4 - May 9th, 2007 at 9:10pm

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
tunatuk,

ABSOLUTELY NOT TRUE for the KE72.  I think it IS true for the 24.....which is a matrixed real keyboard type controller.  Hagstrom has an assortment of stuff.... go to the website.

I have toggles, momentarys, and rotary wafer switches on the two KE72's I have.  All work fine.  They support different functions on make and break..... macros... and so on. 

You won't be unhappy with the 72s. 

best,

.......................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #5 - May 9th, 2007 at 10:18pm

beaky   Offline
Global Moderator
Uhhhh.... yup!
Newark, NJ USA

Gender: male
Posts: 14187
*****
 
Beautiful stuff... but I cringed when I saw the electrical tape!!  Shocked
In no time at all, that will turn into a gummy mess as it peels off your beautiful harness.  It's the heat that does it.
  I never use that crap for anything permanent, except bundling wire looms that will be outside a rack and covered with braided sleeve.

Do yourself a favor and get some heat-shrink tubing!!  Angry

It's very handy for stuff like that, and also making "socks" for the occasional solder-splice.
 

...
IP Logged
 
Reply #6 - May 9th, 2007 at 10:18pm

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
Well.... I just discovered that for the particular panel that I am using in the BAe 146-200, I have to add a DELAY into the keypress sequence between the engine selection (  [E] [1]  ) and the antiice command (  [H]  ).  Otherwise the encoder is sending the keypresses too fast for the panel to "accept" them.......... with weird results.  This delay function is expressed as [(D)100] where a value of 100 gives a one second delay.

Even though the panels are not displayed on a screen.... they still govern how an aircraft functions.

So now it last part looks like this:

IN50:[E][1][(D)100][H]                              Engine #1 Anti-ice Toggle ON   (blue)
IN50|[E][1][(D)100][H]                              Engine #1 Anti-ice Toggle OFF   (blue)

IN51:[E][2][(D)100][H]                              Engine #2 Anti-ice Toggle ON  (blue/white)
IN51|[E][2][(D)100][H]                              Engine #2 Anti-ice Toggle OFF  (blue/white)

IN52:[E][3][(D)100][H]                              Engine #3 Anti-ice Toggle ON  (brown)
IN52|[E][3][(D)100][H]                              Engine #3 Anti-ice Toggle OFF  (brown)

IN53:[E][4][(D)100][H]                              Engine #4 Anti-ice Toggle ON  (brown/white)
IN53|[E][4][(D)100][H]                              Engine #4 Anti-ice Toggle OFF  (brown/white)



best,

...................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #7 - May 10th, 2007 at 7:06am

JSpahn   Offline
Colonel
Im too sexy for my hair
Philadelphia,PA

Gender: male
Posts: 1808
*****
 
Those Haggy boards look pretty easy to program and looking at your overhead they look well worth it. A bit high on the price scale though. If I build one panel at a time and use the joystick options in fsxpand I might be able to get away with one.

A newbie question John, do you use the default keystrokes in FS9? Or did you need to edit it?
 

...
IP Logged
 
Reply #8 - May 10th, 2007 at 8:17am
Jayhawk Jake   Ex Member

 
Seriously John, when are you gonna throw a party so we can all fly this thing?  Impressive work!!!
 
IP Logged
 
Reply #9 - May 10th, 2007 at 9:15am

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
JSpahn wrote on May 10th, 2007 at 7:06am:
Those Haggy boards look pretty easy to program and looking at your overhead they look well worth it. A bit high on the price scale though. If I build one panel at a time and use the joystick options in fsxpand I might be able to get away with one.

A newbie question John, do you use the default keystrokes in FS9? Or did you need to edit it?


masternerd,

I feel the price is a good value for the money on the KE72.  They are SO versatile and SO "bulletproof" (never had to tweek, fuss, play with, reaserch, or anything with them). 

I started things off by canabalizing gamepads and joysticks... and came to the conclusion that approach resulted in WAY too much time spent on getting things active and WAY too many mechanical and electrical places for stuff to go WRONG!  I still will use some hacked joystick stuiff....... like for the rudder trim panel...... but it will be a minor component of the pit... not the major source.  If you look at he overhead alone.... you can figure out how many hacked units it would take,........ and what they would actually COST.  No... the hagstrom card is CHEAP.  Wink


As to keystrokes........ not a simple answer.   Shocked

If you go into "Settings" in fs2004, you'll see that there are a LOT of things that are not assigned keystrokes by default but are available to control separately.  For the things that ARE listed there, it is a simple matter of deciding which key combinations to assign (which is an exercise in keeping track of information), and then assigning it right there.  Not too difficult.

Unfortunately, for stuff that it NOT listed there........ it is a little more "circumspect".   You will have to first delve into the "magic" of a CRUCIAL payware program called FSUIPC by Peter Dowson.  In fact, if you don't yet have that program as well as his WideFS program..... just go and buy them (links in the Cockpit Resources sticky at the top of the forum section).  Bought as a pair there is a discount, I think.

The "mysteries" of FSUIPC are the KEY to cockpit building!

Start off by READING the HUGE manual..... that is full of programmer-speak type stuff.  You won't learn that one overnight!   Wink  It takes HOURS of study to find out what is POSSIBLE, and then more hours to figure out how to DO it.

Many simulator functions are controlable, but you have to know what they are, where to find them, and how to get info in and out of the program.  FSUIPC's job is to interface between you and the sim.  There are things called "offsets" that have values in them (all hexadecimal stuff here!).  Some cane be read, some can be written.

EXAMPLE

Let's say you find that the value at location 0D46 is what controls the high pressure fuel valve on engine 1.  The values here are either a "1" for "on" or a "0" for off.  So... first of all you wire up a panel switch for the valve on engine one and hook it to an input on the Hagstrom KE72 card.  You then go into the Hagstrom card config file and assign a keypress for that switch, for both make and for break.   In this section you need to send two different keystrokes... not the same one .... since the value at 0D46 is going to be changed differently depending on the state of the switch.  You find unused key combinations (and it can be a macro) and assign them.

Great... now when the switch is thrown, the Hagstrom sends some keys to the sime in the computer.  But at the moment they do NOTHING!

Now you go into the FSUIPC interface in the sim.  It is a module that resides within the Modules folder, and has a pull down menu on the menu bar in the sim when you press "Alt".  In it, there is a function that allows you to assign keystrokes to changes it will make at specific offsets.  In this case, you need the keypresses to send a "1" when the switch is "on, and a "0" when it is off.  SO .......you assign the one sent keypress to place a value of "0" in the offset, and the other keypress to place a value of "1" there. 

Done.   Wink  Flip the switch and turn on and off the valve.


Hope that explains it well enough.

best,

...................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #10 - May 10th, 2007 at 9:16am

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
Jayhawk Jake wrote on May 10th, 2007 at 8:17am:
 Impressive work!!!


Thanks!   Smiley
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #11 - May 10th, 2007 at 9:30am

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
beaky wrote on May 9th, 2007 at 10:18pm:
Do yourself a favor and get some heat-shrink tubing!!  Angry


Sorry..........  Cool

best,

..................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #12 - May 17th, 2007 at 2:02am

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
On to part 33.
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #13 - May 17th, 2007 at 6:34pm

JSpahn   Offline
Colonel
Im too sexy for my hair
Philadelphia,PA

Gender: male
Posts: 1808
*****
 
Thanks for the basic startup info on FSUIPC. Been had a copy and I wasnt aware that is how things are programmed. The Haggy does seem like a better alternative now that you put it that way. I can imagine trying to stuff different joystick controllers into a pit and what a mess it would be. Also if for some reason your haggy burns up its a matter of quick replacement.

John...









 

...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print