could I simply use a hacked keyboard to connect flight sim pictures
kue
Posts: 16
hi,
if i wanted to quickly attach some switches to a flioght sim could i use a hacked up keyboard?
if i can what type of switch would simulate a single press on then off ?
thx.
if i wanted to quickly attach some switches to a flioght sim could i use a hacked up keyboard?
if i can what type of switch would simulate a single press on then off ?
thx.
Comments
I have in many years ago re rigged a IBM 104 key to use NO pushbottons . as it was not a membrane but a Real ALPS based swith Keyboard ..
Peter...
As for "typing" keyboards, many of these now have plastic sheets on the inside. You could not solder anything to any of the connections.
Better would be an answering machine phone and the keyboard on that. Many of these have printed circuit boards and you could cut the traces and solder wires on.
You can get either from a second hand store for quite cheap.
These have "matrixes" of connections like the following...
Yes, you can use a hacked keyboard, especially to start since things may go wrong.
You'll need to get the pinouts for the keys by pressing the key on the membrane and seeing what pins are shorted where the membrane attaches to the printed circuit board inside the keyboard. Once you have that setup you can solder wires to those pins, route the wires out of the keyboard through a hole you drill and solder them to momentary push buttons. Or you can just remove the circuit from the keyboard and make something a lot smaller.
The type of switch you'd use for a single key stroke is a momentary toggle switch, or a momentary push button. If it isn't momentary it will hold the key down instead of pressing it once.
1. www.ultimarc.com has keyboard encoders with built in switch debouncing and are often used for arcade machine cabinets (a bit pricey though). These are USB based and there is a large variety available. They are a UK company. In the US, you can buy the KeyWiz from groovygamegear.com which is a PS/2 interface device.
2. Hack a keyboard (cheap and easy)
3. Some microcontrollers are sold that have USB interface capability and can be programmed to do lots of things including act as a keyboard. Currently sparkfun has an arduino-mini that includes a library for all kinds of usb interfaces (there is a keyboard project online) The advantage of this approach is that you can make all kinds of custom game interfaces for analog controls too - which is good for complex things like flight sims.
4. Use your own microcontroller and emulate a ps/2 keyboard - the protocol isn't that super hard
5. Use a "serial to keyboard" redirector program and have your microcontroller hooked to switches and send serial commands to a port on your machine. The flight sim will think keys are being pressed.
Good luck with your project and do let us know what approach you end up choosing. (perhaps even one not listed here)