![]() |
Quote:
Was almost on the money, not a bad estimate. Now I need to somehow get the warthog system inside the KG13 :D |
So after a good deal of head scratching and a fantastic suggestion from Sokol1 I think I know what has to be done...
Due to the need for the Warthogs stick to remain attached in order to be registered by windows I will not be stripping out the warthog stick instead I will be tricking windows into thinking the KG13 is a USB Ps3 Controller or keyboard :D To do this I need a USB board and the Teensy look like it will do the job :D http://www.pjrc.com/teensy/ The dimensions are 1.2" by 0.7" So, the Teensy will fit in the box that previously housed the 8 pin din connector :grin:. http://s5.postimage.org/4wmdphign/IMG_0116.jpg http://s5.postimage.org/8vo6m1whj/IMG_0122.jpg http://s5.postimage.org/6sdredwon/IMG_0123.jpg Now I just need to understand what each wire controls and rewire them to the teensy.. at least I hope its that easy. The warthog stick itself will be connected to the base but stowed in a box I am going to make. The last thing I need is a connector from Mentalnwood's warthog extension to the KG13 which I can hopefully get manufactured locally. Like I said before... now I need to figure out how to wire it correctly, the next and probably last hurdle. I hope its just a case of soldering the wire to the board but I am not certain. |
I received and tested the teensy board today, it works.
Now I need to understand which wires should go where :( |
So after some help from C6_trollbug I now have the wires setup correctly... unfortunately they are reversed i.e. rather than turning on when i press a button they turn off :(
Here is the code I am using... void setup() { pinMode(0, INPUT_PULLUP); pinMode(1, INPUT_PULLUP); pinMode(2, INPUT_PULLUP); pinMode(3, INPUT_PULLUP); } void loop() { // read the digital inputs and set the buttons Joystick.button(1, digitalRead(0)); Joystick.button(2, digitalRead(1)); Joystick.button(3, digitalRead(2)); Joystick.button(4, digitalRead(3)); // a brief delay, so this runs 20 times per second delay(50); } |
Sorted :)
void setup() { pinMode(0, INPUT_PULLUP); pinMode(1, INPUT_PULLUP); pinMode(2, INPUT_PULLUP); pinMode(3, INPUT_PULLUP); } void loop() { // read the digital inputs and set the buttons Joystick.button(1, digitalRead(0) == LOW); Joystick.button(2, digitalRead(1) == LOW); Joystick.button(3, digitalRead(2) == LOW); Joystick.button(4, digitalRead(3) == LOW); // a brief delay, so this runs 20 times per second delay(50); } |
Almost finished.....
So the first thing I did was purchase Metalnwoods amazing Warthog extender http://simhq.com/forum/ubbthreads.ph...3184593/1.html Then went about thinking of how to position it and get it positioned at the right height and was shown this cheap effective design from Paradaz :D http://simhq.com/forum/ubbthreads.ph...3377271/1.html So thanks to Paradaz and Metalnwood I now have a brilliant centre mounted warthog which I will be converting to a KG13 in a few weeks :goofy: Today I tested the centre mount and I am VERY VERY happy its fantastic, so much more control its precise and hopefully will improve my terrible accuracy :thumbsup: Anyway that's enough from me here are some pics... http://s5.postimage.org/focqn5sfr/IMG_0143.jpg http://s5.postimage.org/vb400j67r/IMG_0144.jpg http://s5.postimage.org/57s17341j/IMG_0135.jpg http://s5.postimage.org/nbv1rq1pz/IMG_0137.jpg http://s5.postimage.org/6cm3cgqif/IMG_0138.jpg http://s5.postimage.org/8vcdqw1mf/IMG_0139.jpg http://s5.postimage.org/5d0dui0qf/IMG_0140.jpg Sorry for the terrible quality. |
Looks fantastic mate!
|
|
That really cool! :)
|
Quote:
|
| All times are GMT. The time now is 01:19 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.