betaflight / betaflight

Open Source Flight Controller Firmware
GNU General Public License v3.0
8.56k stars 3.02k forks source link

receiver and telemetry on same UART without diode/resistor adapter (4 wire) #7164

Closed smarq8 closed 5 years ago

smarq8 commented 5 years ago

Hello. Is it possible to use flit10 telemetry at the same time with receiver on same UART port? I just connect receiver TX (ibus) to fc RX6 and receiver RX(telemetry) to fc TX6 (4 wires). And as I use Serial6 for receiver only then it work, same for telemetry. But if I configure Serial6 for receiver and telemetry then only telemetry work. I know I can connect telemetry to other UART but i do not want it.

BF version: OMNIBUSF4 3.5.3 board: flip32 2016 receiver: flit10

mikeller commented 5 years ago

@smarq8: I think you are overthinking here. iBus is capable of supporting RX and telemetry on the same UART, and the UART only needs to be configured for iBus serial Rx for this. Have a look at the instructions on https://www.banggood.com/Flit10-2_4G-10CH-Micro-Telemetry-Flysky-Compatible-Ibus-Receiver-for-FS-I6X-FS-i6S-Turnigy-Evolution-p-1260238.html, and in particular the diagram https://img.staticbg.com/images/oaupload/banggood/images/6F/82/fb841cab-9a11-4cc4-b087-63a2c399657c.jpg.

smarq8 commented 5 years ago

The diagram you posted is for receiver only. In normal case to get working receiver and telemetry then you need to connect it via "telemetry module" to FC TX and I want to avoid it and use UART6RX for receiver and UART6TX for telemetry but according to site below then after turn on RX and telemetry on same port then it work only through TX and I am not sure how to use RX and TX of same port.

https://github.com/betaflight/betaflight/wiki/Single-wire-FlySky-(IBus)-telemetry

mikeller commented 5 years ago

@smarq8: Yes, you are right. I would assume that this new RX incorporates the 'diode and resistor' Y connector shown in the diagram at the top of https://github.com/betaflight/betaflight/wiki/Single-wire-FlySky-(IBus)-telemetry directly on the board - you'll just have to connect the 'IBUS' pin from the FC to the TX pin of the UART, and then follow the instructions in https://github.com/betaflight/betaflight/wiki/Single-wire-FlySky-(IBus)-telemetry.

McGiverGim commented 5 years ago

Yes, the additional board of the photo is the diode and resistor hack. With it you only need to connect the board to a tx.

Sorry, I didn't saw that you don't want to use it...

mikeller commented 5 years ago

@McGiverGim: That's what the extra board is - they could just have stuck that onto the main board... :laughing:

jflyper commented 5 years ago

I think @smarq8 doesn't have diodes and resistors but wires.

Logic inside rx/ibus.c suggest IBUS is capable of full-duplex telemetry. It doesn't work?

smarq8 commented 5 years ago

Logic inside rx/ibus.c suggest IBUS is capable of full-duplex telemetry. It doesn't work?

then how to properly configure it?

Eganwp commented 5 years ago

If you’re using OpenTx, this is the whole purpose of F.port protocol instead of using SBUS. Works great and reduces latency as well.

jflyper commented 5 years ago

Does any of Flysky RX support F.Port?

mikeller commented 5 years ago

@jflyper: Not that I know of.

stale[bot] commented 5 years ago

This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

stale[bot] commented 5 years ago

Automatically closing as inactive.