Flysky AFHDS 2A, protocol as used i10, i6, iT4,

More
11 Oct 2016 17:28 #54826 by joeblack
Thank you for inform us, i also (pre)ordered one for 9 bucks.
Hope i can bind with my Devos with 3in1 Module.
will also report if it works when arrives.

Please Log in or Create an account to join the conversation.

More
11 Oct 2016 17:31 - 11 Oct 2016 17:33 #54827 by goebish
I'll try to push AFHDS 2A into nightly builds as it is soon, a few telemetry stuffs are still missing, but the protocol is working well as it is already ...
Last edit: 11 Oct 2016 17:33 by goebish.

Please Log in or Create an account to join the conversation.

More
12 Oct 2016 08:50 #54849 by qba667
@goebish
Thanks for reverse engineering of the protocol! Great work!
I would like to change few things in original FS-i6. Have you ever seen commented IDA database of ThomHpl or Dave Borthwick?
Do you know what is the address of method sending configuration packet?

Please Log in or Create an account to join the conversation.

More
12 Oct 2016 14:54 #54856 by goebish
Sorry, no idea.

Please Log in or Create an account to join the conversation.

More
12 Oct 2016 16:34 #54857 by qba667
Thanks anyhow, I will figure it at my own. Great reverse engineering!

Please Log in or Create an account to join the conversation.

More
15 Oct 2016 13:50 #54971 by anthony7288
Replied by anthony7288 on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
hi Goesbish

i read on Rc group , you say
optional: open it in an hex editor then change the 4 bytes at offset 0x1C00 (12 34 56 78) to change RX ID, I think you can use any arbitrary values, just avoid using FF FF FF FF

i still not understand this problem , Open hex editor ? can you show me a photo ?

Please Log in or Create an account to join the conversation.

More
15 Oct 2016 13:56 - 15 Oct 2016 13:58 #54972 by goebish
This is optional, not a big deal if leave it as it is.

Anyway, an hex editor is not required, you can just use the ST-Link utility, set data width to 32 bits, load the firmware, navigate to address 0x1c00 and modify the value (78563412) to what you want:



Then save the firmware before flashing it.
Last edit: 15 Oct 2016 13:58 by goebish.

Please Log in or Create an account to join the conversation.

More
15 Oct 2016 14:06 - 15 Oct 2016 14:08 #54973 by anthony7288
Replied by anthony7288 on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
I open file IA6B , but i see it diffirence your photo ? why on your photo, so much FFFFFFF but i m not ?
Attachments:
Last edit: 15 Oct 2016 14:08 by anthony7288.

Please Log in or Create an account to join the conversation.

More
15 Oct 2016 14:07 #54974 by goebish
because you've not navigated to offset 0x1c00

Please Log in or Create an account to join the conversation.

More
15 Oct 2016 14:18 - 15 Oct 2016 14:22 #54976 by anthony7288
Replied by anthony7288 on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
ok , thank you B)
Last edit: 15 Oct 2016 14:22 by anthony7288.

Please Log in or Create an account to join the conversation.

More
16 Oct 2016 13:51 #55008 by goebish
The protocol should be in the nightly builds soon, if nobody objects :)
github.com/DeviationTX/deviation/pull/50

Please Log in or Create an account to join the conversation.

More
17 Oct 2016 11:31 #55042 by mazi
I get an iA6B receiver from Banggood on Friday and it works fine with my Devo 10 so far. I was surprised I didn't have to update FW to get PPM and sBus working. My only problem is short telemetry range. I suppose it could be because of my multimodule ""burried" under left stick and short antenna inside the transmitter.
The RSSI displayed on my LCD is negative number (-60d), so it is impossible to set alarm for it :-(

Please Log in or Create an account to join the conversation.

More
17 Oct 2016 11:34 - 17 Oct 2016 12:05 #55044 by goebish
Yes, I think a better antenna is required for telemetry.
This is normal that the RSSI is a negative value, I'll make it positive if required for the alarm. Some work is still required on telemetry anyway ...
Last edit: 17 Oct 2016 12:05 by goebish.

Please Log in or Create an account to join the conversation.

More
17 Oct 2016 12:35 - 17 Oct 2016 13:08 #55047 by goebish
Also, I've you're using one of the first revisions of the 3-in-1 or 4-in-1 I think there's a problem with the LNA and the A7105, hence bad telemetry range, and there's no easy fix :(

I've a rev1 4-in-1, I never used it because of that.
Last edit: 17 Oct 2016 13:08 by goebish.

Please Log in or Create an account to join the conversation.

More
23 Oct 2016 19:30 #55315 by qba667
I have digged into telemetry of original FS-i6.
Might be useful for adding other sensors below list of additional ids:
0x0 - Internal Voltage
0x1 - Temperature
0x2 - Mot.?
0x3 - External Voltage
0x7c - Odometer 1
0x7d - Odometer 2
0x7e - Speed
0x7f - TX Voltage

Please Log in or Create an account to join the conversation.

More
28 Oct 2016 11:18 #55472 by djdazzy

goebish wrote: The protocol should be in the nightly builds soon, if nobody objects :)
github.com/DeviationTX/deviation/pull/50

@goebish has this been done yet please?

Please Log in or Create an account to join the conversation.

More
28 Oct 2016 11:24 #55473 by goebish
Yes :)

Please Log in or Create an account to join the conversation.

More
28 Oct 2016 12:18 #55474 by djdazzy
Excellent thanks !

Please Log in or Create an account to join the conversation.

More
31 Oct 2016 22:06 #55576 by Appelmoesman
Replied by Appelmoesman on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Tnx Goebish for your work!

After I rewired my A7105 module and build an awesome handcrafted 2.4ghz dipole antenna from some Coax.
I seem to have zero range issues for at least a couple 100 feet!
I used the old wiring for my A7105 chip, and I can recommend everyone to change this to the new wiring as I believe this enables the power amplifier that is build into most DIY A7105 chips.

I have two youtube video's on my youtube video that show, that with the old wiring I had 50M range at most, and with my new wiring Im not noticing any issues as you can tell from the footage.
I've also installed a 1000uF 6V capacitor on the + and - of the chip I believe this might help a tiny bit.

I've build a simple dipole antenna RP-SMA following Wild mania's instructions that he got from old radio frequency school books from I believe russia. anyway the business end is just 29MM and it seems to work very great. He takes in account a certain shortening factor and this increases range for thicker wire antenna's search for him on youtube!

here is my quick demo flight showing that the protocol is super great and that I can now fly High performance quads with 10 euro receivers with my DEVO 7E!!!! YEAAAH


Have fun
Quick demo flight

Im using the TGY Ia6C receiver with BETAFLIGHT and SBUS! I recommend it to everyone that doesn't need PWM and wants to save space
Tnx to goebish im saving allot of money!

Please Log in or Create an account to join the conversation.

More
01 Nov 2016 08:52 #55581 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Can you confirm you have Vbat Rx and Vbat Lipo monitoring with the IA6C?

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum