The New Hubsans

More
09 Jan 2016 23:52 - 10 Jan 2016 12:54 #41582 by goebish
Replied by goebish on topic The New Hubsans
Thanks dc59, so that's what I thought, the aircraft has to be associated with the transmitter before flying (as any "hobby grade" RX), see chapter 6.3 in the manual (page 13).

I need a dump of the bind stage (named re-linkage in the manual) to see how it works :)
(TX side should be enough) .... then I should have everything required to make it work, but there are a few features that won't work with Deviation because the Devos don't have an integrated GPS: Follow Me, Return Home (not sure, this depends if this is return to take off point or return to TX)...



Also, you'll have to make some captures outside so I can try to check where are battery voltage, altitude, gps coords and other telemetry data.

Ah, and just out of curiosity, can you post pictures of the complete pcb of the transmitter please ?
Last edit: 10 Jan 2016 12:54 by goebish.

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

More
10 Jan 2016 14:42 #41591 by delta75
Replied by delta75 on topic The New Hubsans
i connect RX and TX at analyzer

RX ch 1,3,4
TX ch 5,7,8
Attachments:

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

More
10 Jan 2016 14:46 - 10 Jan 2016 15:20 #41592 by goebish
Replied by goebish on topic The New Hubsans

delta75 wrote: i connect RX and TX at analyzer

RX ch 1,3,4
TX ch 5,7,8


No, that will be a mess to extract, but TX side should be enough as I already have RX side only.
edit: nevermind, that's a good idea after all ;)
Last edit: 10 Jan 2016 15:20 by goebish.

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

More
10 Jan 2016 15:01 #41593 by delta75

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

More
10 Jan 2016 15:11 - 10 Jan 2016 15:14 #41594 by delta75
Replied by delta75 on topic The New Hubsans
TX PCB PICTURE

but.. brocken by tx antenna connector :pinch:
Last edit: 10 Jan 2016 15:14 by delta75.

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

More
10 Jan 2016 15:12 #41595 by goebish
Replied by goebish on topic The New Hubsans
Thanks, now I think I've everything required to make a basic implementation, I'm still not sure if I'll add a protocol format option to the current Hubsan4 protocol or if I'll create a new one.

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

More
10 Jan 2016 15:17 #41596 by delta75
Replied by delta75 on topic The New Hubsans
thanks goebish

i will test outside and i will dump more spi data (TX and RX)

GPS and telemetry

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

More
10 Jan 2016 15:22 - 10 Jan 2016 15:25 #41597 by goebish
Replied by goebish on topic The New Hubsans
There's something I don't understand, how does the Follow Me mode work as there's no gps/compass in the stock transmitter ?
Last edit: 10 Jan 2016 15:25 by goebish.

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

More
10 Jan 2016 15:44 - 10 Jan 2016 16:12 #41599 by goebish
Replied by goebish on topic The New Hubsans
I already found battery voltage telemetry:
packet type ID: 0xE7, 14th byte
I can see you had an almost empty (7.4V) 2S lipo in the aircraft ;)

Also, every 10 TX packets, packet ID cycle through 0xE7, 0xE8, 0xE9 with zero'ed data + checksum.
Last edit: 10 Jan 2016 16:12 by goebish.

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

More
10 Jan 2016 15:47 #41600 by Nuggetz
Replied by Nuggetz on topic The New Hubsans
Wow lots of activity in this thread since I started it. I ordered the new 107P (Upgraded 107L). Anyone know if the protocol change applies to that quad too?

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

More
10 Jan 2016 16:02 - 10 Jan 2016 16:03 #41601 by goebish
Replied by goebish on topic The New Hubsans
The H501S is slightly different, the H107P should already work with hexfet's combo and nightly-default builds ;)
Last edit: 10 Jan 2016 16:03 by goebish.

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

More
10 Jan 2016 16:54 - 10 Jan 2016 17:02 #41602 by delta75
Replied by delta75 on topic The New Hubsans
TX has GPS module,

see picture, battery right side

TX LCD shown Quadcopter GPS and TX GPS
Attachments:
Last edit: 10 Jan 2016 17:02 by delta75.

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

More
10 Jan 2016 16:55 #41603 by delta75
Replied by delta75 on topic The New Hubsans
it's correct, quadcopter battery low

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

More
10 Jan 2016 17:08 - 10 Jan 2016 17:13 #41604 by goebish
Replied by goebish on topic The New Hubsans
Ah OK I can see the GPS now, I suppose GPS data is supposed to be sent via the new packet type IDs, but obviously we'll have to fill this with some zeroes ;)
Last edit: 10 Jan 2016 17:13 by goebish.

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

More
11 Jan 2016 12:16 - 11 Jan 2016 12:28 #41621 by goebish
Replied by goebish on topic The New Hubsans
Here's a test build, please report back :)
It has a H501 protocol format option for Hubsan4 protocol.
It should bind automatically (if it works ...).

Devo 7e
Devo 10

I think vbat telemetry won't work well, but let's be able to bind and control first :)
Last edit: 11 Jan 2016 12:28 by goebish.

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

More
11 Jan 2016 15:29 #41629 by delta75
Replied by delta75 on topic The New Hubsans
oh good

bind ok!

telemetry voltage shown ok (7.4 -> 7.3V)

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

More
11 Jan 2016 15:45 #41630 by delta75
Replied by delta75 on topic The New Hubsans
here more dump

headless off -> on -> off
delta75.myDS.me:5000/fbsharing/L6jaECfV

photo button , record button , photo , record
delta75.myDS.me:5000/fbsharing/nXrnzWsD

LED on -> Off -> on
delta75.myDS.me:5000/fbsharing/PJtyyH1N

altitude hold -> gps hold
delta75.myDS.me:5000/fbsharing/1zms905z

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

More
11 Jan 2016 15:45 #41631 by delta75
Replied by delta75 on topic The New Hubsans
telemetry data

height 0.4m ~ 1.4m (quadcopter up and down)
delta75.myDS.me:5000/fbsharing/TQ92oJPP


heading 111 -> turn left 90 degree -> 90 -> 90 -> 90 ( 1 turn)
111 -> 19 -> 297 -> 214 -> 111
delta75.myDS.me:5000/fbsharing/bMKRbuoH

0 degree : head view left
90 degree : head view front
180 degree : head view right
270 : head view back

pitch -88 -> 88 (head down -> head up)
delta75.myDS.me:5000/fbsharing/qwBN2nrJ


roll -88 -> 90 (roll left -> roll right)
delta75.myDS.me:5000/fbsharing/sjIEYqmJ

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

More
11 Jan 2016 15:46 #41632 by goebish
Replied by goebish on topic The New Hubsans
Thanks, I'll try to add those flags and telemetry data :)
bitbucket.org/goebish/deviationtx/branch/protocol_h501s#diff

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

More
11 Jan 2016 15:48 #41633 by delta75

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

Time to create page: 0.104 seconds
Powered by Kunena Forum