Cheerson CX35

More
01 Jan 2017 15:08 - 01 Jan 2017 15:09 #57422 by goebish
Replied by goebish on topic Cheerson CX35
Yeah ! That's better :)
Now I can see the code of this button (0x10 / 0x30), I suppose the picture in the manual is mislabeled ;)
Last edit: 01 Jan 2017 15:09 by goebish.

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

More
01 Jan 2017 17:32 - 01 Jan 2017 18:21 #57430 by goebish
Replied by goebish on topic Cheerson CX35
New test build (fixed id only), with vTX channel increment on channel 6:
www.dropbox.com/sh/rtlponu4hcctzcr/AABsu...zHk87LdpioQxP7a?dl=0
source

You'll have to overwrite the media/sound.ini file on the Devo file system with the one in the archive to hear the beeps.

Also, that would be nice to know which channel is mapped to which frequency (eg CH1 = 5645 MHz = Boscam "E" band ?) I don't know if it's stated in the manual or if your RF explorer can work in the 5.6-5.9 GHz band to check that.
Last edit: 01 Jan 2017 18:21 by goebish.

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

More
02 Jan 2017 03:46 - 02 Jan 2017 04:06 #57447 by ajtank
Replied by ajtank on topic Cheerson CX35
Tested the new build with the following results:
The FPV channel can be switched in the following order:
ch1 5665MHz ch2 5925MHz ch3 5685MHz ch4 5905MHz
ch5 5645MHz ch6 5945MHz ch7 5705MHz ch8 5885MHz
The selectivity of the FPV receiver is quite bad. It seems purely analogue. For example, the FPV receiver on ch2 can display a clear image transmitted on ch3. I am glad that my RF Explorer can detect the 5.8G band otherwise I might interpret the frequencies incorrectly.

It beeps once on the first press of channel button, no sound on successive presses. I looked at your ini file and it seemed ok with the addition of 8 new beep settings.

Default is ch1 upon power up on the stock transmitter. So it beeps twice for the 1st press since it will switch to ch2.

I have persuaded my friend to get a CX35. I will post the capture of his TX after his quad arrives.
Last edit: 02 Jan 2017 04:06 by ajtank.

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

More
02 Jan 2017 03:50 #57449 by goebish
Replied by goebish on topic Cheerson CX35
You mean the beeps doesn't work ?
It should beep twice the first time you set channel 6 high, then 3 times and so on... I haven't checked on the Devo but it works in the emulator.

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

More
02 Jan 2017 04:01 #57450 by ajtank
Replied by ajtank on topic Cheerson CX35
No, the beeps do not seem to work properly.

I only hear 1 beep on the 1st press. On the 2nd press, I can only hear a soft click sound. Same for the successive presses. So it seems the buzzer has been activated (change of dc causing the click).

Is there anything else I can examine?

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

More
02 Jan 2017 04:02 - 02 Jan 2017 04:12 #57451 by goebish
Replied by goebish on topic Cheerson CX35
No, I'll try to understand why it works in the emulator only.
Maybe it doesn't like the "null" note (xx = 0 Hz in sound.ini) between each beeps.
Last edit: 02 Jan 2017 04:12 by goebish.

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

More
02 Jan 2017 04:28 #57452 by goebish
Replied by goebish on topic Cheerson CX35
Can you try replacing the beep sections in sound ini with that:
[beep_1x]
volume=100
c0=100

[beep_2x]
volume=100
c0=100
d0=100

[beep_3x]
volume=100
c0=100
d0=100
e0=100

[beep_4x]
volume=100
c0=100
d0=100
e0=100
f0=100

[beep_5x]
volume=100
c0=100
d0=100
e0=100
f0=100
g0=100

[beep_6x]
volume=100
c0=100
d0=100
e0=100
f0=100
g0=100
a0=100

[beep_7x]
volume=100
c0=100
d0=100
e0=100
f0=100
g0=100
a0=100
b0=100

[beep_8x]
volume=100
c0=100
d0=100
e0=100
f0=100
g0=100
a0=100
b0=100
c1=100

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

More
02 Jan 2017 04:48 #57453 by goebish
Replied by goebish on topic Cheerson CX35

ajtank wrote: The FPV channel can be switched in the following order:
ch1 5665MHz ch2 5925MHz ch3 5685MHz ch4 5905MHz
ch5 5645MHz ch6 5945MHz ch7 5705MHz ch8 5885MHz


Interesting, that's the Boscam "E" band, but not in the usual order.

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

More
02 Jan 2017 06:56 #57456 by ajtank
Replied by ajtank on topic Cheerson CX35
The buzzer will emit do-re-mi-fa ... etc in a continuous tone. It sounds a bit funny but at least each press gives a distinct feedback tone.

I tried adding a zero volume tone in between successive tones but it did not work, e.g.
c0=100 => 1 beep
c0=100, c0=00, c0=100 => still 1 beep
c0=100, c0=00, c0=100, c0=00, c0=100 => still 1 beep

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

More
02 Jan 2017 08:18 #57460 by FDR
Replied by FDR on topic Cheerson CX35
The value after the equation sign is not the volume, but the duration in ms, that's why you hear it as one beep, however those should be longer...

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

More
02 Jan 2017 10:34 #57462 by ajtank
Replied by ajtank on topic Cheerson CX35
Oh, thanks for pointing it out. Should have read the manual more clearly. Anyway it seems successive beeps with pause in between is not possible.
Attachments:

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

More
02 Jan 2017 13:01 #57465 by goebish
Replied by goebish on topic Cheerson CX35
I should be able to fix that by replacing the blank note (0 Hz) with another tone that can't be heard, eg 10 Hz.

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

More
02 Jan 2017 13:31 - 02 Jan 2017 13:38 #57466 by goebish
Replied by goebish on topic Cheerson CX35
Now it should be fine (tested on my Devo 10), the rest note is now 10Hz instead of 0 , that does the trick :)
www.dropbox.com/sh/rtlponu4hcctzcr/AABsu...zHk87LdpioQxP7a?dl=0
Don't forget to replace sound.ini again.
Last edit: 02 Jan 2017 13:38 by goebish.

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

More
02 Jan 2017 13:48 #57467 by goebish
Replied by goebish on topic Cheerson CX35
Still, that's not very clean and I don't think it is required to make it editable, I think I'll just add a MUSIC_Play_Beep(num) function to the firmware ...

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

More
02 Jan 2017 13:48 - 02 Jan 2017 13:49 #57468 by ajtank
Replied by ajtank on topic Cheerson CX35
Yes it is now perfect for me !!
Last edit: 02 Jan 2017 13:49 by ajtank.

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

More
02 Jan 2017 16:24 - 02 Jan 2017 17:44 #57478 by goebish
Replied by goebish on topic Cheerson CX35
... added a MUSIC_Beep function, so the extra entries in sound.ini are not required anymore.
www.dropbox.com/sh/rtlponu4hcctzcr/AABsu...zHk87LdpioQxP7a?dl=0
changes

I cheated a bit in music.c because I noticed playing a 10Hz tone in the emulator would crash it, while 0 Hz is fine in the emu but not on actual hardware ...
Last edit: 02 Jan 2017 17:44 by goebish.

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

More
02 Jan 2017 17:20 #57482 by goebish
Replied by goebish on topic Cheerson CX35
If you confirm everything is working fine I'll make a pull request as it is, I can add arbitrary tx id later ...

The next protocols I've to work on (CX10D / CX10WD) are also sub-formats of Q303.

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

More
03 Jan 2017 15:33 - 03 Jan 2017 15:33 #57499 by ajtank
Replied by ajtank on topic Cheerson CX35
Thanks for the build. Beep works fine and the aileron has been properly reversed. All the functions work like the stock transmitter.
Thanks also for discovering the discrepancy in the emulator/Devo for the 0/10Hz tone. Your workaround provides a temporary fix. I don't think other users can distinguish between 0Hz and 10Hz during actual operation.
Last edit: 03 Jan 2017 15:33 by ajtank.

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

More
03 Jan 2017 15:49 #57500 by goebish
Replied by goebish on topic Cheerson CX35
Ok, created a pull request.
github.com/DeviationTX/deviation/pull/90

Capture from more transmitters are still welcome, if that's not possible to guess tx id / rf channels mapping from just another capture I'll make a special build for you with a few crafted txid so you can capture on the RX to check which frequencies are expected.

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

More
03 Jan 2017 16:01 - 03 Jan 2017 16:02 #57501 by ajtank
Replied by ajtank on topic Cheerson CX35
I can ship you a spare FC board. Let's see after my friend's quad arrives.
Oh just read your message again, you mean you teach me how to collect info from the receiver?
Last edit: 03 Jan 2017 16:02 by ajtank.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum