Forums » Technology » Pit Builders » Basic toggle switch question... and LED control.


Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:
#3260587 - 04/05/11 09:26 AM Basic toggle switch question... and LED control.
iam73 Offline
Member

Registered: 03/03/08
Posts: 147
Hi guys,

2 questions:

One, began planning/sketching/CADing my hornet semi-scale cockpit and currently looking at electronic/components.
I'm on mouser.com and was wondering something regarding toggle switches.

What type is actually best for 2-pos / 3-pos switches? Is it safe to assume I should go with on-on / on-on-on switches, since I want a different keystroke for each position?
Example: The HUD brightness switch. It's a 2-way toggle to switch between "Day" and "Night", so do I use an on-on switch? Or should it be an on-off switch and the keystroke is determined by the software (on keypress/on release) ?

Same goes for 3-way, Example, HUD Reject switch, I guess I want a 3-way on-on-on right?

I'm planning to use either a BU0836X or an I-PAC4 board... more tempted by the I-PAC since a lot more inputs are possible with their shifted mode.

My other question is regarding LED control. What kind of board/electronic do I need to control LEDs in my cockpit, for example, if I want a working annunciator panel, master caution, FIRE etc...? And I guess I have to do some programming to catch the event somewhere, is that done thru FSUIPC?

For sure the LED part is for a later phase in my design, I'm starting with basic/most often used switches first, and will add more with time.

Thanks for the tips!


Thanks!

Top
#3260753 - 04/05/11 11:23 AM Re: Basic toggle switch question... and LED control. [Re: iam73]
AndyB Offline
Member

Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
Hi,
I can only give you what I've found out from building my own pit.

1. Switch selection will be determined by the input controller you use for them. I used an Opencockpits card which needed momentary action switches, so that's what I've got. If your controller can use straight toggle switches then that would be better and more realistic. The question that I asked myself was "When the program starts up does it know which position the switch is in ?" i.e If you crash and the landing gear lever was in the up position, would the program know the next time, or would it assume it's in the down position. Thats another reason I used momentary action switches.

2. I'd recommend a look at the outputs board from Opencockpits (no, I don't get a commission). I think it has 64 outputs and their stuff was designed to work with FS. They're at http://www.opencockpits.com/

Hope this helps you decide.

Cheers,

Andy
_________________________
Andy's simpit: http://www.simpit.me.uk

Top
#3260768 - 04/05/11 11:31 AM Re: Basic toggle switch question... and LED control. [Re: AndyB]
iam73 Offline
Member

Registered: 03/03/08
Posts: 147
Originally Posted By: AndyB
The question that I asked myself was "When the program starts up does it know which position the switch is in ?" i.e If you crash and the landing gear lever was in the up position, would the program know the next time, or would it assume it's in the down position.


VERY GOOD POINT!

I was actually considering this! Using "real" toggle switches would require to "reset" the pit almost on every flight.... could be a hassle, although the Superbug "remembers" almost all switches after a flight ends/crash, not a problem for the Superbug, but could be a problem for other aircraft/sim.

FWIW, both the bu0836x and the i-pac support non-momentary toggles.

Thanks for the tip on opencockpit, I'll have a look!


Edited by iam73 (04/05/11 11:32 AM)

Top
#3261711 - 04/06/11 07:34 AM Re: Basic toggle switch question... and LED control. [Re: iam73]
J.A.K. Offline
Member

Registered: 09/17/05
Posts: 149
Loc: The Netherlands
Originally Posted By: iam73
[quote=AndyB]

FWIW, both the bu0836x and the i-pac support non-momentary toggles.



Are you shure that the BU0836 can use non-momentary switches? Wont you get a constant signal? What I read about the i-pac, that that one supports only 6 switches or something. Thats to little for my needs..... I'm still looking at a product that's cheap, simple and supports "real" toggle switches(non-momentary). And has a whole bunch of inputs off coarse wink
Sorry for the hi-jack!

Top
#3261743 - 04/06/11 07:52 AM Re: Basic toggle switch question... and LED control. [Re: iam73]
PropNut Offline
Member

Registered: 06/25/09
Posts: 580
Loc: Coral, Michigan
Hey JAK, I use two BU0836X's, to get a toggle to not show up as a constant signal I use a program called SVMapper. It will two a signal to the game just as if it were a momentary switch, and then it will show another momentary signal when you flip the toggle off. So you can have gear up with toggle up and gear down with toggle down. There are several programs like this around. SVMapper only allows the use of two devices but others can use as many as you wish. With my two Bodnar boards I have 80 switches (I use the hat inputs to get four more switches over the 36 normal ones) and 16 axis'.
_________________________
Intel Core i7-3930K Sandy Bridge
ASUS P9X79 Mother Board
Nvidia GTX680
CoolerPower 750w Quad PSU
Corsair 32GB RAM
1TB Samsung HD
Custom built Steampunked cherry and brass case:
http://www.overclock.net/case-mod-work-logs/468160-project-serenity-another-wooden-case.html
Windows 7 64-bit
Two 22" Acer 1080P Monitors
30" Dell U3011 2650x1600 Monitor

Top
#3262385 - 04/06/11 08:45 PM Re: Basic toggle switch question... and LED control. [Re: iam73]
tityus Offline
Junior Member

Registered: 02/18/11
Posts: 22
Loc: SP - Brazil
I was also considering the BU0836X for my pit, but after 3 failed attempts to get an answer if Leo Bodnar would ship it to Brazil. I assumed he could be retired or not producing the boards anymore.

Does anyone know if he's still active?

back to topic...
Well JAK, similar to PropNut my idea was to use the BU0836X for interface and the XPadder for converting the JoyButtons to KeyPresses

té mais
tityus

Top
#3262512 - 04/07/11 01:11 AM Re: Basic toggle switch question... and LED control. [Re: iam73]
J.A.K. Offline
Member

Registered: 09/17/05
Posts: 149
Loc: The Netherlands
AHAAAA!!! Thanks for the headup guys!!! For some years now I have a BU0836 laying around somewhere, but always thought switches where a no go with that interface. Have an evil plan in my head, making a basic lockon setup with two side consoles. And alway hated the idea of using buttons.
Tityus; I read so much about Leo Bodnar lack of communication, but the guy delivers!! Maybe Sokol1 has more answers about getting a board to Brasil(I thought he also has a BU0836)

Top
#3262802 - 04/07/11 06:41 AM Re: Basic toggle switch question... and LED control. [Re: iam73]
Sokol1 Offline
Member

Registered: 11/17/01
Posts: 755
Loc: Internet
Quote:
Tityus; I read so much about Leo Bodnar lack of communication, but the guy delivers!! Maybe Sokol1 has more answers about getting a board to Brasil(I thought he also has a BU0836)


JAK, thanks to remember. smile

Tityus,

Saudações from Uberaba-MG. wink

Just put the order in L.Bodnar page, in ~one week the board arrive at you address.
I allready got three BU, and know more people from Brasil that buy from him.

In Brasil you have a local made alternative, for similar cost: www.usbinterface.com.br
Notice that this board is intended for Flight Simulator fans, so he priorise encoder user, show in Windows 16 buttons and 8 encoders (plus HAT and 8 axis)
But have 64 imputs - inputs upper than 32 need keymapper, like freeware SVMapper of Joy to Key, or payware Xpader.

Or, if you are adept of DIY, you can build a Mjoy8 or 16, or Joy.01 controller with ~U$25.

Sokol1


Edited by Sokol1 (04/07/11 06:45 AM)

Top
#3263163 - 04/07/11 12:35 PM Re: Basic toggle switch question... and LED control. [Re: iam73]
AggressorBLUE Offline
Member

Registered: 12/15/09
Posts: 1315
Loc: South East PA
Leo is still very much alive and working. I ordered a board from him last Friday, and it shipped this past Wednesday. Assuming ones country doesn't have a trade embargo against the UK, I'm sure he'll ship to you.
_________________________
My Rig:AMD Phenom X4 955 Black Edition OCed@3.8 GHz/GIGABYTE GA-890FXA-UD5 AM3 AMD 890FX Mobo\ MSi AMD 6950 2GB \ 8 Gigs of G.skills Ram\Storage: WD Black 750 GB HDD\All held together by: Coolermaster HAF 932 case

Other Assets Deployed:
HOTAS: Logitech G940 frown CH FighterStick/Pro-Throttle/Saitek Combat Rudder Pedals smile
Wheel: Fanatec 911 Turbo S w/ Playseats Racing Seat. smile



Top
#3264062 - 04/08/11 09:11 AM Re: Basic toggle switch question... and LED control. [Re: iam73]
iam73 Offline
Member

Registered: 03/03/08
Posts: 147
So, to come back to the original topic, I have decided to go ahead and use on/on, on/on/on toggles. I decided I wanted a more realistic experience and am willing to "reset" the cockpit before each if needed, although with the Superbug it's not much of an issue as most of the switches are "remembered" on each successive flights, only a few are reset, such as the seat lock.

As for controllers, since I'm on a delicate financial position lately, I've decided to wait and use the cheap keyboard hack method instead. I tested and evaluated a bunch of macro softwares for this setup, but none do everything I want so I've started writing my own interface software, which will be coded specifically for keyboard-hacks and support all the array of switches I'll need in my pit.

I might distribute it if anyone is interested, when it's good enough.


I'm still looking for how to convert sim events in LED lighting, guessing a need a special controller card for this, if anyone knows anything about that, please let me know.


Cheers!

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


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