New Hubsan Upgraded Version on the way

More
28 Dec 2013 19:24 #17327 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
Im fairly sure that the hubsan 107D tx works with the older models.
Though not sure on if it detects them and disables telemetry.

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

More
28 Dec 2013 19:48 - 28 Dec 2013 19:56 #17329 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

PhracturedBlue wrote:

goebish wrote: Work in progress...

Will this cause any issues with the older hubsan models, or did you define it as a new protocol?


Looks like it doesn't cause any issue with my H107L, no need for a new protocol.

I Think there's still a bug with .ini saving (not tx.ini but models), at least with the [protocol_opts] section, here's what I have in a model file using PPMOUT:
[protocol_opts]
Center PW=
Delta PW=G
Notch PW=G	± pG
Frame Size=
empty values and garbage.

and the protocol_opts in my hubsan model:
[protocol_opts]
vTX MHz=
No value saved, that explains why the last firmware I uploaded resets to 5885 (the default value I set) at power on.
Last edit: 28 Dec 2013 19:56 by goebish.

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

More
28 Dec 2013 20:00 - 28 Dec 2013 20:00 #17330 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

Xermalk wrote: Sure, ill test it once you have fixed it :) can i step it in 1 mhz steps? Or its using 5mhz just like hubsan?

And whats the lowest frequency it allows? Id love to see if i can get the vtx to send on frequencies lower then the ones hubsans tx allows.


You can try it, just that the vtx freq won't be saved when TX is powered down.
It has 1MHz steps and 5645-5945MHz range.
Last edit: 28 Dec 2013 20:00 by goebish.

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

More
28 Dec 2013 20:21 - 28 Dec 2013 20:36 #17332 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
Noo , my 107D exploded in a ball of fire :ohmy: .

Jokes aside, IT WORKS. I have video on 5645 :woohoo:

Edit: Any way that one could step 50 mhz at a time in the selection box?
Going from 5645 -> 5945 1 mhz at a time takes a while heh :P .
Last edit: 28 Dec 2013 20:36 by Xermalk.

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

More
28 Dec 2013 20:27 #17333 by PhracturedBlue
Replied by PhracturedBlue on topic New Hubsan Upgraded Version on the way

goebish wrote: I Think there's still a bug with .ini saving (not tx.ini but models), at least with the [protocol_opts] section, here's what I have in a model file using PPMOUT:

[protocol_opts]
Center PW=
Delta PW=G
Notch PW=G	± pG
Frame Size=
empty values and garbage.

I introduced that when I added support for step-size. It should be fixed in my most-recent commit.

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

More
28 Dec 2013 20:46 - 28 Dec 2013 20:54 #17337 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

PhracturedBlue wrote: I introduced that when I added support for step-size. It should be fixed in my most-recent commit.


Looks like there's still a bug, the values are saved in the model.ini file now but not red back (confirmed with PPMOUT which resets to its protocol options default values).
Last edit: 28 Dec 2013 20:54 by goebish.

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

More
28 Dec 2013 20:49 #17338 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

Xermalk wrote: Noo , my 107D exploded in a ball of fire :ohmy: .

Jokes aside, IT WORKS. I have video on 5645 :woohoo:

Edit: Any way that one could step 50 mhz at a time in the selection box?
Going from 5645 -> 5945 1 mhz at a time takes a while heh :P .

Maybe 5MHz steps would be enough ? You could still edit the .ini if you want to fine tune.

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

More
28 Dec 2013 21:00 #17341 by PhracturedBlue
Replied by PhracturedBlue on topic New Hubsan Upgraded Version on the way

goebish wrote:

PhracturedBlue wrote: I introduced that when I added support for step-size. It should be fixed in my most-recent commit.


Looks like there's still a bug, the values are saved in the model.ini file now but not red back (confirmed with PPMOUT which resets to its protocol options default values).

That one is now fixed too. Sorry.

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

More
28 Dec 2013 21:04 - 28 Dec 2013 21:06 #17342 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
Some telemetry packets can be useful later(sorry that I'm not so much into changing channels):
1:(0xE0),(0xFF),(0xF7),(0x00),(0x02),(0x00),(0x13),(0x00),(0x00),(0xFF),(0xFF),(0x00),(0x00),(0x00),(0x00),(0x17),
2:(0xE1),(0x00),(0x00),(0x00),(0x00),(0x00),(0x30),(0xFE),(0xBD),(0x00),(0x62),(0x03),(0xDF),(0x2A),(0x00),(0xC6),
3:(0xE0),(0xFF),(0xD9),(0x00),(0x0C),(0x00),(0x13),(0x00),(0x00),(0xFF),(0xFF),(0x00),(0x00),(0x2A),(0x00),(0x01),
4:(0xE1),(0x00),(0x00),(0x00),(0x00),(0x00),(0x30),(0xFE),(0xBD),(0x00),(0x62),(0x03),(0xE1),(0x2A),(0x00),(0xC4),
5:(0xE0),(0xFF),(0xBF),(0x00),(0x15),(0x00),(0x13),(0x00),(0x00),(0x00),(0x01),(0x00),(0x01),(0x2A),(0x00),(0x0E),
6:(0xE1),(0x00),(0x00),(0x00),(0x00),(0x00),(0x30),(0xFE),(0xBD),(0x00),(0x61),(0x03),(0xDE),(0x2A),(0x00),(0xC8),
7:(0xE0),(0xFF),(0xAB),(0x00),(0x1B),(0x00),(0x13),(0x00),(0x03),(0x00),(0x00),(0x00),(0x00),(0x2A),(0x00),(0x1B),
8:(0xE1),(0x00),(0x00),(0x00),(0x00),(0x00),(0x30),(0xFE),(0xBE),(0x00),(0x61),(0x03),(0xDE),(0x2A),(0x00),(0xC7),
9:(0xE0),(0xFF),(0x9A),(0x00),(0x20),(0x00),(0x13),(0x00),(0x00),(0x00),(0x01),(0x00),(0x00),(0x2A),(0x00),(0x29),
10:(0xE1),(0x00),(0x00),(0x00),(0x00),(0x00),(0x30),(0xFE),(0xBD),(0x00),(0x61),(0x03),(0xE0),(0x2A),(0x00),(0xC6),
11.(0xE0),(0xFF),(0x8B),(0x00),(0x25),(0x00),(0x13),(0xFF),(0xFF),(0xFF),(0xFE),(0x00),(0x00),(0x2A),(0x00),(0x39),
12:(0xE1),(0x00),(0x00),(0x00),(0x00),(0x00),(0x30),(0xFE),(0xBE),(0x00),(0x61),(0x03),(0xE0),(0x2A),(0x00),(0xC5),
Last edit: 28 Dec 2013 21:06 by midelic.

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

More
28 Dec 2013 21:10 - 28 Dec 2013 21:38 #17343 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Seems to work now, thanks :)

Can someone test those versions ? 1MHz steps:

Devo 10:
speedy.sh/6XAGn/devo10.dfu

Devo 7e:
speedy.sh/WpMs6/deviation-devo7e-Unknown.zip

If that's OK I'll clean my code and make a pull request.
Last edit: 28 Dec 2013 21:38 by goebish.

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

More
28 Dec 2013 21:12 #17344 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
No problem Midelic, I read your posts :)

Frequency changing is almost done (just need testing).

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

More
28 Dec 2013 21:54 #17348 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
Grabbing the devo 10 version now. Will edit once i have tested.

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

More
28 Dec 2013 22:02 - 28 Dec 2013 22:03 #17350 by midelic
Replied by midelic on topic New Hubsan Upgraded Version on the way
Telemetry is more useful for my code.I'm thinking on something.If monitoring the hubsan lipo battery I can attach a buzzer(or LED )on tx module and I'll now when is time to bring hubsan quad home.Like a lipo monitor but on tx.Maybe I can do the same with flysky.
Last edit: 28 Dec 2013 22:03 by midelic.

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

More
28 Dec 2013 22:06 - 28 Dec 2013 22:06 #17351 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
Devo 10, binds to quad, sets video frequency and remembers the frequency when shutting the tx of.

Everything seems to be working, now we need telemetry as theres no low voltage beep from the 107D quad ;)


Is ther anyway you could add a button next to the frequency selection that adds or removes 50 or 25 from the current set frequency?
Last edit: 28 Dec 2013 22:06 by Xermalk.

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

More
28 Dec 2013 22:11 - 28 Dec 2013 22:14 #17352 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way

Xermalk wrote: Is ther anyway you could add a button next to the frequency selection that adds or removes 50 or 25 from the current set frequency?


No I can't, but maybe 5MHz steps is OK ?
speedy.sh/BRPcx/devo10.dfu
Last edit: 28 Dec 2013 22:14 by goebish.

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

More
28 Dec 2013 22:14 - 28 Dec 2013 22:14 #17353 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
5 MHz steps should be ok, but ill stick to the 1 mhz one for now.
Ill be doing some range testing to see if the frequencies are exact on my boscam rx or if a slight adjustment makes a difference for range.

Turning in for tonight, need to prepare tomorrow morning for the indoor fly.
Last edit: 28 Dec 2013 22:14 by Xermalk.

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

More
28 Dec 2013 22:16 - 28 Dec 2013 22:17 #17355 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
ok, I'm waiting that a Devo 7e user confirms it works, there's still the dreaded 5945MHz issue with Daryoon's TX.
Last edit: 28 Dec 2013 22:17 by goebish.

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

More
28 Dec 2013 22:22 #17357 by PhracturedBlue
Replied by PhracturedBlue on topic New Hubsan Upgraded Version on the way
you can have a long-press give larger steps than a short press (like short-press is 1 and long-press is 10) if you like.

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

More
28 Dec 2013 22:31 #17359 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
with 1MHz steps even long press seems slow :p

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

More
28 Dec 2013 22:44 #17360 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
Atleast its better then the hubsan tx, you have to wiggle the stick every time to get it to jump 5 mhz. Annoying to say the least heh. And you have to do it Every time you bind the quad.

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

Time to create page: 0.122 seconds
Powered by Kunena Forum