- Posts: 706
Flysky AFHDS 2A, protocol as used i10, i6, iT4,
- magic_marty
- Offline
goebish wrote: That's because your Tx doesn't receive telemetry data for a few seconds, check your antenna.
Also, if you've one of the firsts x-in-1, the LNA is not working for the nrf24l01 and the a7105, this is a known issue, this has been fixed in the last revisions.
Weird thing to add, i got a second X6B rx for another build and it never drops the telemetry link..Not sure if it's a newer firmware version or maybe my first one is just buggy...Both are labeled with the same version# on them..
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
So anybody wanting to update there firmware i advise against it...
github.com/povlhp/FlySkyRxFirmware
EDIT: Figured it out the ground wire came loose on the STM stick...Got it flashed and still get the momentary drop outs on the telemetry..Don't understand whats the difference between the 2 x6b's i have but the last one i got does not drop the telemetry link at all..Perhaps i will order another one to see if it does or not just out of curiosity ...
Please Log in or Create an account to join the conversation.
- Fernandez
- Topic Author
- Offline
- Posts: 983
ibus - betaflight, just setting a 3 pole switch deviation 100% scale.
I read in betaflight 1000 - 1497 - 1994.
It should be 1000 - 1500 - 2000
My main question, anyone who can test with original flysky transmitter ?
Is it the same behaviour?
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- MiSKLaCH
- Offline
- Posts: 7
Fernandez wrote: I think I have mentioned it before just checking with you. I have an issue with the ranges offset in betaflight.
ibus - betaflight, just setting a 3 pole switch deviation 100% scale.
I read in betaflight 1000 - 1497 - 1994.
It should be 1000 - 1500 - 2000
A quick workaround could be, if possible, adjusting subtrims and/or using rxrange commands in BF CLI.
Please Log in or Create an account to join the conversation.
- aMax
- Offline
- Posts: 776
I think, this is only useful for the stick channels, the aux channels can be properly setup with the sliders in the mode section.
As far as I remember, I even restricted the weight for all switches in prior years using PPM. >>(signal frame size)
Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Please Log in or Create an account to join the conversation.
- Fernandez
- Topic Author
- Offline
- Posts: 983
Indeed you can trim fly etc, but just wondering if it is deviation, betaflight.......
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Fernandez wrote: I think I have mentioned it before just checking with you. I have an issue with the ranges offset in betaflight.
ibus - betaflight, just setting a 3 pole switch deviation 100% scale.
I read in betaflight 1000 - 1497 - 1994.
It should be 1000 - 1500 - 2000
My main question, anyone who can test with original flysky transmitter ?
Is it the same behaviour?
AFHDS2A protocol data packet
s32 value = (s32)Channels[ch] * 0x1f1 / CHAN_MAX_VALUE + 0x5d9;
0x5d9 = 1497
Please Log in or Create an account to join the conversation.
- Fernandez
- Topic Author
- Offline
- Posts: 983
So is the same scale when using an original Flysky Tx and IBUS ??
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Fernandez
- Topic Author
- Offline
- Posts: 983
Now from what I can remember that S-Bus and I-Bus ranges did not line up, so when switching between those ranges are different S-bus sbus 1030-1515-2000......
to be confirmed....
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- thesacredmoocow
- Offline
- Posts: 1
Please Log in or Create an account to join the conversation.
- quad450
- Offline
- Posts: 6
first of all, thanks for all the work on this project.
Regarding the protocol, I just noticed a strange behaviour of RSSI with X6B receiver (I have a Devo7e with standalone nrf24l01 and A7105 modules):
Connecting the quadcopter to my laptop via USB I get real time variation of RSSI on my transmitter; on the contrary, if I use the battery to power on the aircraft, RSSI value changes with a big delay like if it is losing signal.
Any ideas?
EDIT: I have also found this www.deviationtx.com/forum/6-general-disc...power-afhds-2a#64720
It seems that TX power is set only in afhds2a_init(). So, if TX power is changed after powering on the transmitter, it is not set correctly.
Please Log in or Create an account to join the conversation.
- daniel.snowsurf
- Offline
- Posts: 23
I've telemetry RSSI, LQI, RX V. But no external voltage sensor data . Is it only available on devo7e-256?
How can I get battery voltage? Could I get it from FC SP Racing F3 (Wizard X220) through the iBus port?
Thanks
Edit: No OSD, so telemetry is what I need
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- daniel.snowsurf
- Offline
- Posts: 23
Do you think it's worth trying to do a custom build (no experience building deviation).
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
build: www.dropbox.com/sh/v1ckkohd8nmlc5a/AAA_n..._wCGMl8qbdtOgRa?dl=0
source: github.com/goebish/deviation/tree/7e_extended_telem
I'll probably not maintain it, that will be up to you to merge this branch with current master in order to update your build (if even possible, this build is already using most of the available flash space: 114.61kB out of 116kB).
ps: special thanks to my old armgcc toolchain (4.8.3) that produces smaller binaries than the current versions
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
github.com/DeviationTX/deviation/pull/306Fernandez wrote: ibus - betaflight, just setting a 3 pole switch deviation 100% scale.
I read in betaflight 1000 - 1497 - 1994.
It should be 1000 - 1500 - 2000
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
thesacredmoocow wrote: I'm sorry if this has already been mentioned in the thread somewhere, but from what I understand, the protocol has been cracked, right? Is there any version of the code for an arduino, to make a module similar to the multipro one?
Yes, you could make an AVR version of the Multi Module with only an Arduino + A7105, it has the AFHDS 2A protocol:
github.com/pascallanger/DIY-Multiprotocol-TX-Module
I was using an simple arduino+a7105 module similar to the nrf24 multipro when I started hacking this protocol but I think I never completed the implementation ...
www.deviationtx.com/forum/protocol-devel...6-it4?start=60#47046
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Flysky AFHDS 2A, protocol as used i10, i6, iT4,