Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New board for CX-10 #40

Open
soulman301 opened this issue Mar 23, 2018 · 24 comments
Open

New board for CX-10 #40

soulman301 opened this issue Mar 23, 2018 · 24 comments

Comments

@soulman301
Copy link

It looks like the manufacturer recently updated the electronics. The transmitter is still 2.4 GHz, but it seems the connection protocol has changed. Any advice?

@samnockels
Copy link

I would also like some advice with reverse engineering this new protocol.
Here are some pic of the new electronics -> https://imgur.com/a/vCBHihA

@goebish
Copy link
Owner

goebish commented Jun 7, 2018

That's not a good sign, there's only 1 chip in the Tx ... (MCU+RF in the same package), perhaps it's xn297 compatible, you'd need a nrf24l01 sniffer (set 2 byte address to 0x0f,0x71 to try to detect xn297 packets) or an SDR with 2.4GHz capability to check that. If it's xn297 compatible then it can be emulated with the nrf24-multipro. If it's based off LT8910 or something else there's nothing much we can do for now (same as Furibee F36)...

@soulman301
Copy link
Author

There's no guarantee they still have them, but as of mid April Walmart.com was still selling the old version

@samnockels
Copy link

I'm from the UK and can't seem to get hold of one, bought 5 from different sources and all are the new one :( @goebish I'm a newbie in rf, how would I make a sniffer using the nrf24lo1?

@goebish
Copy link
Owner

goebish commented Jun 7, 2018

Send me one if you want (my nickname @gmail.com for address, I'm from France) but I can't promise I'll be able to make it work, if it's using the same kind of transceiver than the F36 there's nothing I can do.

@samnockels
Copy link

Just sent an email :)

@goebish
Copy link
Owner

goebish commented Jun 7, 2018

Ok got it.

@goebish
Copy link
Owner

goebish commented Jun 7, 2018

@soulman301 does yours also have only 1 IC in the TX ?
(and 2 in the quad, [MCU+RF] + MPU).

Also, is it a CX10, CX10D or CX10WD ?

@samnockels
Copy link

@goebish What other drones do you know of that still work?

@goebish
Copy link
Owner

goebish commented Jun 7, 2018

You mean from the compatibility list on the project page ?
All of them except a few CX10 ;)

If you're looking for a good machine take a look at the EAchine E011 or Boldclash BWhoop B03 pro (they're basically the same), they're using the Bayang protocol, same as H8 mini and they can be flashed with Silverware custom firmware for acro mode and other awesome stuffs.

@samnockels
Copy link

Cool, I'll have a look at them. I won't be able to send you the electronics until next week, how would you go about sniffing out xn297 packets? I might as well have a go at it this weekend before I send you it on Monday.

@goebish
Copy link
Owner

goebish commented Jun 8, 2018

I would set the nrf24 address width register to 0 (illegal value according to the datasheet, =2 byte length actually 😉), set RX address to {0x0f,0x71} which is part of xn297 preamble, set it to receive mode with CRC disabled, then listen to every frequencies for one second each with 250kbps and 1Mbps bitrate.
If many similar packets are received that's a good sign, then they've to be unscrambled (xored with the byte array that's in xn297_emu.ino) ... At this point, if everything went fine we have almost as much information as if it was possible to connect a logic analyzer between the MCU and the transceiver.

@goebish
Copy link
Owner

goebish commented Jun 8, 2018

here's a good article if you're interested in sniffing out nrf24 packets:
http://travisgoodspeed.blogspot.com/2011/02/promiscuity-is-nrf24l01s-duty.html
xn297 packets are easy to detect with a nrf24l01 because they always have the same preamble (0xf7155), you don't have to guess the syncword ...

@kpfaulkner
Copy link

Just got myself a CX10... but no luck running this. Guessing I've got a "new one" as well :( Can I do anything to help potentially get this fixed?

@kpfaulkner
Copy link

Just took apart the one I recently got. Similar images to the one shown above, but on the FC it has the marking KY-CX10R-6...

@goebish
Copy link
Owner

goebish commented Jul 12, 2018

If you've an HackRF or any 2.4GHz capable SDR device then send me some captures, or send me one of those new CX10 and its transmitter (without guaranteed results), that's the best I can tell you ;)

@kpfaulkner
Copy link

kpfaulkner commented Jul 12, 2018

Found out a local shop has a JJRC H36 so might bite the bullet and just switch to that for now :) Hopefully I wont have the same issue where they've changed the internals :/ Whats the HackRF? Any links?

@goebish
Copy link
Owner

goebish commented Jul 12, 2018

You mean HackRF ?
https://greatscottgadgets.com/hackrf/

Take care with the E010 / H36, they require to use a nrf24l01 module with an accurate crystal oscillator, those ones work fine: https://www.banggood.com/2_4G-NRF24L01-PA-LNA-Wireless-Module-1632mm-Without-Antenna-p-922601.html

@goebish
Copy link
Owner

goebish commented Jul 12, 2018

But honestly, the E010 and H36 (same machine actually) are underpowered, get a Boldclash BWhoop B03 pro (get the pro, you don't want the version with baro, it's not fun and it's more expensive) or an EAchine E011, you won't regret it.

@kpfaulkner
Copy link

kpfaulkner commented Jul 12, 2018 via email

@kpfaulkner
Copy link

kpfaulkner commented Jul 12, 2018 via email

@goebish
Copy link
Owner

goebish commented Jul 12, 2018

YMMV but most of the modules you linked don't have accurate enough oscillator for the E010 protocol (because of the xn297 emulation @ 250kbps bitrate) and they don't have a power amplifier, so even if it works, the range will be very short. At least you can keep the small power supply board, the board I linked is pin compatible ;)

Flysky protocols require an A7105 transceiver, not a nrf24l01, I reverse engineered the AFHDS 2A protocol some time ago: https://www.deviationtx.com/forum/protocol-development/5251-flysky-afhds-2a-protocol-as-used-i10-i6-it4

@kpfaulkner
Copy link

Any recommendation for the A7105 transeiver? (sorry for hijacking this issue/thread)

@goebish
Copy link
Owner

goebish commented Jul 12, 2018

This one is fine: https://www.banggood.com/A7105-Wireless-RF-2_4GHz-Transceiver-Module-3_3V-Power-Supply-Module-p-909404.html but that's only a RF transceiver, it won't do anything if not connected to a MCU with a proper firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants