The New Hubsans

More
11 Dec 2015 11:34 - 11 Dec 2015 11:39 #40811 by AndyRC
Replied by AndyRC on topic The New Hubsans
i will test headless and snapshot next

on the hubsan tx to take a snapshot is weird.

you have to press twice the tx boots up in video mode

to take a photo you press the photo button to take it into photo mode and then again to take a snapshot.

same again to get it into video mode

this is why i would like to set up on buttons rather than a swtich but im not sure it is possible

i will check the switch too

thanks
Last edit: 11 Dec 2015 11:39 by AndyRC.

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

More
11 Dec 2015 11:57 #40812 by Deal57
Replied by Deal57 on topic The New Hubsans
I don't have the new Hubsan, but I use the old ones. I think the ini in your previous post could be part of the problem. If your flip isn't working right, Your setting for channel 6 could be changed to:
[channel6]
template=simple <-- use simple mix type
[mixer]
src=FMODE1 <-- switch will be active in position 1, flips on when in this position
dest=Ch6 <-- channel for flips
curvetype=min/max <-- change from -100 to 100 when active
points=0 <-- no expo or curve points used

You can use the same mix for channel 5 to turn on/off lights. Note that you want the lights on by default, so choose to use position 0 as active, unlike channel 6.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
11 Dec 2015 11:58 - 11 Dec 2015 11:58 #40813 by goebish
Replied by goebish on topic The New Hubsans
Lights are unimplemented with plus protocol format, they can't be turned off, channel 5 is unused.
Last edit: 11 Dec 2015 11:58 by goebish.

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

More
11 Dec 2015 12:07 #40814 by Deal57
Replied by Deal57 on topic The New Hubsans
Ok, but the same procedure applies to the other on/off channels, like headless, and such.

Is there a new button for photo/video? I know you've assigned a channel, but if this model has an addition button it could be easier than using trims.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
12 Dec 2015 01:16 - 12 Dec 2015 02:05 #40833 by AndyRC
Replied by AndyRC on topic The New Hubsans
i figured out the buttons.. give me some time :)
Last edit: 12 Dec 2015 02:05 by AndyRC.

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

More
12 Dec 2015 02:53 - 12 Dec 2015 02:55 #40834 by AndyRC
Replied by AndyRC on topic The New Hubsans
ok

headless mode and snapshot working too as well as vtx frequency select

both models bind to same protocol thanks Gobish!

here is my ini file for the 7e

video record is on hold switch (due to the limited number of channels in the mixer which is 8 headless cant be assigned in the mixer due to it being channel 9 and can only be used in buttons and trims does everyone agree?)

flip mode is on the Fmod switch

headless is on the up button
snapshot is on the down button

I would have preferred to have headless on the hold switch and video and snapshot to the buttons but I couldn't find a way?

also it seems that assigning channels to the R+ and L+ doesnt work unless I have a conflict?

Im still learning so bare that in mind

cheers


File Attachment:

File Name: model2-2.ini
File Size:8 KB
Attachments:
Last edit: 12 Dec 2015 02:55 by AndyRC.

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

More
12 Dec 2015 11:14 - 12 Dec 2015 13:46 #40854 by goebish
Replied by goebish on topic The New Hubsans
Thanks for reporting that everything works !
I'll tidy up the code and make a pull request then.

Unfortunately I'm not the best one when it comes to give tips on setting up models in Deviation ;)
Last edit: 12 Dec 2015 13:46 by goebish.

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

More
12 Dec 2015 13:48 #40859 by AndyRC
Replied by AndyRC on topic The New Hubsans
Thanks goebish amazing work. Would it be possible to add this to the mjx protocol and all the other ones recently hacked? Thanks again

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

More
12 Dec 2015 13:50 #40860 by goebish
Replied by goebish on topic The New Hubsans
Ask Hexfet if he can do it, but only once the code has been cleaned up, that shouldn't be long ;)

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

More
12 Dec 2015 14:57 #40861 by AndyRC
Replied by AndyRC on topic The New Hubsans
thanks again for all the effort :)

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

More
12 Dec 2015 15:05 #40862 by goebish
Replied by goebish on topic The New Hubsans
My pleasure, and don't be sad if you ordered a logic analyzer for "nothing", it'll be useful the next time you have a machine that's unsupported in Deviation ;)

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

More
12 Dec 2015 16:08 #40864 by AndyRC
Replied by AndyRC on topic The New Hubsans
i needed to get one anyways. id love to learn how to hack these protocols myself but iv never done any "coding" so i think it will be above me

with my youtube channel I am being sent a few sample quadcopters for review so always good to have the logic analyzer

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

More
12 Dec 2015 17:02 #40865 by goebish
Replied by goebish on topic The New Hubsans
I created a pull request (please click "approve" if you've tested the test build, that should make it into nightly faster), now feel free to include it to any unofficial build you want :)

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

More
12 Dec 2015 20:50 #40867 by AndyRC
Replied by AndyRC on topic The New Hubsans
done :)

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

More
12 Dec 2015 20:56 #40868 by AndyRC
Replied by AndyRC on topic The New Hubsans
Id have no idea how to start amending any builds. this looks like some form of programming language?

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

More
23 Dec 2015 16:03 #41098 by SeByDocKy
Replied by SeByDocKy on topic The New Hubsans
WIll this new Huban variation will be included in the HexFet Combo ?

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

More
23 Dec 2015 16:05 #41099 by goebish
Replied by goebish on topic The New Hubsans
Probably, if someone asks him kindly ;)

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

More
07 Jan 2016 04:08 - 07 Jan 2016 04:09 #41462 by delta75
Replied by delta75 on topic The New Hubsans
HUBSAN H107D+ WORKS

but H501s NOT work maybe protocol different

i want control H501s :(
Last edit: 07 Jan 2016 04:09 by delta75.

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

More
07 Jan 2016 09:46 #41467 by goebish
Replied by goebish on topic The New Hubsans
Capture the SPI bus, then maybe we can have a look ;)
www.deviationtx.com/forum/protocol-devel...95-spi-capture-guide

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

More
08 Jan 2016 02:02 #41491 by delta75
Replied by delta75 on topic The New Hubsans
H107D+ TX very smiler H501s TX

but has some different

H501s has GPS Module and two toggle switch (GPS mode , Return to HOME mode)



no A7105 chip ,
www.deviationtx.com/forum/protocol-devel...s?limitstart=0#40423


i think same GND , SCK , SDIO , SOS pin
www.deviationtx.com/forum/protocol-devel...s?limitstart=0#40424
Attachments:

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

Time to create page: 0.090 seconds
Powered by Kunena Forum