New Hubsan Upgraded Version on the way

More
27 Dec 2013 17:38 #17122 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
For telemetry hubsan should be in rx mode.I'm curious how they squeezed the telemetry packets in.Every packet frame is sent every 10ms.
On frsky you have every 3 tx frames one rx frame for telemetry..all frames sent every 9ms.

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

More
27 Dec 2013 17:41 - 27 Dec 2013 17:53 #17123 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Yes, it probably goes into RX mode every x frames, I'm waiting for a longer log to confirm, there are 157 frames (1.57 seconds) in the log Daryoon posted, but not one is in RX mode.
Last edit: 27 Dec 2013 17:53 by goebish.

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

More
27 Dec 2013 18:32 #17131 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
I had a look on the pcb .the setup is different than the normal Rf module we know ,there are 2 pcb antenna one for tx mode after the PA and one for RX mode? just before..

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

More
27 Dec 2013 18:33 - 27 Dec 2013 18:34 #17132 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
It was already the same setup in the h107-l tx, 2 pcb antennas.
Last edit: 27 Dec 2013 18:34 by goebish.

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

More
27 Dec 2013 18:43 #17133 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

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

More
27 Dec 2013 18:45 - 27 Dec 2013 19:02 #17134 by Daryoon
Replied by Daryoon on topic New Hubsan Upgraded Version on the way
Not sure what you mean by "Hubsan should be in RX mode" but the X4 quad was turned on when I captured the data. And the bind was successful.

Anyways, I did a longer capture. Shot video at the same time. Will link to that once it's uploaded.

Until then, summary of what I did:

Start video record and LA capture at the same time.
Turn on TX.
Plug in X4 lipo.
Press trim button down to turn off lights. Then press again to turn back on.
Press right stick in to switch to expert mode. Then switch back to normal.

Then I went into the Main Menu.
Then started to switch the frequency. It was at 5740Mhz. Proceeded to switch to the next frequency every ~2secs.

5735Mhz
5745Mhz
5750Mhz
5755Mhz
5760Mhz
5765Mhz
5770Mhz
5775Mhz
5780Mhz

LA capture completed 1B capture. So I switched off TX.

Hopefully you can see a pattern.

If not, I can repeat and go through all the frequencies with a longer capture window.

Additional info: Telemetry data should be enabled because I can see lipo voltage on the TX LCD.

Download: app.box.com/s/l5d08j2lqomy9u5bpux0

Video:
Sorry about the low quality. Was messing with the software to keep the bitrate low...but I didn't think it was going to be THIS low. Upside, the video file was quick to upload to YouTube. :)
Last edit: 27 Dec 2013 19:02 by Daryoon.

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

More
27 Dec 2013 18:55 - 27 Dec 2013 18:57 #17137 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
I think there is no telemetry.Maybe that voltage is from 5.8GHZ Rx module power supply.The tx was on,.... in 157 frames you should see the telemetry packets.
Last edit: 27 Dec 2013 18:57 by midelic.

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

More
27 Dec 2013 18:59 - 27 Dec 2013 19:00 #17138 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
So they are sending telemetry and video with the 5.8 link?

Because they are not using a osd on the 5.8 ghz video.
The osd is added on the lcd by the tx. It doesn't show when recording with the tx. Or when using your own reciever.

And the voltage displayed is the quad battery voltage.
Last edit: 27 Dec 2013 19:00 by Xermalk.

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

More
27 Dec 2013 19:03 - 27 Dec 2013 19:04 #17140 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Or maybe my decoder doesn't decode Rx frames... I just had a look at the previous log and can't see the Rx frames in the bind stages, there's a bug in my "decoder".
Time for diner, I'll have a look after.

I doubt the telemetry comes from the 5.8GHz link.
Last edit: 27 Dec 2013 19:04 by goebish.

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

More
27 Dec 2013 19:12 - 27 Dec 2013 19:14 #17141 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
If spi you should see at least the RX strobe commands when going in rx mode
_spi_strobe(0xC0);0xC0
plus the timing every frame is sent every 10ms if there is no delay in between sent frames there is no telemetry.
Anyway it was too good to be true..

I think that voltage in the screen is tx internal voltage maybe from 5.8Ghz rx module...feed into mcu for monitoring.
Last edit: 27 Dec 2013 19:14 by midelic.

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

More
27 Dec 2013 19:30 #17142 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

midelic wrote: Anyway it was too good to be true..

No, let me have a lunch and I'll crack it :evil:

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

More
27 Dec 2013 19:53 - 27 Dec 2013 19:57 #17143 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Something is starting to emerge, looks like there are 4 tx frames then 1 rx frame ;)
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2a db  
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2a db 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Rx: ff 5f 00 33 00 13 00 01 00 00 00 01 2a 00 50 f0 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2a db 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Rx: ff 5c 00 34 00 13 00 00 00 00 00 01 2a 00 53 f0 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2b da 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2b da 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2b da 
Rx: ff 56 00 35 00 13 00 00 ff ff 00 01 2a 00 5a f0 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2b da 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 33 00 2a dc 
Tx: 20 00 00 00 80 00 80 00 80 0e 19 00 34 00 2b da 
Rx: ff 54 00 36 00 13 00 02 00 00 00 01 2a 00 57 f0
I know I still have missing frames... I've to stare at the raw spi bus dump and work on my decoder a little more.
Last edit: 27 Dec 2013 19:57 by goebish.

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

More
27 Dec 2013 20:00 #17144 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
You said you use some program to "arrange" data.Which program you use?

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

More
27 Dec 2013 20:09 #17145 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
That F0 at the end of rx frame maybe is the rx pointer reset strobe command 0xf0.

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

More
27 Dec 2013 20:14 #17146 by Daryoon
Replied by Daryoon on topic New Hubsan Upgraded Version on the way
I know for certain that the voltage displayed on the screen is the X4 lipo. Because you will see it go down. At 3.7v, you give throttle and it'll pull it down to 3.3v. Then come back up when you let go of the throttle.

Insert a new lipo. And it will show 4.19v again.

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

More
27 Dec 2013 20:18 #17147 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
Yes Daryoon .it is clear now.There is telemetry every 4 tx packet frame there is one telemetry frame.I'm/was curious how they insert telemetry packets.

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

More
27 Dec 2013 21:01 #17149 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

midelic wrote: You said you use some program to "arrange" data.Which program you use?


Simple homemade code (C/Qt) that parse the salae logic spi decoder output, here's the code if you want to use it, takes data.txt as input.
pastebin.com/RhgkmZVP

And here's the data Daryoon has uploaded in Salae spi decoder output format:
speedy.sh/cAFys/data.zip

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

More
27 Dec 2013 21:05 #17151 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
And here's the raw spi bus data dump in a bin file:
speedy.sh/ZMznc/raw-data.zip

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

More
27 Dec 2013 21:11 #17153 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
Oho,
thank you!Now is easier.
I couldn't do it myself here.I'm at work on company computer no administrative right cannot install programs.
Now is better.I can have a look.

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

More
27 Dec 2013 21:34 - 27 Dec 2013 21:38 #17155 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
@Daryoon, I'm sorry but I think there was a problem with your latest dump, 27 first seconds are OK, I can see the frames where you enable/disable LEDs but there're big holes in the dump after that.

Is your logic analyzer plugged directly on an usb port or is it on a hub ?
Last edit: 27 Dec 2013 21:38 by goebish.

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

Time to create page: 0.086 seconds
Powered by Kunena Forum