Thursday 9 October 2014

Teensy 3.1 and X-Plane 10 Hello world! Simplest communication example

Few steps how to make teensy talk to X-Plane easiest way possible.

Here are Teensy manufacturer steps to make this work, I have added some more info to make youre you wont have issues I got on the way:

Using Flight Sim Controls

When you select "Flight Sim Controls" from the Tools->USB Type menu, Teensy implements a special USB type intended to controlling flight simulator software.
A simulator plugin is used. Currently X-Plane is supported.

Download:

TeensyControls X-Plane Plugin 1.0 (32 bit only)
TeensyControls X-Plane Plugin 1.0 (32 & 64 bit, X-Plane 10.20 or greater)


Quick Installation Steps
  1. Extract the TeensyControls plugin and copy it to X-Plane's Resources/plugins folder.
  2. Install Teensyduino. Version 1.08 is the first to support Flight Sim Controls. (at this point works with Arduino 1.0.5, not latest 1.0.6)
  3. Run Arduino. Select Teensy in Tools > Boards and "Flight Sim Controls" in Tools > USB Type. (make sure you make this step properly, otherwise Arduino wont see Flight sim libraries) 
  4. Open the blink example in File > Examples > Teensy > USB_FlightSim > BlinkTransponder.
    Click "Upload" to program your Teensy board.
  5. Run X-Plane. The LED should blink. (Optional) click Plugins > TeensyControls > Show Communication.

Examples are available in File > Examples > Teensy > USB_FlightSim.

source: https://www.pjrc.com/teensy/td_flightsim.html


Very simple, however made me very happy.

No comments:

Post a Comment