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

More
26 Apr 2016 12:05 - 26 Apr 2016 12:12 #47232 by goebish

Fernandez wrote: Would it mean 50Hz samples= <20ms, variable latency? What would be the max samping rate?
How is that working? Is it real samples over the air, or the sample outputrate set at the RX?


That's only PWM servo refresh rate, which can be set between 50 and 400 Hz, "samples over the air" are sent every 3.85 ms (~260 Hz).
No idea for i-bus refresh rate, I haven't tried it yet, I'll try to measure that later.

Fernandez wrote: Not sure if it is usefull, I came across this for RSSI, it seems that it is sent back to the Tx alos.
www.insidegadgets.com/2015/09/03/adding-...-tgy-i6-transmitter/


Yes, that's useful, thanks, I was about to put the RX in the microwave oven as well to find it ;)
Last edit: 26 Apr 2016 12:12 by goebish.

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

More
26 Apr 2016 12:26 #47237 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Wow, 3.85ms 260hz over the air, 14channels in telemety, thats a pretty capable protocol!

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

More
26 Apr 2016 15:45 - 26 Apr 2016 21:25 #47245 by goebish
I confirm RSSI is working, well, that's not a "real" RSSI as it doesn't report power strength in dB but rather a percentage of dropped packets, but that's good enough.

edit: also found how to enable/disable PPM on Ch1 output
Last edit: 26 Apr 2016 21:25 by goebish.

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

More
26 Apr 2016 17:17 #47247 by Alexandro
Replied by Alexandro on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Nice, this is one of my High priority Numbers :)
Rssi and RX Voltage

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

More
27 Apr 2016 07:44 #47293 by dc59

goebish wrote: I confirm RSSI is working, well, that's not a "real" RSSI as it doesn't report power strength in dB but rather a percentage of dropped packets, but that's good enough.

edit: also found how to enable/disable PPM on Ch1 output


Aren't you in holiday ? :lol:

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

More
04 May 2016 10:12 #47721 by goebish
I am, cheers from Corsica mates :)
File Attachment:

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

More
04 May 2016 10:34 #47723 by dc59

goebish wrote: I am, cheers from Corsica mates :)


What a beautiful place it is.
Have a nice holiday~ :cheer:

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

More
14 May 2016 14:07 #48430 by goebish
Back on track :)

I think I fully understand how telemetry works now, I've ordered an extra set of sensors to confirm, they're so cheap ... I'll give them to Alexandro when I'm done with this protocol in thanks for lending his TX.

I've to settle a few stuffs then back to work on this protocol ...

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

More
14 May 2016 15:08 #48433 by dc59

goebish wrote: Back on track :)

I think I fully understand how telemetry works now, I've ordered an extra set of sensors to confirm, they're so cheap ... I'll give them to Alexandro when I'm done with this protocol in thanks for lending his TX.

I've to settle a few stuffs then back to work on this protocol ...


Great news!
Thanks Goebish.

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

More
14 May 2016 19:31 #48449 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
I have also ordered an Rx from china

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

More
17 May 2016 19:27 - 17 May 2016 20:06 #48604 by goebish
Quick update: bind stage is working (AFHDS-2A 2 way, arbitrary TX ID Ok), expect a test firmware soon :)

edit: wow, this is my 1000th post here !

Last edit: 17 May 2016 20:06 by goebish.

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

More
17 May 2016 21:37 #48609 by SeByDocKy
Replied by SeByDocKy on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,

goebish wrote: Quick update: bind stage is working (AFHDS-2A 2 way, arbitrary TX ID Ok), expect a test firmware soon :)

edit: wow, this is my 1000th post here !



Super :) Can't wait :)

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

More
17 May 2016 21:42 #48610 by HappyHarry
Replied by HappyHarry on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
this is great news!

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

More
19 May 2016 10:09 #48695 by goebish
Here's a test build, based on latest nightly:

Devo 7e: www.dropbox.com/s/n0s5uy5hxprugvn/deviat...0.0-e7e30d3.zip?dl=0
Devo 10: www.dropbox.com/s/8vngcxhfww3c7bu/deviat...0.0-e7e30d3.zip?dl=0
Source: github.com/DeviationTX/deviation/compare...ish:protocol_afhds2a

It is a test build and should be treated as such, don't attempt to fly your new shinny machine too far with it ;)
- no failsafe
- only RX voltage and RSSI (in dB) telemetry
- RXID is stored in protocol options, don't change it manually !

Please report :)

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

More
19 May 2016 13:37 #48712 by dc59
DEVO10 with FS-IA6B receiver test report:
1, Bind OK, 6 channels work fine.
2, RX voltage OK
3, RSSI always "0d" , don't know what's wrong?
4, PPM not tested yet.

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

More
19 May 2016 13:54 #48713 by dc59
DEVO7E with FS-IA6B receiver test report:

Bind OK, 4 channels work fine, but
1, I got some problem with this firmware, I can't get into "Telemetry monitor" page,after I pressed "ENT" for 3 times , my 7E reboot itself.
2, I set HOLD1 as ch5 and FMOD1 as CH6 , but it activated at same time.
I don't think it's protocol bug, it's a firmware problem.

note : need to change protocol name from "AFHDS2A" to "AFHDS-2A" or you will get "missing protocol" message.

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

More
19 May 2016 14:47 - 19 May 2016 14:51 #48715 by goebish
Thanks, I renamed the .mod file in the archive.

3, RSSI always "0d" , don't know what's wrong?

Does it stay the same if you move the transmitter 1 or 2 rooms away from the RX ?
With the iA10 I've -60d when I'm near (same as with i10 transmitter) then it drops when I move away. Maybe the ia6 doesn't report RSSI in dB, but only an error rate, we'll try that later.

1, I got some problem with this firmware, I can't get into "Telemetry monitor" page,after I pressed "ENT" for 3 times , my 7E reboot itself.

Hmm I'm not sure what's wrong, I'm using the frsky telemetry model, with values that doesn't require HAS_EXTENDED_TELEMETRY, I'll try with the emulator, I know I should have bought a 7e when it was $36 on ebay :blush:
Last edit: 19 May 2016 14:51 by goebish.

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

More
19 May 2016 15:15 - 19 May 2016 15:30 #48716 by goebish
Ok, trying to go to the telemetry screen with the 7e emu crash it as well, so I should be able to find what's wrong ;)

edit: it also happens when I select the FrSky-X protocol then try to go to the telemetry screen, hexfet, if you're reading, any idea ?
I'll try with the DSM telemetry model, looks like it should fit the values afhds-2a report.
Last edit: 19 May 2016 15:30 by goebish.

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

More
19 May 2016 15:45 #48717 by hexfet
I can't duplicate the issue. Just tried emu_devo7e on linux built from both master and my latest dev branch. No issues going to the telemetry test page, and the simulated telemetry data shows correctly in FrskyX.

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

More
19 May 2016 15:51 - 19 May 2016 15:53 #48718 by goebish
Ah, maybe it's just my build then, I'm still building with an old toolchain and I've the same issue when I build the emu from master (Windows), it crashes when I go to the FrskyX telemetry test page.
Last edit: 19 May 2016 15:53 by goebish.

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

Time to create page: 0.102 seconds
Powered by Kunena Forum