- Posts: 174
New Hubsan Upgraded Version on the way
- midelic
-
- Offline
Less
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.
On frsky you have every 3 tx frames one rx frame for telemetry..all frames sent every 9ms.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
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.
- midelic
-
- Offline
Less
More
- Posts: 174
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..
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
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.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
27 Dec 2013 18:43 #17133
by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
- Daryoon
-
- Offline
Less
More
- Posts: 260
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.
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.
- midelic
-
- Offline
Less
More
- Posts: 174
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.
- Xermalk
-
- Offline
Less
More
- Posts: 181
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.
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.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
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.
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.
- midelic
-
- Offline
Less
More
- Posts: 174
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.
_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.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
27 Dec 2013 19:30 #17142
by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
No, let me have a lunch and I'll crack itmidelic wrote: Anyway it was too good to be true..
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
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
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.
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
Last edit: 27 Dec 2013 19:57 by goebish.
- midelic
-
- Offline
Less
More
- Posts: 174
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?
- midelic
-
- Offline
Less
More
- Posts: 174
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.
- Daryoon
-
- Offline
Less
More
- Posts: 260
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.
Insert a new lipo. And it will show 4.19v again.
- midelic
-
- Offline
Less
More
- Posts: 174
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.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
27 Dec 2013 21:01 #17149
by goebish
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
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
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
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
speedy.sh/ZMznc/raw-data.zip
- midelic
-
- Offline
Less
More
- Posts: 174
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.
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.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
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 ?
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.
Time to create page: 0.374 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- New Hubsan Upgraded Version on the way