CX10-C camera button captures

More
21 Nov 2015 13:50 #40270 by Edwin
CX10-C camera button captures was created by Edwin
Hi all,

My cx10-c flies great with the cx-10 blue-A protocol, I just cannot figure out how to control the camera with my devo 7e. As I understand it the specific control has not been implemented yet in the protocol.

I have made three spi captures on the stock transmitter with my new logic analyser :

- binding of cx10-c to stock transmitter
- 3 times pressing the camera button (takes a snapshot to sd card)
- 4 times pressing the video button (alternately starts and stops the video recording)

the files are here : drive.google.com/file/d/0Bxf-446WD7Euand...OVE/view?usp=sharing

I do not have the skill to figure the protocol out but hope that someone can use these files.
Please note that is the first time using this logic analyser so if something is wrong please let me know.

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

More
21 Nov 2015 18:00 #40279 by hexfet
Replied by hexfet on topic CX10-C camera button captures
Please export from the SPI decoder. The csv file should look like
Time [s]   Packet ID	MOSI	MISO
0.112485	0	0x3F	0x0E
0.112519	0	0x4C	0x00
0.112553	0	0x84	0x00
0.112587	0	0x67	0x00
0.112622	0	0x9C	0x00
0.112656	0	0x20	0x00
0.112692	1	0x3E	0x0E
0.112725	1	0xC9	0x00

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

More
22 Nov 2015 10:12 #40291 by goebish
Replied by goebish on topic CX10-C camera button captures
As hexfet says, your files are not exploitable, export from the spi decoder:


or save the whole capture:

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

More
22 Nov 2015 22:06 #40299 by Edwin
Replied by Edwin on topic CX10-C camera button captures
Thanks for the feedback, just re-exported the files and also added the .logicdata saved files.

The files are here : drive.google.com/file/d/0Bxf-446WD7EuZVp...TUE/view?usp=sharing

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

More
23 Nov 2015 12:27 #40311 by goebish
Replied by goebish on topic CX10-C camera button captures
Thanks, I'll have a look at that, shouldn't be difficult :)

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

More
23 Nov 2015 13:37 - 23 Nov 2015 19:50 #40312 by goebish
Replied by goebish on topic CX10-C camera button captures
Here's a test firmware for 7e, based on latest nightly:
www.dropbox.com/s/n7z2gdxtqrezjqk/deviat...0.1-053a053.zip?dl=0
source: bitbucket.org/goebish/deviationtx/branch/CX10A#diff

There's a new CX10 protocol format option: "C", channel 7 controls snapshot, channel 8 controls video recording.

Please report :)
Last edit: 23 Nov 2015 19:50 by goebish.

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

More
23 Nov 2015 15:31 #40314 by Edwin
Replied by Edwin on topic CX10-C camera button captures
wow, that's fast.

I will test it tonight and report back.

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

More
23 Nov 2015 19:36 #40318 by Edwin
Replied by Edwin on topic CX10-C camera button captures
hi goebish,

just tested your build, set the protocol to type C and assigned channel 7 and 8 to a switch
- video on channel 8 works great it works both for toggling video on/off if pressed for a short time or it will record as long as the button is pressed for a longer time and stops when you let go.
- snapshot on channel 7 does not seem to do anything unfortunately...

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

More
23 Nov 2015 19:38 #40319 by goebish
Replied by goebish on topic CX10-C camera button captures
ok, I'll try to understand why snapshot doesn't work.

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

More
23 Nov 2015 19:49 #40320 by goebish

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

More
23 Nov 2015 22:28 - 23 Nov 2015 22:29 #40325 by Edwin
Replied by Edwin on topic CX10-C camera button captures
Now the snapshot works as well, nice job! It does seem to lvc sooner but that just might be from all the testing

I will fully charge the quad and check once more
Last edit: 23 Nov 2015 22:29 by Edwin.

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

More
23 Nov 2015 22:29 #40326 by goebish
Replied by goebish on topic CX10-C camera button captures
LVC has nothing to do with tx, it's only on rx side.

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

More
23 Nov 2015 23:14 - 23 Nov 2015 23:16 #40327 by Edwin
Replied by Edwin on topic CX10-C camera button captures
Correct, just tested it and it still does 2:30 - 3:00 of continuous video from full to flashing from low voltage (which also stops the video recording). That's the same as with stock tx.

thanks a lot !
Last edit: 23 Nov 2015 23:16 by Edwin.

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

More
23 Nov 2015 23:15 - 25 Nov 2015 12:39 #40328 by goebish
Replied by goebish on topic CX10-C camera button captures
ok, created a pull request

edit: declined this one
Last edit: 25 Nov 2015 12:39 by goebish.

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

More
25 Nov 2015 12:38 - 26 Nov 2015 20:35 #40376 by goebish
Replied by goebish on topic CX10-C camera button captures
Hi, I noticed that I made a mistake, I updated an old branch of mine instead of hexfet's latest one with q282 and mouldking protocols ...

Here's a correct one, can you test it please ?
www.dropbox.com/s/cz9bez799imn041/deviat...0.1-093e68f.zip?dl=0
source: bitbucket.org/goebish/deviationtx/branch/protocol_q282

I removed "C" protocol format option, it's useless, just use "Blue-A" protocol, I checked that the new flags don't disturb the "old" blue.
Last edit: 26 Nov 2015 20:35 by goebish.

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

More
26 Nov 2015 20:27 #40409 by Edwin
Replied by Edwin on topic CX10-C camera button captures
Hi, just updated and set the protocol to blue-a, the quad flies but ch 7 and 8 do not seem to do anything anymore :(

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

More
26 Nov 2015 20:29 #40410 by goebish
Replied by goebish on topic CX10-C camera button captures
ah ok, I see my mistake... I'll fix it.

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

More
26 Nov 2015 20:34 #40411 by goebish

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

More
26 Nov 2015 20:39 #40413 by Edwin
Replied by Edwin on topic CX10-C camera button captures
Cool, now it works as before. Thanks !

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

Time to create page: 0.064 seconds
Powered by Kunena Forum