WFLY protocol

More
21 Aug 2018 16:07 #70371 by planger
WFLY protocol was created by planger
The WFLY protocol is now reversed.
It is available on github in the new Multi version 1.2.0.32: github.com/pascallanger/DIY-Multiprotoco...ol/WFLY_cyrf6936.ino

Details:
The WFLY protocol is using the CYRF6936 RF component.
No sub protocols.
4 to 9 channels can be transmitted based on config.
Extended limits are supported.

Receivers:
WFR04S, WFR07S, WFR09S (others?)

Tested ok on: WFR04S and WFR07S

Pascal

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

More
23 Aug 2018 14:49 #70409 by 52dgj
Replied by 52dgj on topic WFLY protocol
When can I increase the deviation?

DEVO12,DEVO8S,DEVO7E,DEVO10,Taranis QX7,FS-i6

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

More
30 Aug 2018 22:10 #70566 by planger
Replied by planger on topic WFLY protocol
No one to port this protocol to Deviation?

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

More
30 Aug 2018 22:24 #70568 by goebish
Replied by goebish on topic WFLY protocol
I'll port it.

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

More
31 Aug 2018 08:20 #70574 by goebish
Replied by goebish on topic WFLY protocol
Almost done, Pascal, can you confirm that:
- rx_tx_addr[0:3] can be filled with arbitrary values
- stick data is 151-847 for 1000-2000 (can be extended)

I have to change a few stuffs in the callback then it should be fine.

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

More
31 Aug 2018 09:07 #70575 by planger
Replied by planger on topic WFLY protocol
- Only rx_tx_addr[1..3] are used. From what I've seen they can be anything but I haven't tested all the possibilities just picked a few here and there to test...
- stick data 151-847 is for 100%, 500 is centered. I've tested 125% (max that multi takes) with no issues.

Pascal

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

More
31 Aug 2018 10:31 #70578 by goebish
Replied by goebish on topic WFLY protocol
Thanks, 151-847 range makes the center 499, probably not a big deal ...

Here are a few test builds:
www.dropbox.com/sh/aocbgjqa8esd0p9/AABxd...WtWwZSFhiAa5Cxa?dl=0
New protocol: WFLY

source:
github.com/goebish/deviation/blob/protoc...ocol/wfly_cyrf6936.c

52dgj, can you check if it works please ?
(let me know if you need a build for a different transmitter)

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

More
31 Aug 2018 13:22 #70587 by planger
Replied by planger on topic WFLY protocol

goebish wrote: Thanks, 151-847 range makes the center 499, probably not a big deal ...

Yeah I know it gives 499.5. I haven't bothered rounding it... When you see the jitter the TX module has when reading the PPM input signal, anything is better anyway...

Pascal

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

More
31 Aug 2018 13:47 #70588 by planger
Replied by planger on topic WFLY protocol

goebish wrote: source: github.com/goebish/deviation/blob/protoc...ocol/wfly_cyrf6936.c

I've noticed 2 things:
1. power setting:

//Keep transmit power in sync
if(tx_power != Model.tx_power) {
tx_power = Model.tx_power;
CYRF_WriteRegister(CYRF_03_TX_CFG, 0x08 | tx_power); // 8DR Mode, 32 chip codes
}
but a few lines later you have:
CYRF_SetPower(0x08);
which sets power to 0.
I recommend to do: CYRF_SetPower(tx_power); in the Keep transmit power in sync instead of the CYRF_WriteRegister(CYRF_03_TX_CFG... and remove the other line.

2.On the original TX, the start channel is changing at every power up. If I'm not mistaken, here you are always forcing it to the same value. It's not a big deal but that's how it works...
//Random start channel
u8 ch=0x0A+lfsr%0x0E;
if(ch%3==0)
ch++;

Pascal

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

More
31 Aug 2018 14:59 #70591 by goebish
Replied by goebish on topic WFLY protocol
Thanks for the review, fixed and test builds updated.

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

More
05 Sep 2018 03:33 #70653 by 52dgj
Replied by 52dgj on topic WFLY protocol
hello,I successfully bind WFLY, but I found the distance to be very close,version:31803f0

DEVO12,DEVO8S,DEVO7E,DEVO10,Taranis QX7,FS-i6

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

More
05 Sep 2018 07:02 #70657 by goebish
Replied by goebish on topic WFLY protocol
please try updated version (1aeac1d)

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

More
05 Sep 2018 12:21 #70659 by 52dgj
Replied by 52dgj on topic WFLY protocol
Thank you very much, it is much better.:P :P

DEVO12,DEVO8S,DEVO7E,DEVO10,Taranis QX7,FS-i6

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

More
05 Sep 2018 14:56 #70661 by goebish
Replied by goebish on topic WFLY protocol
Ok, it should be available in the nightly builds soon then ;)

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

More
05 Sep 2018 15:12 #70662 by planger
Replied by planger on topic WFLY protocol
Something I should port back?

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

More
05 Sep 2018 15:13 - 05 Sep 2018 19:32 #70663 by goebish
Replied by goebish on topic WFLY protocol
No, that's almost a copy/paste of your code.
github.com/DeviationTX/deviation/pull/435
Last edit: 05 Sep 2018 19:32 by goebish.

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

More
19 Mar 2020 09:38 #76079 by Nimo2019
Replied by Nimo2019 on topic WFLY protocol
hi, I have a T8SG V2 plus and WFLY wfr06s receiver

deviation-t8sg_v2_plus-v5.0.0-28ce50f version binding is ok but after longtime used i lost connection:silly: :silly:



but all version after that i have binding trouble , sometimes bind and disconnect for short time then lost binding , I see sometimes my wifi not working , I am not sure but is it interference ? why the first version no problem for binding / interference ?

could someone guide me or help me please

thanks

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

More
19 Mar 2020 10:22 #76080 by vlad_vy
Replied by vlad_vy on topic WFLY protocol
Try "Freq-Fine" protocol option.

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

More
19 Mar 2020 13:13 #76081 by Nimo2019
Replied by Nimo2019 on topic WFLY protocol
thanks, freq-fine value from -1000 to 1000

what mean ? and what best value ?

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

More
19 Mar 2020 13:18 #76082 by vlad_vy
Replied by vlad_vy on topic WFLY protocol
If you can bind, change value up and down up to lost connection, then calculate and set the middle value. Middle = (Down + Up) / 2

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

Time to create page: 0.057 seconds
Powered by Kunena Forum