Skip to content

Using an ESP8266 and Telemachus to create a WiFi Kerbal controller

License

Notifications You must be signed in to change notification settings

nathangray/KSP-ESP8266

Repository files navigation

KSP-ESP8266

Using an ESP8266 and Telemachus to create a WiFi Kerbal controller. I'm mostly focussing on buttons here, since tablets work great for display.

![fritzing circuit](2015-12-23 15.25.47.jpg)

Dependencies

Getting Started

  1. Start with KSP and Telemachus, make sure they work.
  2. Get yourself a devkit
  3. Install Arduino core, and make sure you can program the ESP8266 using the simple examples that come with it.
  4. Wire it up ![fritzing circuit](Simple circuit.png)
  5. Take this project & upload it. You can just use the compiled binary if you do not feel like messing around with dependencies.

Use

If it is not on your WiFi, it will create its own. Connect to it, and set your WiFi details. Then it will join your WiFi network. Connect to the ESP8266 using your browser and specify the target IP in the form. It takes 5-10 seconds from power on to connection.

This example uses a button between ground and GPIO5 (Pin 1) which will stage, and a potentiometer on A0 which controls the throttle. The blue LED (Pin 2) will be on when connected to Telemachus.

Enable DEBUG to get status messages over the serial connection

It probably depends on your computer, but for me the lag is almost a second.

About

Using an ESP8266 and Telemachus to create a WiFi Kerbal controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages