- Posts: 12
Porting syma x5c-1 protocol to arduino
- ahuttere@gmail.com
- Topic Author
- Offline
Or have code that do this may be with another protocol.
I use and arduino one and nrF24L01+.
Thanks
Ariel.
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
I did it slightly differently in this project , changing the functions in NRF24L01.c to use the different hardware. It's not Arduino but may give you some ideas.
Please Log in or Create an account to join the conversation.
- ahuttere@gmail.com
- Topic Author
- Offline
- Posts: 12
Please Log in or Create an account to join the conversation.
- ahuttere@gmail.com
- Topic Author
- Offline
- Posts: 12
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- ahuttere@gmail.com
- Topic Author
- Offline
- Posts: 12
Any address is a "legal address" to the rx_tx_address for X5C-1????
Thanks
Please Log in or Create an account to join the conversation.
- ahuttere@gmail.com
- Topic Author
- Offline
- Posts: 12
When i do binding the quads leds stop blinking until the symax_init2() function is called.
In this function the Channels address are calculated.
After this the leds blink slowlly again.
What's my problem? Some Sugestions?
Thanks
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
The LEDs stopping indicates the quad's receiving your transmission. Maybe the new channel sequence is not being set or the new tx address in the radio before going to data phase?
Please Log in or Create an account to join the conversation.
- ahuttere@gmail.com
- Topic Author
- Offline
- Posts: 12
Or you 'sniffs' RF?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
The global chans holds the rf channels currently in use for both bind and data phases.
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- ahuttere@gmail.com
- Topic Author
- Offline
- Posts: 12
My computer send commands to the Quad Througth the arduino.
Include video and pictures
Thanks Guys.
Please Log in or Create an account to join the conversation.
- smonkeys
- Offline
- Posts: 1
Could you share the code, if you don't mind?
Please Log in or Create an account to join the conversation.
- tjkim93
- Offline
- Posts: 4
I opened the codes and schematics.
Click blog.naver.com/pinggusoft/220325466118 for more details.
You can find the application (BTCon4Drone) at play.google.com/store/apps/details?id=com.pinggusoft.btcon
Hope they will help.
Please Log in or Create an account to join the conversation.
- Mukherji
- Offline
- Posts: 1
Please Log in or Create an account to join the conversation.
- stevesheff
- Offline
- Posts: 5
Bit of help from those that have got this working pls.
I am fairly new to Arduino's and my coding is rusty but good enough to follow the flow of the program. I am a little stumped as to checking if the Arduino is actually communicating and what values I can enter to command it. I am new to the specific RC control methods as well so bit unsure of whether it is connected (don't think so) and then what values I need to enter to get it to respond, say throttle up.
I have uploaded the code and got it compiled in the Arduino ide. I think I have an X5C-1 rather than the normal X5C, XYMA in Red on top and X5C there as well.
The code in the Serial Monitor goes through 'symax_init' and 'symax_init1' then stops at 'symax_init2' after iterating through the 'SYMAX_BIND3' (is this where it is trying to check for an open channel and connect?)a lot of times. and if I enter a value in the Serial Monitor (not sure what values to enter - help here pls) I get the ;Received; and the parsed values.
The X5C itself only goes from very fast blinking initially to slow blinking (which makes me think it hasn't connected)
Some clues please to working out the connection and then if I can get that, how or more precisely what values I could send to get it to respond.
Any help welcome.
rgs Steve
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Porting syma x5c-1 protocol to arduino