Devo10 ESky protocol draft

More
09 May 2014 15:57 #23071 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
Yea, that's implied. Sorry for the confusion.

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

More
09 May 2014 16:33 #23072 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft

victzh wrote: Yea, that's implied. Sorry for the confusion.


Ok I just finished to solder some tiny wires as probes ....

1mm step between pins .... I had to be precise ... Hope Now I will capture the signal...

I will try to record the binding procedure ... switch on first the heli than run recording then switch on TX

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

More
09 May 2014 18:17 #23075 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
You're fast! Seems to be you're motivated ;-)

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

More
09 May 2014 18:55 #23076 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft
Yes I am motivated :)

Ok here is the first zip of the sniffing

mon-partage.fr/f/QxVdIe59/

I binded the heli then play with right stick (circular movement)
then play at then end with left stick ... (low throttle values)

I hope I didn't swap between MISO and MOSI .... I think no

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

More
10 May 2014 06:46 #23103 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
Sorry, something is very wrong with your SPI trace. MOSI is always 0, and MISO is very strange.

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

More
10 May 2014 07:09 #23104 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft

victzh wrote: Sorry, something is very wrong with your SPI trace. MOSI is always 0, and MISO is very strange.


Ok I should a bad contact somewhere ... I will try to capture a new session and save the logig analyser session too

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

More
10 May 2014 07:25 #23105 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft
Ok the new one ... with the session


mon-partage.fr/f/CHJcl4fC/

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

More
10 May 2014 12:34 #23110 by PhracturedBlue
Replied by PhracturedBlue on topic Devo10 ESky protocol draft
it looks fine to me now. Note that the MOSI and MISO are backwards, but that is trivially handled. I haven't been following alomg though, so victzh will need totell you if it is what he needs

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

More
11 May 2014 03:55 #23127 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
Yes, it seems to be backwards, but it's OK, I'll fix the decoding script.

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

More
11 May 2014 05:17 #23129 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
This trace is OK.

What I've figured so far:
Data rate - 2Mbps, CRC - 2 byte, address length - 4 bytes
Packet period - 4.8ms, packet length - 15 bytes
Transmits on two channels which are 40 channels apart (original ESky transmits on two channels 37 ch apart) every packet changes the channel.

Packet structure:
byte 0: channel 1
byte 1: channel 2
bytes 2-3: throttle value, big endian 1001-2000, middle 1500
bytes 4-5: stick value (aileron), same
bytes 6-7: stick value (elevator), same
bytes 8-9: stick value (rudder), same
bytes 10-13: always 00 d8 18 f8, may be 2 extra channels, not used
byte 14: sum of all other bytes in the packet

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

More
11 May 2014 05:44 #23130 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
SeByDocKey, what else I need from you - another trace. I have not seen binding, so we can't make the protocol. Please make another trace as it was the last time - your soldering is good. This trace can be just as the last one, I need to verify the channels and TX address.

Then make the binding trace - set trigger on CSN going down first so that you don't write empty stuff. Bind the heli as if it was not bound - I don't have more specific instructions because I did not find ESky 150 manual.

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

More
11 May 2014 07:09 #23133 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft

victzh wrote: SeByDocKey, what else I need from you - another trace. I have not seen binding, so we can't make the protocol. Please make another trace as it was the last time - your soldering is good. This trace can be just as the last one, I need to verify the channels and TX address.

Then make the binding trace - set trigger on CSN going down first so that you don't write empty stuff. Bind the heli as if it was not bound - I don't have more specific instructions because I did not find ESky 150 manual.



Well is strange coz I first switch on the heli then recording and then power on the TX and the it was binding ....

I will do another one in the case of ...

"trigger on CSN goind down" ? How to proceed ?

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

More
11 May 2014 07:17 #23134 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft
Ok ... hope with this one will be useful ...

mon-partage.fr/f/YFTGOXYF/

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

More
12 May 2014 05:41 #23152 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
Sorry to disappoint you, this trace shows that you did not touch the sticks ;-) but I failed to figure out how the binding is done.

It's probably the case when we need another TX for comparison. I will ask in RCGroups forum, may be there are people like you who are not afraid to break their TX with soldering iron. I'm afraid if I order it from Banggood it will be another month or so, and I have so many models I physically don't have time to fly that only take space and bother my wife...

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

More
12 May 2014 06:45 #23153 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft

victzh wrote: Sorry to disappoint you, this trace shows that you did not touch the sticks ;-) but I failed to figure out how the binding is done.

It's probably the case when we need another TX for comparison. I will ask in RCGroups forum, may be there are people like you who are not afraid to break their TX with soldering iron. I'm afraid if I order it from Banggood it will be another month or so, and I have so many models I physically don't have time to fly that only take space and bother my wife...


Ok maybe, I will try to switch on first the TX than after the helo .... maybe the binding procedure will be more visible ...

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

More
12 May 2014 07:05 #23154 by SeByDocKy

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

More
16 May 2014 07:05 #23274 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
OK, here is the build for Devo 10 with a new protocol, ESky150. Can you check that it binds and controls your heli? It's 4 channel only because I don't know what extra buttons and switches it has.

I did not try it myself - I don't have a heli.
Attachments:

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

More
16 May 2014 07:18 #23275 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft

victzh wrote: OK, here is the build for Devo 10 with a new protocol, ESky150. Can you check that it binds and controls your heli? It's 4 channel only because I don't know what extra buttons and switches it has.

I did not try it myself - I don't have a heli.



Bad news ... :( Doesn't bind ....

I don't know if it's normal, but when I press bind button, nothing happened on the TX. Usually, there is a timer

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

More
17 May 2014 04:35 #23295 by victzh
Replied by victzh on topic Devo10 ESky protocol draft
Timer is OK - ESky 150 does not have a separate bind phase, so it's actually reinit, I will fix this as well.

I made a mistake analyzing the protocol, let's try once more. Check the attachment.
Attachments:

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

More
17 May 2014 11:28 #23298 by SeByDocKy
Replied by SeByDocKy on topic Devo10 ESky protocol draft

victzh wrote: Timer is OK - ESky 150 does not have a separate bind phase, so it's actually reinit, I will fix this as well.

I made a mistake analyzing the protocol, let's try once more. Check the attachment.



Hi Victzh,

It's binding successfully :) that the good news ....

The bad new I broke again my MM :(. I wanted to make a slight ajustement ... and a CC2500 pin broke ... I am so unlucky :(

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

Time to create page: 0.067 seconds
Powered by Kunena Forum