Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 
Send Topic Print
Toggle Switch Question (Read 1703 times)
Jun 18th, 2008 at 3:11pm

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
I found some old toggle switches in my pile of hardware, but I'm not sure if they can be used with a computer. They're just plain old toggle switches with contact points for wires. Here's a picture similar to them:

http://www.northerntool.com/images/product/images/332678_lg.jpg
 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Reply #1 - Jun 18th, 2008 at 3:17pm

Fozzer   Offline
Colonel
An elderly FS 2004 addict!
Hereford. England. EGBS.

Posts: 24861
*****
 
I use them to switch my off brain every now and again, load Microsoft Flight Simulator up, and pretend I am flying a real aeroplane...

Its called a Virtual Reality Switch... Smiley...!

Paul...G-BPLF... Grin... Grin... Grin...!

Electrician Extraordinaire!... Cool...!
 

Dell Dimension 5000 BTX Tower. Win7 Home Edition, 32 Bit. Intel Pentium 4, dual 2.8 GHz. 2.5GB RAM, nVidia GF 9500GT 1GB. SATA 500GB + 80GB. Philips 17" LCD Monitor. Micronet ADSL Modem only. Saitek Cyborg Evo Force. FS 2004 + FSX. Briggs and Stratton Petrol Lawn Mower...Motor Bikes. Gas Cooker... and lots of musical instruments!.... ...!
Yamaha MO6,MM6,DX7,DX11,DX21,DX100,MK100,EMT10,PSR400,PSS780,Roland GW-8L v2,TR505,Casio MT-205,Korg CX3v2 dual manual,+ Leslie 760,M-Audio Prokeys88,KeyRig,Cubase,Keyfax4,Guitars,Orchestral,Baroque,Renaissance,Medieval Instruments.
IP Logged
 
Reply #2 - Jun 18th, 2008 at 3:18pm

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
Not exactaly the answer I was looking for...
 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Reply #3 - Jun 18th, 2008 at 3:27pm

Fozzer   Offline
Colonel
An elderly FS 2004 addict!
Hereford. England. EGBS.

Posts: 24861
*****
 
CaptainXion wrote on Jun 18th, 2008 at 3:18pm:
Not exactaly the answer I was looking for...


Humour is the spice of life...

...trust me.... Wink...!

Paul...G-BPLF... Cool...!
 

Dell Dimension 5000 BTX Tower. Win7 Home Edition, 32 Bit. Intel Pentium 4, dual 2.8 GHz. 2.5GB RAM, nVidia GF 9500GT 1GB. SATA 500GB + 80GB. Philips 17" LCD Monitor. Micronet ADSL Modem only. Saitek Cyborg Evo Force. FS 2004 + FSX. Briggs and Stratton Petrol Lawn Mower...Motor Bikes. Gas Cooker... and lots of musical instruments!.... ...!
Yamaha MO6,MM6,DX7,DX11,DX21,DX100,MK100,EMT10,PSR400,PSS780,Roland GW-8L v2,TR505,Casio MT-205,Korg CX3v2 dual manual,+ Leslie 760,M-Audio Prokeys88,KeyRig,Cubase,Keyfax4,Guitars,Orchestral,Baroque,Renaissance,Medieval Instruments.
IP Logged
 
Reply #4 - Jun 18th, 2008 at 3:39pm

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

Gender: male
Posts: 1808
*****
 
Those toggles will work but you need to interface them with a keyboard controller like a Hagstrom KE72. so there is a bit more involved then switches.

And take it from Fozzer, never lose your humor Wink I make sure and get a good laugh in every day.

P.S. Im glad to hear you have a switch , I don't think this guy does or is defective:

...

 

...
IP Logged
 
Reply #5 - Jun 18th, 2008 at 6:48pm

npbosch   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 27
*****
 
you could also use these devices:
http://www.leobodnar.com/products/BU0836/

Is ia  USB joystick controllercard and can accept 32 switches and 8 potmeters. You can connect the switches you showed in your link to this device. I have 3 of these cards and they work great.

Regards
Norbert
 
IP Logged
 
Reply #6 - Jun 18th, 2008 at 7:09pm

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

Gender: male
Posts: 1808
*****
 
npbosch wrote on Jun 18th, 2008 at 6:48pm:
you could also use these devices:
http://www.leobodnar.com/products/BU0836/

Is ia  USB joystick controllercard and can accept 32 switches and 8 potmeters. You can connect the switches you showed in your link to this device. I have 3 of these cards and they work great.

Regards
Norbert


But Im pretty certain you need to hook up a relay circuit in order to keep constant pulses from polling on the sim.
 

...
IP Logged
 
Reply #7 - Jun 18th, 2008 at 7:29pm

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
That Hagstrom thing requires a PS/2 port open, and I still want to have my mouse and keyboard plugged in. Where can I get an adapter to split one of the ports?
 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Reply #8 - Jun 18th, 2008 at 9:16pm

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

Gender: male
Posts: 14187
*****
 
CaptainXion wrote on Jun 18th, 2008 at 7:29pm:
That Hagstrom thing requires a PS/2 port open, and I still want to have my mouse and keyboard plugged in. Where can I get an adapter to split one of the ports?


Look again- Hagstrom makes USB devices.

http://www.hagstromelectronics.com/
 

...
IP Logged
 
Reply #9 - Jun 19th, 2008 at 3:19pm

npbosch   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 27
*****
 
Quote:
But Im pretty certain you need to hook up a relay circuit in order to keep constant pulses from polling on the sim.


No, thats not necessary. FSUIPC takes care of that.

Norbert
 
IP Logged
 
Reply #10 - Jun 19th, 2008 at 4:18pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
FSUIPC can stop the signal being sent to the sim... but it can't stop the constant pulse in hardware.

Most hardware designed for simpit use has the ability to manage the hardware end (like the Hagstrom boards), even a lot on non-specific stuff can deal with it internally. The BU0836 is one notable piece of hardware that will not interrupt the constant input of a toggle switch

The problem arises if you let the computer see the constant input, this eats cpu cycles and can affect framerates. Dealing with the problem in software only stops the signal from affecting the sim... does nothing about what it's doing to the input lines on the computer.
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #11 - Jun 19th, 2008 at 6:09pm

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
I was looking into that Hagstrom USB device and.....$170.00?!?! Is there a cheaper alternative?
 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Reply #12 - Jun 19th, 2008 at 6:32pm

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

Gender: male
Posts: 14187
*****
 
CaptainXion wrote on Jun 19th, 2008 at 6:09pm:
I was looking into that Hagstrom USB device and.....$170.00?!?! Is there a cheaper alternative?

For 108 switches or buttons, joystick axes, trackball input, and rotary switches? I'm not sure...Grin
It's more than I needed, but it has more than enough button inputs, I needed a few more pot inputs, and there'll be room to expand a little. I thought of Leo's units, which eliminate the latching command problem, but needed more channels without spending a lot more, ultimately...and in my case, the latching-command thing may not be a problem.

To overcome the CPU clogging possible with several latching toggles, I plan to toss some of the (free) rotary switches I had planned for gear switch, flaps, fuel selectors, etc. and go back to my idea of making simple mechanisms that will trip momentary buttons (I got a bag of 100 of them for less than 50 cents each). A little fab work there, but it'll be easy, and not much more trouble than working with the rotary switches, in terms of mounting them, etc.

I have so much labor to do on this 'pit in general that I've been trying to minimize the electronics tinkering. I don't mind paying a little to save time and labor here and there.
I work with electronics a lot, but as a fabricator, I'm better with structural and mechanical stuff, and I can work pretty quickly on that stuff.


If the remaining toggles (master, lights, etc) cause a problem, I will then look into adding isolators.
 

...
IP Logged
 
Reply #13 - Jun 19th, 2008 at 6:57pm

nemesis19   Offline
Colonel
BAe146-3OO G-JEBG FlyBe
LFBV

Posts: 26
*****
 
Yeah,

have a look at OpenCockpits they're cheaper than Hagstrom and if programmed through SIOC the continuous pulse from the switch poses no problems

Regards
............Adrian W
 
IP Logged
 
Reply #14 - Jun 20th, 2008 at 10:43am

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
I'll look into that. All I need is a USB device that will let the system recognize and respond to the changes in the state of the switch.

EDIT:

I just looked at the OpenCockpits website and realized that I have no idea what I am looking for. I am completley new to this, and have no idea what any of the components are called. Can somebody tell me what exactly they call this:

"...A USB device that will let the system recognize and respond to the changes in the state of the [toggle] switch."
 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Reply #15 - Jun 20th, 2008 at 1:16pm

nemesis19   Offline
Colonel
BAe146-3OO G-JEBG FlyBe
LFBV

Posts: 26
*****
 
Hi,

It depends on how far you want to go, or intend to go, in the future.

With OpenCockpits it's modular, so if you just want to stay with a few switches then USBKeys may be your answer, if on the otherhand you intend to gradually build a full sim then it might be worth going for the USBExpansion/Mastercard option, and slowly add to that.

Have a read of what each card does, to get an idea  of how far you want to go. With the Mastercard option you can add other cards to it that can give you inputs, outputs, relays or 7seg LED drivers, the options are endless, and all can be configured through the program SIOC which is free.

Regards,
.............Adrian W.
 
IP Logged
 
Reply #16 - Jun 20th, 2008 at 5:16pm

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
Ha! Gave me a good chuckle. Unless I grow up one day and have the money and time to build a full fledged enclosed cockpit, I'll stick with my joystick and headset. I just thought I could find a use for some spare hardware. So yeah, I'll check out those USBKeys. Thanks for all the support you guys!

EDIT:

I checked out those USBKeys and they look reasonable. What is the difference between the three products on the page I linked to below? I realize they are missing different components, but what do each of the components do and which is the best for my needs?

http://www.opencockpits.com/catalog/electronic-cards-iocards-keyboard-emulator-c...
 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Reply #17 - Jun 25th, 2008 at 2:16pm

nemesis19   Offline
Colonel
BAe146-3OO G-JEBG FlyBe
LFBV

Posts: 26
*****
 
Hi,
the first one is the kit, they supply you with the PCB, all the parts and you build it.

The second one is the fully made up card, just plug 'n' play.

And the last one is just the PCB for those people who wish to completely build their own interface.

Unless you have experience in soldering, I would suggest the second option, as it comes completely built and tested, for just a few Euros/Bucks more than the kit version.

Regards
............Adrian W.
 
IP Logged
 
Reply #18 - Jun 25th, 2008 at 3:21pm

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
I have no experience with soldering, so I guess I'll get the second option, like you suggested. Thanks for all the help!
 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Reply #19 - Jun 25th, 2008 at 10:35pm

nemesis19   Offline
Colonel
BAe146-3OO G-JEBG FlyBe
LFBV

Posts: 26
*****
 
No worries,

don't forget, most of OC's stuff is modular, so you can always add a bit more later, so once you've got a few switches hooked up you'll soon be looking to add a display or two, or throttle quadrant, radio panels, autopilot, FMC, transponder, overhead ................ Oh dear oh dear,  this list is endless.

You'll be back........  Grin

regards
..............Adrian W.
 
IP Logged
 
Reply #20 - Jun 28th, 2008 at 11:53am

CaptainXion   Offline
Colonel
For the love of God please
read my signature!!!!!!

Gender: male
Posts: 49
*****
 
I have that feeling too, but only after I ditch this computer. Why, you ask? My specs:

HP Pavilion
AMD Sempron Processor 3200+ 1.80 GHz
446 MB RAM
NVidia GeForce 6150 LE 256 MB

But to help compensate for that, I have a 25 GB paging file! And just found another 30 GB  hard drive to add to that.

 

I'm getting a free Alienware Area-51 M17X Laptop (See my Avatar). But I need your help. If you help me, you can get a free laptop, too! So visit http://www.freearea51.com/?referral=1q8hbl8
IP Logged
 
Pages: 1 
Send Topic Print