JJRC H20 Hex Quad

More
08 May 2017 13:37 #62145 by Caerus
Replied by Caerus on topic JJRC H20 Hex Quad

wasp09 wrote: I one and only one H20H. Stock battery is dead. I am flying it with my V911 batteries on new connectors. I have 8 of them never used. My V911 is still on old connector.

It flies well on devo 10 now, just have to get used to the special throttle operation and don't run it into the ceiling and blinds. :)


I wish I could add to the H20H protocol but my order (2 x H20H) was sent back to banggood. Been buying online since 2004, first time that's ever happened. Couldn't find out why so I got annoyed and took a refund. I'll order some if it's still needed.

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

More
08 May 2017 13:39 #62146 by Caerus
Replied by Caerus on topic JJRC H20 Hex Quad

goebish wrote:

Caerus wrote: I just looked on the bench and there's 2 more I haven't unboxed yet :oops:. I'll wire them up as well. So total = 2 x H20 mini/2 x H30 mini.


Yes, please dump the 4 Tx :)


K. Watching some MotoGP atm... Should still get to it tonight.

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

More
08 May 2017 13:56 - 08 May 2017 13:58 #62147 by goebish
Replied by goebish on topic JJRC H20 Hex Quad

Caerus wrote: I wish I could add to the H20H protocol but my order (2 x H20H) was sent back to banggood. Been buying online since 2004, first time that's ever happened. Couldn't find out why so I got annoyed and took a refund. I'll order some if it's still needed.


No worries, there are already 3 IDs in the code, should be enough, they can be selected with different fixed ID in deviation.
Last edit: 08 May 2017 13:58 by goebish.

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

More
08 May 2017 14:22 #62153 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
Here is a first test build for H20/H30 mini (only 2 different IDs)
Protocol: H8_3D, Format: H20 Mini

www.dropbox.com/sh/d1v07zxqop6w0gi/AAB5k...wIUPRPq-47TzAra?dl=0

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

More
08 May 2017 19:40 #62168 by wasp09
Replied by wasp09 on topic JJRC H20 Hex Quad
Goehish,

This is amazingly fast. :)

Regarding to the little yaw detected on my H20H, I looked at the code you checked in. Scale_channel (for non H20H) bends the negative portion of channel 4 in a special way to fit between 60 and 0 with a negative slope. How did we figure that out? It also effectively adds a dead zone (+/-166) for channel 4. H20h_scale_channel does not have that special treatment for channel 4. I wonder if a little dead zone would help to stop the drift on my H20H, we won't need the negative slope bending as yaw is working correctly.

Regards.

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

More
08 May 2017 19:44 #62169 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
I added a deadzone in the code for the H8 3D because yaw was kinda crazy around neutral without it, if you feel it's necessary for the H20H as well I'll add it too, but if it is fixed with a single click on trim I don't think that's worth it.

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

More
08 May 2017 21:56 - 08 May 2017 21:57 #62176 by wasp09
Replied by wasp09 on topic JJRC H20 Hex Quad
It just tried adding one myself locally:

--- h8_3d_nrf24l01.c.orig 2017-05-08 17:02:30.000000000 -0400
+++ h8_3d_nrf24l01.c 2017-05-08 17:12:26.000000000 -0400
@@ -194,6 +194,12 @@
{
s32 chanval = Channels[ch];
s16 destMin=0x43, destMax=0xbb;
+ if (ch==CHANNEL4) {
+ if ((chanval > (CHAN_MIN_VALUE / 60)) &&
+ (chanval < (CHAN_MAX_VALUE / 60))) {
+ return 0x7f;
+ }
+ }
s32 range = destMax - destMin;
if (chanval < CHAN_MIN_VALUE) chanval = CHAN_MIN_VALUE;
else if (chanval > CHAN_MAX_VALUE) chanval = CHAN_MAX_VALUE;

It does help. Actualy I don't mind having even a bit more, perhaps doubling the zone using 30 instead of 60.

Adding trim is not as effective as my stick does not always return to 0 perfectly according to stick monitor. Configuring a dead zone on devo should do the job, but not everyone knows how. I have to look it up again. I have bad memory.

Regards,
Last edit: 08 May 2017 21:57 by wasp09.

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

More
08 May 2017 21:58 #62177 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
Ok, I'll add that with the H20 Mini code, thanks !

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

More
13 May 2017 20:07 #62281 by Caerus
Replied by Caerus on topic JJRC H20 Hex Quad

goebish wrote: Here is a first test build for H20/H30 mini (only 2 different IDs)
Protocol: H8_3D, Format: H20 Mini

www.dropbox.com/sh/d1v07zxqop6w0gi/AAB5k...wIUPRPq-47TzAra?dl=0


Thanks goebish. I stopped getting email updates for this thread for some reason. I wouldn't have pulled my Devo apart if I'd known (installing 4 in 1). I did the captures for the other 2 mini's, as I said I would. Sorry it took a few days. Caught a cold and wasn't up to it til now. I'll check the build soon.

www.dropbox.com/s/99r2m59zweu0oqq/
www.dropbox.com/s/fgy7dfjsmv2a2zz/

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

More
13 May 2017 20:43 #62282 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
No problem, I also don't receive notification emails sometimes ...
I'll take a look at your captures and add the new IDs/Freqs to the code.

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

More
19 May 2017 17:13 - 19 May 2017 17:13 #62413 by wasp09
Replied by wasp09 on topic JJRC H20 Hex Quad
Goebish,

I have an off topic equation.

How does binding ID work? I am using the same unique ID on both my devo 7e and devo 10 to talk to the same RX (DSM2 Sat in this case). I have to go through binding again switching between the 2 devo's. Shouldn't TXs with same unique ID be able to drop in and work without rebinding?

Regards.
Last edit: 19 May 2017 17:13 by wasp09.

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

More
19 May 2017 18:00 - 20 May 2017 16:00 #62414 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
For DSM2/X, the fixed ID is "mixed" with the cyrf6936 STM32 unique hardware ID, so they're different even if you use the same fixed IDs on both Tx.
Last edit: 20 May 2017 16:00 by goebish.

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

More
19 May 2017 18:16 #62415 by FDR
Replied by FDR on topic JJRC H20 Hex Quad
However you can set the same TX ID to both transmitters in the hardware.ini, and so you can use any of them without the need to rebind.
You will only need to bind it one more time for that new TX ID...

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

More
19 May 2017 19:32 - 19 May 2017 19:39 #62416 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
Thanks FDR, I didn't know there was an hidden ini entry for that, I had to check the source code ;)
so, just add this line at the beginning of your hardware.ini on both Devo:
txid=12345678
Is there a reason it's not in the template hardware.ini files ?
Last edit: 19 May 2017 19:39 by goebish.

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

More
19 May 2017 19:38 #62417 by wasp09
Replied by wasp09 on topic JJRC H20 Hex Quad
Thank you folks. I'll try that after work.

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

More
19 May 2017 19:49 #62418 by FDR
Replied by FDR on topic JJRC H20 Hex Quad

goebish wrote: Is there a reason it's not in the template hardware.ini files ?

Yes, because it is dangerous.
If we had it in the source, everybody would have the same txid!
I would strongly recommend to set it to some random value instead of 12345678...

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

More
19 May 2017 19:50 #62419 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
Ok I understand.

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

More
20 May 2017 07:26 #62425 by Moeder
Replied by Moeder on topic JJRC H20 Hex Quad
Off topic, but still: I think we should add information about this to an "advanced topics" chapter in the manual to have it at least commonly available. (The same chapter should be used for advanced model configuration examples like sticky throttle hold etc.)

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

More
20 May 2017 08:56 #62429 by ajtank
Replied by ajtank on topic JJRC H20 Hex Quad

wasp09 wrote: I put channel 11 on a switch. it turns lights on when it is on and lights off when it is off. It works like a light switch for H20H. However if we turn lights off in flight it also turns off the motors like channel 5. We can still fly with lights off when we switch off the lights before takeoff. Turning lights back on in flight does not cause any problems. Strange.

One thing I forgot to mention, to airborne, we have to put the throttle stick at centre before flipping channel 5 to on. Then throttle up to pop the H20H up. If we keep the throttle down like ordinary aircraft, the motors would shut down again zoon after starting them with channel 5. We probably won't have time to pop the H20 up before motors shut down. Throttle on stock TX is spring loaded to keep it at centre on idle, we have to operate it same way on devo. I won't spring load my throttle stick on devo though. :)

BTW, my H20H yaw clockwises slowly on devo but holds solid on stock TX. I have calibrated the sticks but I still need trim to stop the yaw. I do not notice that on controlling other aircrafts with my devo10. Is that anything special on coding channel 4 for the H20H protocol, or could we be missing a gyro setting? It is still flyable, not a big issue.

Go ahead merge it. If others find anything else, you can always add changes to it afterwards. Protocol is usable at this stage.

Thanks.


@goebish
glad to see your new addition of protocol

ch5
I use a virtual momentary switch to take off. I have to set throttle to middle position before triggering ch5 otherwise motors will stop shortly. Same findings as wasp09.

ch11
It controls light on/off but it also affects ch5.
When ch11=100: light turns on and emergency stop does not work.
When ch11=-100: light turns off but emergency stop works.

@wasp09
Could you test ch11 again as above?
Did you capture at maximum rate?

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

More
20 May 2017 09:04 #62430 by goebish
Replied by goebish on topic JJRC H20 Hex Quad
You're not supposed to use channel 11 with this protocol format, it affects a bit that's not used by the stock H20H TX, just leave at 0 (default mixer setting).

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

Time to create page: 0.102 seconds
Powered by Kunena Forum