Results 1 to 10 of 12
Thread: Wiring a switch as off/on/off
-
09-22-2012, 07:41 PM #1
- Join Date
- Sep 2012
- Location
- Dakotas
- Posts
- 7
Wiring a switch as off/on/off
I am just starting to play with building my own control panels. I have a hacked keyboard controller and I am using it as a light panel control. But the problem is that the keyboard controller gives a steady on voltage instead of a pulse. I am currently using momentary on/off/momentary on toggle switches to operate the lights.
To be more realistic, i would like to use three position toggle switches. I was thinking I can use a three position switch in which the power is applied to the center position. That way, when I move the switch from the down position (off) to the up position (on) it would pass through the center or powered position to send the pulse to the program.
Is there a switch that I can wire the center position as on and leave the other two positions off?
-
09-22-2012, 10:06 PM #2
- Join Date
- Apr 2007
- Location
- Alberta, Canada
- Posts
- 211
Re: Wiring a switch as off/on/off
What are you sing to interface your switches? If you use FSUIPC and a Bodnar board you don't need a three way switch. It sounds like a plain on off switch can be used. Why would you want the switch to go on when it passes the middle?. A Bodnar board and FSUIPC gives you so much more flexibility for different types of switches and rotary switches, well worth the few dollars they cost.
Rob
-
09-22-2012, 10:49 PM #3
- Join Date
- Sep 2012
- Location
- Dakotas
- Posts
- 7
Re: Wiring a switch as off/on/off
I am currently using a hacked keyboard PCB, so by using a on/off switch will be like holding down the key on the keyboard causing the item being turned on (I.E. lights) would cycle on and off continuously. The center on position would allow the switch to appear to be on but no voltage flowing. When the switch is turned off, it would pass through the powered center position giving it the pulse to toggle the lights off.
I am trying to stay cheap at the moment.
-
09-23-2012, 11:16 AM #4
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: Wiring a switch as off/on/off
Hello.
Centre on is not making sense to me. How could determine which of the "off" poles is "on"?
[You need FSUIPC - for this and many other purposes. Use an on-off-on switch and script FSUIPC to provide one-shot rather than continuously repeating operation.]
EDIT: Sorry...simple keyboard won't allow that. It needs some additional circuitry to provide the one-shot operation. I think there's an example on here, somewhere.
Jim.
-
10-23-2012, 06:53 PM #5
- Join Date
- Sep 2012
- Location
- Dakotas
- Posts
- 7
Re: Wiring a switch as off/on/off
I download FSUIPC and registered and it does indeed work with an on off switch and setting it to not repeat. It is just what I needed.
-
10-24-2012, 10:24 AM #6
Re: Wiring a switch as off/on/off
Sounds like you have to change your keyboard properties under the control panel. The problem is you can't turn off the Repeat Rate. The only way you can achieve single pulse is adding a capacitor to the switch.
Please correct me if I'm wrong.
-
10-24-2012, 12:41 PM #7
- Join Date
- Sep 2012
- Location
- Dakotas
- Posts
- 7
Re: Wiring a switch as off/on/off
Right after I loaded FSUIPC, I set up one of the keys to toggle the lights. I also checked the no repeat box on the key page and set it up toggle the lights again when the switch it released. it worked! When I turned the switch on, the lights came on and when I switched it off, they went off.
Before FSUIPC, turning the switch on would cause the lights to continually cycle on and off.
-
10-24-2012, 12:55 PM #8
Re: Wiring a switch as off/on/off
I'm glad that worked out for u, now I'm inspired to start hacking keyboard pcb lol.
-
10-24-2012, 07:10 PM #9
- Join Date
- Sep 2012
- Location
- Dakotas
- Posts
- 7
Re: Wiring a switch as off/on/off
Give me about a week before getting in too deep. I am still waiting on some of my switches to complete the project and be absolutly sure it 'all' works. My test was only with two or three sets of wires.
I am not sure that I saved a whole lot though. I went through a few keyboards before I was too successful, unless you are good at soldering to a PCB. Luckily, I had one and the others were donated. It would be easier to purchase a pcb board from desktop aviator (20 switches for $35). But a keyboard hack can give you a lot more switches.
I'll post again next week when i get my other switches and get it all together and tested.
-
10-25-2012, 05:13 PM #10
- Join Date
- Sep 2012
- Location
- UK Wye Valley
- Posts
- 8
Re: Wiring a switch as off/on/off
Hey bduemig, did you see my post about this very situation? My latest setup now has 21 switches and 3 indicator lights - for practically no cost. http://www.mycockpit.org/forums/cock...-two-quid.html
Good luck.