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

Flashing to Syma X5SC/X5SC-1 #6

Open
entozoon opened this issue Oct 19, 2017 · 8 comments
Open

Flashing to Syma X5SC/X5SC-1 #6

entozoon opened this issue Oct 19, 2017 · 8 comments

Comments

@entozoon
Copy link

Might this be suitable/feasible to flash to Syma X5SC/X5SC-1 type quadcopters?
That'd be the dream come true for flying acro mode on a cheap medium sized toy drone

@silver13
Copy link
Owner

silver13 commented Oct 20, 2017

there is a syma board with stm32fxxx processor, mine is marked SM-X5S-R , if you have one, then yes, it can be done

@entozoon
Copy link
Author

Yes, my X5SC appears to have the same board!

Syma x5sc

I managed to successfully erase and flash the syma-x5s-r branch to it.. but can't bind the transmitter anymore.

It just slowly pulses a few times, then flashes rapidly forever without binding no matter what I try :(

Any ideas? I feel like I'm so close!

@silver13
Copy link
Owner

silver13 commented Nov 1, 2017

that board looks identical to mine

That is a Beken BK2425? radio, I only coded one protocol for it, and tested it with devo. I haven't got a stock tx for it, so I'm not sure if the code is compatible with it or not

the chip is nrf24l01 compatible, you might be able to make a transmitter for it using something like this
https://github.com/goebish/nrf24_multipro/

@pixel3design-hub
Copy link

BK2425 is similar, but not equal, to NRF24l01.
It needs magic numbers and initialization of Bank0 and Bank1 to be operative.
That's why it doesn't connect anymore.
I wasd trying to solve it but is far beyond my coding knowledge.
BK24xx Library
Found it on GitHub and this is what I saw to solve the problem, but indeed I miserably failed.
If Silver13 is capable (and I know he is) to read the code to integrate it in the branch, I (and many more ppls) will be sooooo happy.

@silver13
Copy link
Owner

silver13 commented Apr 24, 2018

there is rx code for it, I just can't code the protocol because the devo code is a subset of the stock protocol, so it will only bind to devo as far as I know

@silver13
Copy link
Owner

@pixel3design-hub
Copy link

Well... I found and hassle free (I hope) solution.
I'm going to replace the BK2425 with an nRF24l01, as it is supposed to work out of the box...
I'll give it a shot and I'll tell you.
Cheers dude

@roland2025
Copy link

Hi. You can use this code, https://github.com/roland2025/CG023/tree/syma-x5sc

It will bind with stock transmitter, but there are some issues with channel hopping, about 50% of packages get lost.

Received a logic analyser today, so I can soon try to take a look what the stock tx is doing.

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