Coder Social home page Coder Social logo

Comments (13)

Cleric-K avatar Cleric-K commented on September 26, 2024

Single wire communication is not supported by any flysky receiver. It is just not part of the protocol specification.

Furthermore, from what I know, telemetry works only on the IA6B/10B receivers through the SENS pin.

from flyskyrxfirmwarerssimod.

fxbisto avatar fxbisto commented on September 26, 2024

@Dropsleutel the "single" part of single wire is only on the flight controller side. You need to use the 2 dedicated pins (iBus out + iBus sensors) from the receiver with a diode+resistor network to connect them to the same UART pin on the flight controller.
See the bF wiki:
https://github.com/betaflight/betaflight/wiki/Single-wire-FlySky-(IBus)-telemetry

from flyskyrxfirmwarerssimod.

Dropsleutel avatar Dropsleutel commented on September 26, 2024

Ah ok, I was quite certain that Ibus was bidirectional single wire capable like Frsky Fport uses one pin conneted to on Tx Uart at flight controller, but I now understand you have to make the "combiner".

So than another question to X14S. Originally according he included manual, it has Sbus out. (Sbus is inverted signal)
So when flashed X14S can it send ibus output on this Sbus pin and is it then uninverted ? (Sure to select ibus at Transmitter)

from flyskyrxfirmwarerssimod.

Cleric-K avatar Cleric-K commented on September 26, 2024

The signals are always correct polarity. The UARTs of the MCUs which all flysky receivers use, support software inversion so it is not a problem to support the inverted SBUS.

The one thing I'm not sure about is if these x14s cares about the transmitter setting. If I remember correctly a8s switches between ibus/sbus by holding the button for several seconds and the transmitter setting has no effect. Since x14s is similar in firmware to a8s it may be possible that the protocol selection works in similar way.

from flyskyrxfirmwarerssimod.

Dropsleutel avatar Dropsleutel commented on September 26, 2024

Thanks about sbus/ibus, it matches my info.
You select at the transmitter side to stream Sbus or Ibus from the Rx output. (at least in deviation Tx it is possible) When set Ibus, you need uninverted. when Sbus you need to connect to inverted Rx.

I am doing some more testing as I am bit of confused.
I had in mind I did connected the Flit receiver in the past, (with out the diode combiner, just the ibus output) similar like Fport, so wired to a Tx pad (uninverted) at the betafflight controller and then selected half duplex, using port settings as per Betaflight instructions, I thought that it worked.
But I am now not so sure anymore, need testing.

For the X14s, it is new receiver for me, I flashed it. But I hook up to Kramam flight controller, and this one has issues in the target, so I need to test it at a know flight controller first.

from flyskyrxfirmwarerssimod.

Dropsleutel avatar Dropsleutel commented on September 26, 2024

just tested on F4, with ibus iA6C receiver, I can confirm I get the Rx working on two different ways, either connected to an Rx pin, either connected toa Tx pin. I receive only signal and receiver voltage telemetry. (but those are defaults ) ia6c, it has not 2 outputs to combine with diode.

Receiver works, tested IA6C, ibus wired to Rx 1

set tlm_inverted = OFF
set tlm_halfduplex = ON
set serialrx_provider = IBUS
set serialrx_inverted = OFF
serial 0 64 115200 57600 0 115200

Receiver works also, tested IA6C, ibus wired to Tx 1
Telemetry output must be set to ibus in ports table, to have Rx working in betaflight.
But no need to enable telemetry feature in configuration, on or off does not matter.

set tlm_inverted = OFF
set tlm_halfduplex = ON
set serialrx_provider = IBUS
set serialrx_inverted = OFF
serial 0 4160 115200 57600 115200 115200

Now need to test ibus setup with X14s

from flyskyrxfirmwarerssimod.

Dropsleutel avatar Dropsleutel commented on September 26, 2024

Hmm ok guys I am getting confused can someone confirm that the firmware posted for X14S actually works? I can confirm it binds, but are we sure the ibus/sbus output pin is sending data?

Also with the IA6C, I do see the default telemetry receiver voltage and signal, with X14S flashed with this firmware I get nothing.
Would be great if someone can flash it's receiver and confirm actually it works

from flyskyrxfirmwarerssimod.

Cleric-K avatar Cleric-K commented on September 26, 2024

I haven't personally tested X14S because I don't have one. But it has been confirmed that it works:
https://www.rcgroups.com/forums/showpost.php?p=43311399&postcount=349

Furthermore, X14S (similar to A8S and 8A) does not have telemetry at all (by design).

from flyskyrxfirmwarerssimod.

Dropsleutel avatar Dropsleutel commented on September 26, 2024

Ok I did some more testing and soldering. The X14S did does not output IBUS neither with the original firmware it works only on SBUS. (and I am now sure I did connect right as compared with my IA6C)
You can change setting to Ibus or Sbus in the Txransmitterm, in both cases the Rx will output Sbus.
Further I can confirm that the modded firmware does indeed provide the RSSI, but in Sbus only!!!!

So question: Can we get Ibus output ?
Second can we get the telemetry pin, or solder small wire to CPU. I like audible Vbat alarm via Telemetry.
Do we have schematics of the flysky receivers very likely they are all similar?

UPDATE: Just tested compared with IA6C, when changing setting in transmitter Sbus/Ibus it directly changes the Rx behaviour. Change the in live, the Receiver output Ibus/Sbus, not even need to rebind restart etc.

from flyskyrxfirmwarerssimod.

Cleric-K avatar Cleric-K commented on September 26, 2024

It is not possible to have telemetry with x14s. The code for that simply does not exist in the firmware.

Did you try switching IBUS/SBUS by holding the bind button for few seconds?

from flyskyrxfirmwarerssimod.

Dropsleutel avatar Dropsleutel commented on September 26, 2024

A pity it does not work, S-Bus only.
As all Flysky/Flit receivers it use the same chipsets, rather then some Pin IO targets, why can it not all run the same firmware, so all with telemetry ibus ?

from flyskyrxfirmwarerssimod.

Cleric-K avatar Cleric-K commented on September 26, 2024

Hm.. seems you are correct - this rx only supports PPM and SBUS according to the manual.

About telemetry - x14s, a8s, 8a use MCU with only 16KB Flash memory which is almost completely full already (other receivers have 32KB). There's simply no space to implement telemetry.

from flyskyrxfirmwarerssimod.

Dropsleutel avatar Dropsleutel commented on September 26, 2024

Ah that clarifies but anyway keep up the good work thanks!!, I will fly it on S-Bus using your RRSI code. Not sure ibuy, more I would hoped for single wire ibus with telemetry and small.

The FLIT functionally it is fine, but I do not like so much as range is poor compared to original Flysky, , I tried Freq tune but it did not help.
For Flit no clue why range is poor, maybe LNA not properly wired or controlled?

So still no perfect Flysky Rx....

from flyskyrxfirmwarerssimod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.