WLToys Q303

More
04 Oct 2016 11:18 - 09 Oct 2016 13:42 #54582 by ajtank
WLToys Q303 was created by ajtank
Q303 is similar to JJRC H28WH which supports altitude hold and 1-axis camera gimbal. It uses the XN297L transceiver. I tried binding it with Bayang, CG023, CX10, H8_3D, Hontai, MJXq protocols but did not succeed. The stock transmitter will auto bind after power up for a few seconds. SPI capture for the binding has been uploaded here . Please advise what other protocols I can try, thank you.
Last edit: 09 Oct 2016 13:42 by ajtank. Reason: supplementary info

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

More
22 Oct 2016 16:05 #55275 by goebish
Replied by goebish on topic WLToys Q303
This is a new protocol, but your capture is not complete, please start capture before switching the transmitter on.

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

More
22 Oct 2016 16:34 - 22 Oct 2016 16:59 #55276 by goebish
Replied by goebish on topic WLToys Q303
Thanks for the updated capture, looks like it's a xn297l at 250kbps, it shares a few similarities with xn297 CX10 protocols, but it's also quite different.
I need more captures (sticks, features, 1 capture per stick or feature please).
Last edit: 22 Oct 2016 16:59 by goebish.

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

More
22 Oct 2016 19:18 #55280 by goebish
Replied by goebish on topic WLToys Q303
I also had a further look at your Cheerson CX35 captures, looks like it's the same protocol than the Q303 except the former has a bitrate of 1 Mbps.

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

More
23 Oct 2016 01:33 #55293 by ajtank
Replied by ajtank on topic WLToys Q303
That is some good progress. I have uploaded more captures for Q303.

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

More
24 Oct 2016 01:27 - 23 Dec 2016 16:50 #55322 by goebish
Replied by goebish on topic WLToys Q303
Work in progress, I only have to fill a few gaps :)
WLToys Q303
-----------

XN297L, unscrambled, 250kbps, no AA, 1 way 
packet interval: 1500 µs

bind address: CC CC CC CC CC
bind channel: 0x02

                ID ID ID ID
bind packet: AA AE 89 97 87 00 00 00 00 00 

                 ID ID ID ID
data address: 55 AE 89 97 87

ID             RF Channels
AE 89 97 87    48 4A 4C 4E
RF[i] = 0x46 + i*2 + (ID[0] & 3)

             00 01 02 03 04 05 06 07 08 09
data packet: 55 7D 1F 40 01 EE 10 10 03 40

channels: 0-1000, 10 bits, packed into 5 bytes
struct channels
{
    uint aileron:10;
    uint elevator:10;
    uint throttle:10;
    uint rudder:10;
}__attribute__((packed));

00:  0x55
01:    aileron >> 2             // 8 bits
02:   (aileron & 0x03) << 6     // 2 bits
    | (elevator >> 4)           // 6 bits
03:   (elevator & 0x0f) << 4    // 4 bits
    | (throttle >> 6)           // 4 bits
04:   (throttle & 0x3f) << 2    // 6 bits 
    | (rudder >> 8)             // 2 bits
05:    rudder & 0xff            // 8 bits
06:  0x10 // trim(s) ?
07:  0x10 // trim(s) ?
08:   0x03 = high rate (0-3)
    | 0x40 = altitude hold
    | 0x80 = RTH
09:   0x40 // always set
    | 0x20 = gimbal up
    | 0x04 = gimbal down
    | 0x08 = headless
    | 0x80 = flip
    | 0x10 = snapshot
    | 0x01 = video

Cheerson CX35
-------------
Almost same protocol, except scrambled, 1Mbps bitrate, 3000µs packet interval and different flags
ID: 24 37 46 89    RF: 14 17 1A 1D 
RF[i] = 0x14 + i*3 + (ID[0] & 3) // to be checked
Last edit: 23 Dec 2016 16:50 by goebish. Reason: complete protocol info

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

More
24 Oct 2016 21:41 - 25 Oct 2016 01:09 #55356 by goebish
Replied by goebish on topic WLToys Q303
Here's a first test build for Devo 10, with a new Q303 protocol
www.dropbox.com/s/adanppmy4ncye8s/deviat...0.0-e324bd9.zip?dl=1

CHANNEL5, // Altitude Hold
CHANNEL6, // Flip
CHANNEL7, // Still Camera
CHANNEL8, // Video Camera
CHANNEL9, // Headless
CHANNEL10, // RTH
CHANNEL11, // Gimbal control (3 pos)

crossing fingers ...
Last edit: 25 Oct 2016 01:09 by goebish.

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

More
25 Oct 2016 00:55 #55361 by ajtank
Replied by ajtank on topic WLToys Q303
Hope God will listen to our prayers :)

I can perform some quick tests later today but I am not able to run formal flight test for a while.

@SeByDocKy
I know you got a Q303, do you have spare time to look at this?

Are there any other Q303 owners willing to help?

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

More
25 Oct 2016 01:11 #55362 by goebish
Replied by goebish on topic WLToys Q303
Please download again, I noticed I made a mistake and just uploaded the file again.

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

More
25 Oct 2016 15:30 #55373 by ajtank
Replied by ajtank on topic WLToys Q303
Unfortunately it does not bind. It binds for 1 second or so (steady lights) and then it loses bind (blinking lights).
I have invited Seby via his blog to help verify, depending on how busy he is.

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

More
25 Oct 2016 15:32 - 25 Oct 2016 15:58 #55374 by goebish
Replied by goebish on topic WLToys Q303
Ok, at least there's some reactions if it binds for 1 second :)
I'll check what could be wrong.

Maybe I made a mistake in the ID or RF channels, or maybe the quad expects that the rate flag is set to 0 just after bind.
Last edit: 25 Oct 2016 15:58 by goebish.

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

More
25 Oct 2016 16:38 #55378 by ajtank
Replied by ajtank on topic WLToys Q303
By default the transmitter LCD always shows low rate (40%) upon power up. I have to press rate button 3 times (40>60>80>100%) to set full rate.

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

More
26 Oct 2016 13:49 - 26 Oct 2016 13:51 #55402 by goebish
Replied by goebish on topic WLToys Q303
New test build (Devo 10):
www.dropbox.com/s/4qy8yymsslrxueh/deviat...0.0-ed9af3e.zip?dl=1

I double checked that there was no mistake with txid / address / rf channels in the previous version. This new test build sets rate to lowest position for ~2 seconds just after bind then switches to high rate. Let's check if that fixes the problem.
Last edit: 26 Oct 2016 13:51 by goebish.

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

More
26 Oct 2016 15:35 #55404 by ajtank
Replied by ajtank on topic WLToys Q303
Same as previous build :(
Unlike other stock transmitters using throttle up and down, I have to leave Q303 transmitter idle. Just power up transmitter and it will bind after 4 to 5 seconds.

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

More
26 Oct 2016 16:08 #55406 by goebish
Replied by goebish on topic WLToys Q303
Ok, try this one, it has 6 seconds long bind sequence:
www.dropbox.com/s/t1wvwg2yfwf3zxk/deviat...af3e_bind6s.zip?dl=1

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

More
26 Oct 2016 16:16 #55407 by ajtank
Replied by ajtank on topic WLToys Q303
No improvement either. Perhaps you need an actual transmitter and receiver for further investigation.

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

More
26 Oct 2016 16:18 #55408 by goebish
Replied by goebish on topic WLToys Q303
Can you try with a lower RF output power ?

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

More
26 Oct 2016 16:26 #55409 by ajtank
Replied by ajtank on topic WLToys Q303
How to reduce the power? Unlike other configuration, I cannot change the power on Devo 10.
I tried modifying the configuration file via USB but Devo 10 always shows power = default no matter I write the setting as 150mW or 10mW.

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

More
26 Oct 2016 16:29 #55410 by goebish
Replied by goebish on topic WLToys Q303
in hardware.ini, uncomment
has_pa-nrf24l01 = 1

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

More
26 Oct 2016 16:37 - 26 Oct 2016 16:45 #55411 by ajtank
Replied by ajtank on topic WLToys Q303
Modified the hardware.ini but still unable to change the power :(
I can change power on Devo protocol, but not on V202 or the new Q303 protocol.
Last edit: 26 Oct 2016 16:45 by ajtank.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum