PDA

View Full Version : Rotary Switch for GA Starter



colt45
02-13-2009, 05:23 PM
I am playing with a 12 position, 1 pole rotary switch for a starter switch for my GA pit (its very much in its infancy). I am using the BU0836X Bodnar board for my input controller. Poles 1-5 of switch wired to B1-B5 terminals and common pole to GND terminal at B1. I have set the stop on the switch so it doesn't go beyond that position. Checked it in Windows game controller and lights 1-5 for each position on switch. So far, so good.

Into FSUIPC to program switch positions as follows

Joystick #2, Button 0 = Magneto Off when button pressed
Joystick #2, Button 1 = Magneto Right when button pressed
Joystick #2, Button 2 = Magneto Left when button pressed
Joystick #2, Button 3 = Magneto Both when button pressed
Joystick #2, Button 4 = Magneto Start when button pressed

Here is where the fun begins.

When I switch from 0 to 1, the magneto switch on the panel moves to Right but the view also cycles to the virtual cockpit. I use the S key on the keyboard to return to 2D panel view and see the position of the magneto switch.
When I switch from 1 to 2, the magneto switch on the panel moves to Left but the elevator trim wheel goes to full down.
When I switch from 2 to 3, the magneto switch on the panel moves to Both but the elevator trim wheel goes to full up.

Similar actions result when cycling the switch back to the Off position.

Any ideas on how I can get rid of these extra "commands" being sent to the sim?

Many thanks, Dave

Trevor Hale
02-13-2009, 05:29 PM
Yes.. what has happened is Flightsim saw Leo's card and automatically assigned its inputs to functions within flightsim.

goto flightsim menu joysticks and select Leo's card. Delete all assignments for it and you will be set.

Trev

colt45
02-13-2009, 05:40 PM
Trevor,

Many thanks for the quick and 100% correct answer. Yes the FS took the button commands I have for my CH yoke and assigned them to the Bodnar board. Deleted them as you said and all fixed. Awesome.

Now I need to work on interfacing the rotary switch with a key like wriley has shown. I think the trickiest part will be coming up with a spring system to return switch to both after engine is started.

Again, many thanks for the answer to my original post.

Cheers, Dave