Close
0%
0%

Ksp Control Center

A joystick and keyboard combo for playing Kerbal Space Program

Similar projects worth following
Controlled by one Arduino Leonardo, an Arduino Mega2560 and a 42-button matrix this is a joystick/keyboard-combo for playing Squads game Kerbal Space Program. It will have at least three SPI-controlled, 7-segment LED-displays, more LEDs and some analouge gauges coming soon.

Rudimentary display of data works, most of the keypresses works as well. I still need to write a few formatting-functions for the data and make an actual case for the thing. 

The keyboard/control part is just a 6x7-matrix read via the Keypad library.

It gets its data from KSP via a plugin called TeleMachus, which is written by Richard Bunt.

Telemachus publishes some data via http-sockets, I've written a small and very ugly pythonprogram which formats the data and sends it to the Arduino listening on the serial port

  • 1 × Arduino Leonardo Used to act as a keyboard/mouse
  • 2 × Perfboard Used for the matrix and for mounting indicator LEDs and SPI-displays
  • 2 × Analouge joysticks One for RCS and one for steering
  • 10 × Relegendable buttons Used for the action groups
  • 2 × 8 digit, 7-segment, SPI-controlled LED displays

View all 6 components

  • More displays, switches and stuff

    Gabriel F05/08/2014 at 20:04 0 comments

    I still have some "kinks" to work out, but it's working quite ok... unless the number is bigger than a 32-bit integer of course :)

  • MOAR DISPLAYS

    Gabriel F04/18/2014 at 23:41 0 comments

    Added one more display and rewrote some of the functions to be a bit more clever, also added support for decimal places.Sorry for the horrific picture quality, Nexus 5 potato and it's 01:40 so the lighting isn't awesome.

  • Rudementary frame

    Gabriel F04/18/2014 at 12:49 1 comment

    I've built a rudementary frame from Meccano and a piece of flooring for testing with some of the displays... it looks like crap:

    Sorry for the phone quality.

    LED Displays; the lower displays speed, the upper one is altitude in meters. The analouge meter is displaying battery charge.

    The buttons are hooked up to various things like SAS, RCS and so on. Some of these will have lighting when activated and some will be toggle switches on the finished build.

  • Ingame data displays

    Gabriel F03/08/2014 at 20:57 0 comments

    I managed to get my altitude to display by using a pythonprogram(https://github.com/dunz0r/KCC/blob/master/Display/printToSerial.py) which reads data published via an http-socket from the awesome KSP-plugin by Richard Bunt called Telemachus(https://github.com/richardbunt/Telemachus).

    The program's fairly ugly at the moment, but it will become more polished as I go along.

    Below is a video showing the altitude on the display

  • Showing actual numbers on the display

    Gabriel F02/27/2014 at 14:29 0 comments

    Got sexy numbers counting up/down today on the display. The function isn't horrible effective I suspect, but it'll do for now.

    Counter <- Video

    Code here:

    https://github.com/dunz0r/KCC/commit/05e66d43d1abbe1c81eeb4ba953324d010d8a445

  • Display testing

    Gabriel F02/23/2014 at 15:17 0 comments

    Display connected via SPI and seems to be working fine. The display is using a MAX7219 and was bought for cheap over at http://dx.com.

    Need to add prefix display and a function to display an integer instead of having to adress every segment by itself, like I'm doing now.

  • First test

    Gabriel F02/23/2014 at 14:26 0 comments

    I've made a first test with the matrix and buttons, everything seems to be working, might need some hardware debouncing on the toggle switches though.​

View all 7 project logs

Enjoy this project?

Share

Discussions

Gavin169 wrote 03/24/2014 at 19:45 point
also what is that joystick?

  Are you sure? yes | no

Gabriel F wrote 05/08/2014 at 20:05 point
That joystick is from a video-console I think, found it in the trash :D

  Are you sure? yes | no

lawnmowerlatte wrote 12/23/2014 at 19:40 point

You can get one here:

http://www.superdroidrobots.com/shop/item.aspx/analog-3-axis-joystick/1263/

or here:

http://www.amazon.com/YUEQING-OMTER-ELECTRONIC-TECHNOLOGY-OM300B-M2/dp/B00CS6O3SY/ref=sr_1_2?ie=UTF8&qid=1419363572&sr=8-2&keywords=superdroid+robotic+joystick

I got the 4 axis one (3 axis + button) one.

  Are you sure? yes | no

Gavin169 wrote 03/24/2014 at 19:38 point
Hi there, Gabriel. I like your project, seems like you have similar goals in mind as to what you want out of it please check it out and tell me what you think

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates