- Posts: 2631
WLToys V912/V915/? protocols
- goebish
- Offline
- I Void Warranties
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"
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
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!!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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])
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
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!
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.
- Deal57
- Offline
- Posts: 857
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
(I'll fix that later if you confirm it works)
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
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.
- Deal57
- Offline
- Posts: 857
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!!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Neeeeed moar captures
(posting in .cvs is fine)
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
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!!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
The file may be too large for the forum, use dropbox or something else.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Bind no moves.logicdata
Top Button Several Times.logicdata
Bottom Button Several Times.logicdata
Hook Up Then Down.logicdata
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
(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 ?
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- WLToys V912/V915/? protocols