/flysky-ibus-leonardo

Decodes FlySky IBus data directly to an Arduino Leonardo (Pro Micro) USB Game Controller

Primary LanguageC++

flysky-ibus-leonardo

Forked from wdcossey/flysky-ibus-leonardo. Decodes FlySky IBus data directly to an Arduino Leonardo USB Game Controller.

Hardware

  • iBus compatible RC receiver.
  • Arduino Leonardo/Pro Micro 5v (ATmega32u4 microcontroller).

Tested With

  • Sparkfun Pro Micro 5V/16MHz
  • Flysky FS-i6-X Transmitter
  • Flysky FS-X6B Receiver

Channel Mapping

Source Target
Channel 1 X Axis
Channel 2 Y Axis
Channel 3 X Rotation
Channel 4 Y Rotation
Channel 5 Z Axis
Channel 6 Z Rotation

Notes

  • Builds in vsCode with PlatformIO
  • Utilizes the Joystick library by Matthew Heironimus.
  • Connect the IBus signal wire to pin 10 on the Arduino Leonardo.
  • Uses X-Axis, Y-Axis, Z-Axis, Rx-Axis, Ry-Axis, Rz-Axis (simply [re]calibrate the controller in your sim of choice).

Game Controllers

Sample

Screen recording by ScreenToGif