- Posts: 278
 
WLToys Q303
- ajtank
 - 
				
Topic Author
 - Offline
 
Please Log in or Create an account to join the conversation.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
Please Log in or Create an account to join the conversation.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
I need more captures (sticks, features, 1 capture per stick or feature please).
Please Log in or Create an account to join the conversation.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
Please Log in or Create an account to join the conversation.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
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 checkedPlease Log in or Create an account to join the conversation.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
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 ...
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
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.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
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.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
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.
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
Please Log in or Create an account to join the conversation.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
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.
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
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.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
www.dropbox.com/s/t1wvwg2yfwf3zxk/deviat...af3e_bind6s.zip?dl=1
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
Please Log in or Create an account to join the conversation.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
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.
- goebish
 - 
				
 - Offline
 - NRF Weirdo
 
- Posts: 2633
 
has_pa-nrf24l01 = 1
Please Log in or Create an account to join the conversation.
- ajtank
 - 
				
Topic Author
 - Offline
 
- Posts: 278
 
I can change power on Devo protocol, but not on V202 or the new Q303 protocol.
Please Log in or Create an account to join the conversation.
- 
											Home
					
											
							
						
										
				 - 
											Forum
					
											
							
						
										
				 - 
											Development
					
											
							
						
										
				 - 
											Protocol Development
					
											
							
						
										
				 - WLToys Q303