WLToys V912/V915/? protocols

More
19 Mar 2015 22:00 - 19 Mar 2015 22:29 #29907 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
If someone wants to checkout this branch and test:
bitbucket.org/goebish/deviation/branch/WLToys%20V6x6

Or I can build a .dfu if you can't, but I need to know for which radio.

Channel 5 simulates "bottom button", channel 6 "top button"
Last edit: 19 Mar 2015 22:29 by goebish.

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

More
20 Mar 2015 00:34 - 20 Mar 2015 01:30 #29909 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
I've captured this data from the V912 TX the Top and Bottom buttons. I broke out the usage and I'd like to see if I got it right... Is there a preferred place to post these 2MB files?

0x40 sent when the bottom button is pressed, and 0x80 is sent when the top button is pressed.

I am checking all the other buttons now to see if they do anything.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Attachments:
Last edit: 20 Mar 2015 01:30 by Deal57.

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

More
20 Mar 2015 01:47 - 20 Mar 2015 01:50 #29911 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Can you try the attached firmware ?

File Attachment:

File Name: deviation-...f46b.zip
File Size:600 KB


Enable V91x in FlySky settings screen, channel 5 controls bottom button, channel 6 top button (enabled if channel value > 0)

Then... If you think there are other bits than can control other peripherals, I would try to fiddle with word 8 (packet[14] first then [13])
Attachments:
Last edit: 20 Mar 2015 01:50 by goebish.

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

More
20 Mar 2015 02:10 #29913 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
Sure, I'll load that up in the morning.

I did not find any other bits being changed by any other buttons. The only other button that does anything resulting in a change is the left shoulder button, which sets the 0x80 and it stays there, apparently it's for when you want the camera to take single shots every couple of seconds. We can duplicate that with mixers, I guess. I've attached the text file - not as pretty as yours! :blush:

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Attachments:

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

More
20 Mar 2015 13:02 #29925 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
This seems to work part way.

Channel 6 is working great. I tried it with both the camera and the hook and both work as expected, just like the top button.

Channel 5 isn't working. I used the LV trim button and set them up exactly the same way. I can see both switches in the monitor, and both are active, but only Channel 6 gets a response from the V912. I double checked all my settings and exchanged the trims, but I don't see any issues.

[channel5]
template=simple
[mixer]
src=Virt2
dest=Ch5
curvetype=zero/max
points=0

[channel6]
template=simple
[mixer]
src=Virt3
dest=Ch6
curvetype=zero/max
points=0


[virtchan2]
template=complex
[mixer]
src=AIL
dest=Virt2
scalar=-100
curvetype=fixed

[virtchan3]
template=complex
[mixer]
src=AIL
dest=Virt3
scalar=-100
curvetype=fixed


[trim1]
src=Virt2
pos=TRIMLV-
step=193
value=-100,0,0
[trim5]
src=Virt3
pos=TRIMLV+
step=193
value=-100,0,0

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
20 Mar 2015 13:09 - 20 Mar 2015 13:10 #29926 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Ok, I think I spotted my mistake, try with channels 6 & 7 instead of 5 & 6 :blush:
(I'll fix that later if you confirm it works)
Last edit: 20 Mar 2015 13:10 by goebish.

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

More
20 Mar 2015 13:34 #29928 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
Yay! It works! Set the up to Channel 6 and down to Channel 7 and it seems to work great! I can make the basket go up and down and up and down...

I noticed that my transmitter has to be very close (<12") to the V912 to keep from dropping the signal. That might not be an issue with the software, but the V912 TX works fine away from the bird. I increased the power from 30mw to 100mw and I could go back about 8 feet before the signal lost.

Additionally, there seems to be a control issue like I saw in earlier testing. The servos don't respond immediately and sometimes not at all, even when the transmitter is close to the Heli. If I keep moving the collective the bind light starts to blink. And if I leave the TX and V912 both on for a little while (~30 seconds when I noticed it) the bind light blinks. It recovers a short time later.

I used the latest nightly to set up (deviation-devo7e-v4.0.1-e1a3b14) and installed your DFU/protocols over it. Is there some change in the protocol that might affect the power or sync?

I have to do some real work now so when I have a chance, I'll go back to the latest nightly and maybe rule that out.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
20 Mar 2015 13:39 - 20 Mar 2015 14:13 #29930 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Have you tried the A7105 in your TX with another aircraft ?

Also, I almost replicated the behavior of unknown bits from your capture in my code, but maybe there's something that's important and still not understood.
bitbucket.org/goebish/deviation/commits/...l/flysky_a7105.cT235

First, make sure you're not having a hardware issue by trying with another aircraft.

What are you using as a7105 module ? PA+LNA or simple version ? If it is a PA+LNA version it could mean TXEN is not wired correctly or PA is defective.
Last edit: 20 Mar 2015 14:13 by goebish.

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

More
20 Mar 2015 14:34 #29934 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
It is an A7105D03, it should have the PA. I have used it with my Proto-x (Hubsan - telemetry is working) and V911. The V911 worked fine with channels=4, when I tested last week, but if I changed it to 8 channels I got the same stutters and stops. I'll try that again right now.

I haven't ever had a range issue because I have a limited flying area, and it's fine for the little guys. I'll let you know what I find.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
20 Mar 2015 14:43 - 20 Mar 2015 14:50 #29936 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
My V911 flies great out to about 40 feet (the furthest I can fly it in the house!). And that was set at 10mw and 30mw, set at channels=4. No stutters or stops.

When I set channels=8 the collective servos seemed to be hesitant, but not to the extent of the V912.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Last edit: 20 Mar 2015 14:50 by Deal57. Reason: Update details

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

More
20 Mar 2015 15:02 - 20 Mar 2015 15:07 #29939 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Ok, so that's not a hardware issue, there might be other tricks happening in "unknown" bits that are not understood yet.

Neeeeed moar captures ;)
(posting in .cvs is fine)
Last edit: 20 Mar 2015 15:07 by goebish.

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

More
20 Mar 2015 15:05 - 20 Mar 2015 15:08 #29941 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Sorry if you already answered this before, but when you set the TX to 4 channels (and wltoys ext Off), does the V912 fly great ?
Last edit: 20 Mar 2015 15:08 by goebish.

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

More
20 Mar 2015 15:50 - 20 Mar 2015 15:53 #29946 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
The V912 isn't flyable at 4 channels either. So V911 4-channels OK, V911 8-channels poor, V912 4-channels bad, V912 8-channels bad. All with WLToys ext.=Off, same ini file except the name and fixedID.

What captures do you need? From the V912 TX or from Devo 7e?

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Last edit: 20 Mar 2015 15:53 by Deal57.

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

More
20 Mar 2015 15:52 #29947 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Captures from the V912 TX.

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

More
20 Mar 2015 15:56 #29948 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
I hope it doesn't have an altered channel hopping sequence or something like that ...

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

More
20 Mar 2015 16:51 #29954 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
Here's the SPI file from a capture of the V912 just binding and sitting for 10 seconds, no movements, no buttons pushed. If this is a format you can use, it is just an export from Salea.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Attachments:

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

More
20 Mar 2015 19:08 - 20 Mar 2015 19:09 #29960 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Can you post a .logicdata file please ? I find that's easier to visualize timings ...
The file may be too large for the forum, use dropbox or something else.
Last edit: 20 Mar 2015 19:09 by goebish.

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

More
20 Mar 2015 19:46 - 20 Mar 2015 19:47 #29962 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
I'll also check rf channel hopping, in the capture, channel sequence for your stock transmitter (ID 0x41687446) is 4C, 92, 42, 88, 38, 7E, 2E, 74, 24, 6A, 2A, 60, 10, 56, 06, 9C. I've to verify if this is what we expect for this tx id...
Last edit: 20 Mar 2015 19:47 by goebish.

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

More
20 Mar 2015 22:02 #29966 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
20 Mar 2015 22:09 - 20 Mar 2015 22:13 #29967 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
That should be enough, thanks :)
(maybe a capture in which you move the cyclic and give a bit of throttle could be cool too)

I'm trying to build the deviation emulator for Windows, that would be easier to check & debug things, but I'm struggling building it.

Is it a known issue, I've searched but not found anything ?

Attachments:
Last edit: 20 Mar 2015 22:13 by goebish.

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

Time to create page: 0.100 seconds
Powered by Kunena Forum