Bayangtoys x16 new version (altitude hold)

More
06 Sep 2017 16:27 #64241 by Seb801
Hi I have an new bayangtoys x16, but I'm not able to bind it with my Devo7e (v5.0.0). The copter is the new upgraded version with alttidute hold.
I've tried several protocols (bayang, H8-3D,...) but the copter will not bind.

Maybe one of the experts has an answer or ideas?
In case I could get support from the experts, i would order an logic analyzer and capture the necessary informations out of the TX.

Thanks Seb.

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

More
06 Sep 2017 19:13 - 06 Sep 2017 19:13 #64248 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
First you need to find out which RF chip is used. This usually means screwing open your RTF transmitter and taking pictures of the biggest chips on the pcb. Or read their markings. Post your findings and we'll do the next steps from there.
Last edit: 06 Sep 2017 19:13 by Moeder.

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

More
06 Sep 2017 19:55 #64252 by Seb801
Replied by Seb801 on topic Bayangtoys x16 new version (altitude hold)
Hi Moeder,

i've checked the RF PCB for the chip, its the XN297LBW. Picture is attached.
Attachments:

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

More
07 Sep 2017 16:06 #64277 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
OK, then we need spi captures from the transmitter as the next step. Check this thread for details. You'll need a logic analyzer which can be bought for very little money for example on ebay. Look for salae compatible model, probably the easiest to get started with.

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

More
07 Sep 2017 16:19 #64278 by Seb801
Replied by Seb801 on topic Bayangtoys x16 new version (altitude hold)
I have already ordered an salae compatible analyzer. Also soldered some wires to the RF chip.
Will reply in the next days with the SPI captures.

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

More
09 Sep 2017 16:47 - 09 Sep 2017 19:02 #64302 by Seb801
Replied by Seb801 on topic Bayangtoys x16 new version (altitude hold)
update from today: i have connected the xn297 to the logic analyzer (ch0-CSN; ch1-DATA; ch2-SCK) and captured the binding sequence.
The captured session is about 10sec, TX on after ~1.5sec, initiate binding after ~5sec (binding will be initiated with throttle stick to 100% and 0%). In the altidute hold version the throttle sticks is centerd by default.

I've uploaded the binding session:
www.dropbox.com/s/v223vcbc0dxmo45/bayang...nding.logicdata?dl=0

Also captured stick-movement & buttons:
www.dropbox.com/s/dptbqqwviao5mws/bayang...ticks.logicdata?dl=0
timestamp [sec] stick/button position
5 all center
10 throttle max
15 throttle min
20 yaw right
25 yaw left
30 pitch forward
35 pitch backward
40 roll right
45 roll left
50 rate high
55 rate low
60 take off/landing
65 photo
70 headless
75 camera
Last edit: 09 Sep 2017 19:02 by Seb801. Reason: adittional data

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

More
09 Sep 2017 20:13 #64304 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
Good captures. The protocol is very similar to the baying protocol. I'll try to make first test version for you and will post it later in this thread for you to try out.

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

More
09 Sep 2017 21:06 #64305 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
Ok, this is a first try. In Bayang protocol options select Format "X16-AH". Channel 11 is Take-Off/Landing, the rest is the same mapping as "regular" bayang protocol.

As with any new protocol, please take off props or tie down your quad before testing!
Attachments:

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

More
10 Sep 2017 09:58 #64311 by Seb801
Replied by Seb801 on topic Bayangtoys x16 new version (altitude hold)
Hi Moeder,

thanks for this promt test build. On the desk the devo binds immediately to the copter. Also the reactions to the sticks apperas to be correct.:woohoo:
I will test it under real flight conditions.

Is there any table for the bayang protocol where i can find the channel mapping?

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

More
10 Sep 2017 10:16 - 10 Sep 2017 10:18 #64313 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
    CHANNEL1     // Aileron
    CHANNEL2     // Elevator
    CHANNEL3     // Throttle
    CHANNEL4     // Rudder
    CHANNEL5     // Leds
    CHANNEL6     // Flip
    CHANNEL7     // Still camera
    CHANNEL8     // Video camera
    CHANNEL9     // Headless
    CHANNEL10    // Return To Home
    CHANNEL11    // Take Off/Landing
    CHANNEL12    // Emg. stop

Freut mich das es klappt B)
Last edit: 10 Sep 2017 10:18 by Moeder.

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

More
13 Sep 2017 20:06 #64382 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
So, are you successful?

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

More
14 Sep 2017 18:46 #64413 by Seb801
Replied by Seb801 on topic Bayangtoys x16 new version (altitude hold)
Sorry, not until now. Maybe on the weekend.

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

More
21 Sep 2017 18:52 #64567 by Seb801
Replied by Seb801 on topic Bayangtoys x16 new version (altitude hold)
Sorry for the delay, have tried to fly on weekend.
Unfortunately the copter has some problems to fly. Copter is not able to take off, drifts immediately to the side. Not controlable by TX. Issue is the same with original TX. Checked already the calibration, the props, motors, wiring...
I'm in touch with the seller, a new FCB is shipped. Will replace the FCB as soon as possible.

I haven't checked the flight behavior before. Only done some fundamental cheks (binding, arming...):pinch:

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

More
28 Sep 2017 18:38 #64723 by Seb801
Replied by Seb801 on topic Bayangtoys x16 new version (altitude hold)
Hi,
received the new FCB today. Soldered it and the copter lifts off and stays stable. Hooray!:woohoo:
All simple functions are available with your protocol on my Devo7e.
Will try to add extended functions to the extra switches on weekend (camera, lift off, landing and so on)
Due to evening darkness im not able to test more today.

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

More
30 Sep 2017 16:29 #64748 by Elric
Replied by Elric on topic Bayangtoys x16 new version (altitude hold)

Moeder wrote: Ok, this is a first try. In Bayang protocol options select Format "X16-AH". Channel 11 is Take-Off/Landing, the rest is the same mapping as "regular" bayang protocol.

As with any new protocol, please take off props or tie down your quad before testing!


Hello,

Do you have a version for the DEVO 10?

Thank you for your reply.

Have a good day,

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

More
01 Oct 2017 12:41 #64764 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
I will post the devo 10 build tonight

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

More
01 Oct 2017 19:34 #64771 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
Here's the test build for devo 10. Please give feedback if you are successful. I'm still taking suggestions for the name of the protocol format option ;)
Attachments:

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

More
19 Oct 2017 07:15 #65117 by cosmos
Replied by cosmos on topic Bayangtoys x16 new version (altitude hold)
I have problem about binding Bayang X16 to Multi module(iRangeX IRX4).

You made bin file about DEVO7, Is it suitable for Multi module(I have)?

If it is not suitable, how can I modify the Multi Module's firmware?

Thank you

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

More
19 Oct 2017 13:54 - 19 Oct 2017 14:00 #65126 by goebish
Replied by goebish on topic Bayangtoys x16 new version (altitude hold)
Hi cosmos,

I think this protocol is still under test.
I'm following this thread, once the (sub)protocol has been thoroughly tested and the source code merged I'll add it to the 4-in-1 Multi Module's firmware if Pascal (Multi Module repository owner) doesn't do it ;)
Last edit: 19 Oct 2017 14:00 by goebish.

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

More
19 Oct 2017 20:01 #65135 by Moeder
Replied by Moeder on topic Bayangtoys x16 new version (altitude hold)
@goebish: would you mind making a mm testbuild from my changes ? Users of this new protocol seem to be rare, so maybe together we can finish it faster ;)

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

Time to create page: 0.073 seconds
Powered by Kunena Forum