- Posts: 20
The New Hubsans
- Nowayray
- Offline
LOL so im flying my quad with a plane protocol! wicked! learn something new every day.
no problems on the testing, you have already done the bit i cannot do.
nice to know it does not have a barometer setting, that should reflect in its quads options.
hope your enjoying your travels!
@goebish
Ok i am 64bit ready to start playing with your code, thanks to MWM & PhracturedBlue.
As you have already done all the hard work. i should ok starting with slight modifications while i learn.
so i am going to start to look at adding the 501 telemetry off delta75's dumps first. no risk and i get a visual feedback!
hope your works going well!
Please Log in or Create an account to join the conversation.
- Nowayray
- Offline
- Posts: 20
It seems the 501S Flags work fine for the 502S aswell, I have not flown yet but all led indications for functions are correct.
and yes I see why the 301 flags have problems with the 502.
Shame about the telem...
Im sure you know, auto formatting eh!
i guess, unless you break all the other proto's using it, it cant really be changed. i guess a lot of work to go through all the protocols that use the devo_telem to add scaling and formatting. and then change the function to have the options of scaling and formatting...
Oh well, still going to see if i can get "something" going with it.
But on the plus side, i can now fly with all the functions!!
Please Log in or Create an account to join the conversation.
- Nowayray
- Offline
- Posts: 20
FYI
new ID_PLUS = 956A9E5E
tested bind under the 501 protocol ok with new ID_PLUS, and now have started adding it under its own 502 option.
found two extra flags maybe for ManualMode and FlyWithNoGps. (may work on others?)
This could be why ajtank cannot Arm, none of his captures had GPS Lock and it looks like he has gone into the main TX menu to enable arming with no GPS in his Bind_Arm dump. hopefully this will be the reason for the fw update.. stop flyaways by arming with no gps?? just a guess as it seems "HOME" is set at arm... gps long = 0 gps lat = 0!
I am adding the following into the menu.
Manual_Mode on/off
Fly_With_No_GPS on/off
and was considering doing it with LEDS ON/OFF to free a channel for now...
Anyways thought I would keep you updated, hope you are interested.
Cheers
Please Log in or Create an account to join the conversation.
- Nowayray
- Offline
- Posts: 20
Right i have attached the hubsan_a7105.c i have been modifiing.
Added the H502S
Telem added:
Temp1 = Height
Temp2 = not used
Temp3 = Pitch
Temp4 = Roll
Volt1 = BattV
Volt2 = GPS Long
Volt3 = GPS Lat
RPM1 = Heading
RPM2 = Speed
Pitch and roll are shown as 3 digits So 312 = 31.2 degrees
GPS long is shown as 52.0, which is enough to show when it is safe to fly. (RTH lock)
Manual mode and Fly with no GPS added in the menu.
Needs to be checked with the original protocols (H107 & H301) to make sure i have not broke anything.
binding sometimes is a little slow, but there is not much else i can do until my digital analyser turns up.
next will be implementing the full GPS coords in there correct box's. (almost there,,, but have a strange error)
I have pre-built the devo7E as that's what i use. ( any others just ask )
Anyways hope it comes in handy for someone as it did me.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Nowayray
- Offline
- Posts: 20
I must be honest....
1) I have only "hacked/added" extras into your code! and most likely not that well.
2) I do not understand yet what is going on with the A7105.
3) I am now learning C and do not yet understand a lot the syntax ect
4) I do not yet understand the way deviation has been written or the limitations of and strange formatting,
....but i am getting there (i hope)
With that in mind please do not expect too much!!!
i am worried at the moment it may take you longer to correct my edits.
regarding the 501 auto bind comment, I am afraid you have lost me on that. Until i get my analyser i was not going to go too much into the bind procedure.
Its easy to move manual back to the channel. I have only commented out the channel flag, and not deleted it.
It is fun learning something new!
Once i get the data i need i will look into this further.
Comments are always appreciated
Thanks for your reply,
Please Log in or Create an account to join the conversation.
- andrej
- Offline
- Posts: 24
I flashed my H501S to the current latest versions, 1.1.36 for the FC, 1.2.20 for the RX and 4.2.24 for the TX, which causes 2 critical problems. The first one makes the drone almost unusable for me and the second one is outright dangerous .
I’m now asking Hubsan how to downgrade, because they don’t seem to provide older firmware versions for download anywhere.
This is of course not Deviation’s fault — it’s simply an incompatible change to Hubsan’s proprietary protocol. To restore the old behavior, Deviation would need to transmit a "Fly without GPS" bit/channel of some sort. More importantly, it’s necessary to prevent random disarming in low throttle. Maybe setting the throttle to never drop below e.g. -90 while armed might do the trick, but I’m not sure if that’s what the Hubsan protocol currently does.
Any ideas are welcome; I’d be more than happy to test. But at this point a firmware downgrade looks like the only way to make it work again.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- andrej
- Offline
- Posts: 24
How can I help? I currently live in Zürich, so I'm not sure if I could somehow ship the quad + TX to you and back. Could I perhaps do some analysis on my own? What equipment do I need? I'm an informatician / computer scientist / hacker by education + occupation, but I have no experience with microcontrollers, wireless protocol analysis or low-level hardware stuff in general.goebish wrote: That sucks I suppose I'd need an H501S + an actual Hubsan Tx to actually understand what's happening ...
Sadly, Hubsan doesn't seem to be helpful. When asked about protocol changes, they emphasize how much safer their changes make the drone. But it's definitely not safer for a Devo 10 user (unexpected disarming, inability to fly indoors etc.). I carefully explained why I wanted to use the Devo 10 -- it talks to 20+ of my other drones, I'm used to it etc. But thus far I haven't even got the chance to talk to someone from their software team directly.
If I can help, I'd be more than happy to give it a try. Otherwise I'll have to downgrade to 1.1.21, which is nowhere to be found (officially) at the moment. This is an awesome drone with a really nice airframe, but the proprietary software is just killing it. I always have an annoying experience when I update it, because I don't run Windows or other spyware at home. So I have to download a VirtualBox Windows VM, set up USB device passthrough and flash everything from the VM. :-/ Oh, what a joy.
H501S would be much easier to maintain with LibrePilot or {Clean,Beta}Flight. Plus I'd get acro mode. But I have absolutely no idea what controller it is and whether it would be compatible.
Please Log in or Create an account to join the conversation.
- Kidon
- Offline
- Posts: 5
16 May 2017 12:07 - 16 May 2017 12:07 #62353
goebish replied the topic: The New Hubsans
As fan of your work I might be able to donate a 'broken' H501SS pro controller within a couple of weeks. After receiving a good working new TX from China. I received this broken model 2 months ago but the screen of the TX showed annoying white lines. Tried to replace the screen but no luck. In the end the replacement screen I ordered was different. So, the screen is not working at all. AFAIK besides the screen the TX is still working okay.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Kidon
- Offline
- Posts: 5
Please Log in or Create an account to join the conversation.
- Kidon
- Offline
- Posts: 5
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Kidon
- Offline
- Posts: 5
Btw, I am not sure what kind of magic you do with a TX, but if you prefer I can send you a Hubsan H501C TX instead of the 'broken' H501SS Pro TX. I lost the H501C drone in a lake so the TX is eating dust.
Please Log in or Create an account to join the conversation.
- MikeNH
- Offline
- Posts: 35
Several of you have been doing incredible work in enabling 501s/502s/301 in the Hubsan protocol but left us hanging with no update for many months.
Is there an update on the status of the Hubsan protocol?
Thank you
Please Log in or Create an account to join the conversation.
- doittom
- Offline
- Posts: 16
I have a h502s and jumper T8sg plus.
I have tried to bind these two with hubsan4 protocol, but failed.
If any progress, please let me what protocol, how to bind, what the channel map is?
Tks vm.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- doittom
- Offline
- Posts: 16
vlad_vy wrote: Try to use protocol option "Format" = "H107", "H301", "H501". Press ENT on protocol name.
Thank vm for your early attention.
Jumper T8sg plus is first radio transmitter to me, so i have no idea about protocol.
could you explain which file and how to use protocol in more details?
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- The New Hubsans