Cleric-K / vJoySerialFeeder

Feed Virtual Joystick driver with data from a serial port
GNU General Public License v3.0
252 stars 55 forks source link

Send commands #21

Closed eried closed 5 years ago

eried commented 5 years ago

Hi, a semi-related question: is IBUS bidirectional? can I set values back in the RC?

Cleric-K commented 5 years ago

AFAIK the IBUS pin for channel data is unidirectional.

But the Sensor pin is bidirectional. The rx sends there sensor discovery frames and the sensors respond. I'm not aware of the details, I think it still uses the general structure of the IBUS protocol. I think that betaflight implements sensor emulation and thus can send telemetry straight from the flight controller.

eried commented 5 years ago

Thanks! there is so little info about IBUS, everything seems quite obscure

Cleric-K commented 5 years ago

Yes, there is no "official" documentation from Flysky. Everything seems to be reverse engineered.

You can check out https://github.com/betaflight/betaflight/tree/master/src/main/telemetry - the ibus* files for more details on the bidirectional sensor communication.