Skip to content

DamonStamper/ArduinoController_KSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

To create a hardware controller capable of controlling Kerbal Space Program.

Requirements

Hardware for controller (I plan to post BOM and a schematic) Arduino drivers for your OS

KRPC 0.4.8 (game mod) kRPC 0.4.8 (Arduino library)

Gotchas!

Configuring the KSP kRPC in-game for SerialIO

  1. Switch the in-game server to SerialIO not TCP! Per https://www.reddit.com/r/krpc/comments/9lviup/krpc_not_connecting_with_arduino/e7aok6d?utm_source=share&utm_medium=web2x
  2. You may need to specify a different COM port.

The below is to be done every time you start Kerbal Space Program

  1. Ensure the Ardino controller is plugged in.

Arduino IDE "avrdude: ser_open(): can't open device "\.\COMx": Access is denied."

You can't have the kRPC server running at the same time as having the Arduino IDE uploading the sketch. Thus to correct this stop the server in KSP, upload the sketch via the Arduino IDE, then start the server in KSP for testing.

#Process of building up to making your own controller I started with sketches from https://raw.githubusercontent.com/cardy64/ksp-controller/master/ksp-controller.ino.

Stages of confirming functionality

  1. Can it connect?
  2. Can it send commands, on start?
  3. Can it send commands, via button?
    • Requires a momentary push button.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages