- Posts: 1971
Eachine or JJRC H8 mini ?
- hexfet
-
- Offline
Less
More
24 Jul 2015 12:25 #35903
by hexfet
Replied by hexfet on topic Eachine or JJRC H8 mini ?
Yes, each of the protocols in my repo is in its own branch for future pull requests.
Might want to check greenfly's work . Or I'll make a combined build after things are done and pull requests made.
Might want to check greenfly's work . Or I'll make a combined build after things are done and pull requests made.
- Zaphod
-
- Offline
Less
More
- Posts: 103
24 Jul 2015 12:29 #35904
by Zaphod
Replied by Zaphod on topic Eachine or JJRC H8 mini ?
No worries dude. Happy just to see it work. Will wait until its all implemented
- czajunia
-
- Offline
Less
More
- Posts: 66
24 Jul 2015 18:22 - 24 Jul 2015 18:29 #35923
by czajunia
Replied by czajunia on topic Eachine or JJRC H8 mini ?
Wow that's awesome. I've just tried this (I know, very late... totally inexcusable) and H8 has just become my favourite indoor flier. (And I haven't even tried the dynamic trim option yet).
Thanks a lot hexfet
EDIT: I have just tried the DynTrims. Didn't expect that at all. Unbelievable. It is super fast for a toy quad.
Thanks a lot hexfet
EDIT: I have just tried the DynTrims. Didn't expect that at all. Unbelievable. It is super fast for a toy quad.
Last edit: 24 Jul 2015 18:29 by czajunia.
- Richard96816
-
- Offline
Less
More
- Posts: 208
25 Jul 2015 00:01 #35933
by Richard96816
Replied by Richard96816 on topic Eachine or JJRC H8 mini ?
Once a protocol is complete and tested it would be really nice to create a reference build model.ini, with comments, to define how everything is supposed to work. All the pertinent data seems way too scattered otherwise.
- Zaphod
-
- Offline
Less
More
- Posts: 103
25 Jul 2015 00:08 #35934
by Zaphod
Replied by Zaphod on topic Eachine or JJRC H8 mini ?
That's a great idea. Make the information easier to find and implement.
- Richard96816
-
- Offline
Less
More
- Posts: 208
25 Jul 2015 00:11 #35935
by Richard96816
Replied by Richard96816 on topic Eachine or JJRC H8 mini ?
Has headless mode calibration been assigned to a channel?
- Phillycopter8
-
- Offline
Less
More
- Posts: 3
25 Jul 2015 03:38 - 25 Jul 2015 03:39 #35942
by Phillycopter8
Replied by Phillycopter8 on topic Eachine or JJRC H8 mini ?
Here's my model ini for the devo 7e with 2x3 switch. Using 60/80/125 for pitch and roll on swB and 40/70/125 for rudder on swA. Still playing with the mixer but I mostly fly it with rudder 60 and pitch/roll at 125 and it's working well for me. Hold1 is flip for channel 6 and using fmode1 for headless mode channel 9. So fun! Thanks again Hexfet!
Last edit: 25 Jul 2015 03:39 by Phillycopter8.
- vasiliy_gr
-
- Offline
Less
More
- Posts: 67
25 Jul 2015 03:56 #35943
by vasiliy_gr
Replied by vasiliy_gr on topic Eachine or JJRC H8 mini ?
As far I can see in source code (bayang_nrf24l01.c) in this fragmentchannel values are reduced when they are used this waySo if I correctly understand constant values - there is no need to set channel values above 100 as they will be reduced to 100 in this protocol. So there is no actual 125 value for rudder or pitch as this 125 is equal to 100.
#define CHAN_RANGE (CHAN_MAX_VALUE - CHAN_MIN_VALUE)
static u16 scale_channel(u8 ch, u16 destMin, u16 destMax)
{
s32 chanval = Channels[ch];
s32 range = destMax - destMin;
if (chanval < CHAN_MIN_VALUE) chanval = CHAN_MIN_VALUE;
else if (chanval > CHAN_MAX_VALUE) chanval = CHAN_MAX_VALUE;
return (range * (chanval - CHAN_MIN_VALUE)) / CHAN_RANGE + destMin;
} chanval.value = scale_channel(CHANNEL1, 0x3ff, 0); // aileron
packet[4] = chanval.bytes.msb + dyntrim(chanval.value);
packet[5] = chanval.bytes.lsb;
chanval.value = scale_channel(CHANNEL2, 0, 0x3ff); // elevator
packet[6] = chanval.bytes.msb + dyntrim(chanval.value);
packet[7] = chanval.bytes.lsb;
chanval.value = scale_channel(CHANNEL3, 0, 0x3ff); // throttle
packet[8] = chanval.bytes.msb + 0x7c;
packet[9] = chanval.bytes.lsb;
chanval.value = scale_channel(CHANNEL4, 0x3ff, 0); // rudder
packet[10] = chanval.bytes.msb + dyntrim(chanval.value);
packet[11] = chanval.bytes.lsb;- Zaphod
-
- Offline
Less
More
- Posts: 103
25 Jul 2015 04:23 - 25 Jul 2015 05:20 #35944
by Zaphod
Thank you kind sir
Based on Phillycopter8's ini file for the 7e - here is my Devo 10 version with mods.
Ail, Ele and Rud all work off the FMOD switch:
Fmod 0 - expo 25, scale 60
Fmod 1 - expo 25, scale 80
Fmod 2 - expo 25, scale 100
Elev D/R 1 is channel 6 - flip mode
Ail D/R 1 is channel 9 - headless mode
This is probably pretty rough and not done according to how it should or could be done for optimal usage but it seems to work quite well for me.
Cheers
Replied by Zaphod on topic Eachine or JJRC H8 mini ?
Phillycopter8 wrote: Here's my model ini for the devo 7e with 2x3 switch. Using 60/80/125 for pitch and roll on swB and 40/70/125 for rudder on swA. Still playing with the mixer but I mostly fly it with rudder 60 and pitch/roll at 125 and it's working well for me. Hold1 is flip for channel 6 and using fmode1 for headless mode channel 9. So fun! Thanks again Hexfet!
Thank you kind sir
Based on Phillycopter8's ini file for the 7e - here is my Devo 10 version with mods.
Ail, Ele and Rud all work off the FMOD switch:
Fmod 0 - expo 25, scale 60
Fmod 1 - expo 25, scale 80
Fmod 2 - expo 25, scale 100
Elev D/R 1 is channel 6 - flip mode
Ail D/R 1 is channel 9 - headless mode
This is probably pretty rough and not done according to how it should or could be done for optimal usage but it seems to work quite well for me.
Cheers
Last edit: 25 Jul 2015 05:20 by Zaphod.
- Richard96816
-
- Offline
Less
More
- Posts: 208
25 Jul 2015 06:40 #35945
by Richard96816
Replied by Richard96816 on topic Eachine or JJRC H8 mini ?
Thanks for the model files guys.
I have a collection of model files. I rename them from the modelxx.ini to something like Eachine_H8_mini.ini. Then I grab the notes from your post and add them to the top of the file as comments, along with the date, the aircraft and the poster's name. They seem much more useful and accessible that way.
I respectfully suggest this might be a better way to post such files in the future.
Thank you!
I have a collection of model files. I rename them from the modelxx.ini to something like Eachine_H8_mini.ini. Then I grab the notes from your post and add them to the top of the file as comments, along with the date, the aircraft and the poster's name. They seem much more useful and accessible that way.
I respectfully suggest this might be a better way to post such files in the future.
Thank you!
- hexfet
-
- Offline
Less
More
- Posts: 1971
27 Jul 2015 01:20 #36112
by hexfet
Replied by hexfet on topic Eachine or JJRC H8 mini ?
I've uploaded new test builds that set the dynamic trims on all the time and removes the protocol option. Thanks for the testing.
I'm going to combine the fy326, bayang, and mjxq protocols in one pull request. It avoids merge conflicts and is easier to review, plus will be based on the latest default.
I'm going to combine the fy326, bayang, and mjxq protocols in one pull request. It avoids merge conflicts and is easier to review, plus will be based on the latest default.
- shaunb
-
- Offline
Less
More
- Posts: 1
27 Jul 2015 04:05 #36119
by shaunb
Replied by shaunb on topic Eachine or JJRC H8 mini ?
I was about to post a question but instead decided to test an assumption as I was typing and will now post an answer instead in case someone else has the same issue.
To run the test build you need to use the filesystem from a nightly build (perhaps the latest build I am not sure).
I was installing the test build firmware and using the 4.0.1 release file system. This results in a successful boot, everything appears to be ok until you press "ENT" to access the menu and it is blank.
Anyway my goal was to test the H8 mini so looking forward to doing that now! Thanks hexfet
To run the test build you need to use the filesystem from a nightly build (perhaps the latest build I am not sure).
I was installing the test build firmware and using the 4.0.1 release file system. This results in a successful boot, everything appears to be ok until you press "ENT" to access the menu and it is blank.
Anyway my goal was to test the H8 mini so looking forward to doing that now! Thanks hexfet
- SeByDocKy
-
- Offline
Less
More
- Posts: 1016
27 Jul 2015 04:55 #36122
by SeByDocKy
Great
out of topic, PB seems away since several days.... probably in vaccations
Replied by SeByDocKy on topic Eachine or JJRC H8 mini ?
hexfet wrote: I've uploaded new test builds that set the dynamic trims on all the time and removes the protocol option. Thanks for the testing.
I'm going to combine the fy326, bayang, and mjxq protocols in one pull request. It avoids merge conflicts and is easier to review, plus will be based on the latest default.
Great
out of topic, PB seems away since several days.... probably in vaccations
- btoschi
-
- Offline
Less
More
- Posts: 151
28 Jul 2015 22:15 #36273
by btoschi
Replied by btoschi on topic Eachine or JJRC H8 mini ?
Just wanted to confirm that my JJRC H10 quadcopter binds and throttle works as expected with protocol_bayang on my Devo 8S
(incorporated latest changes from hexfet's repo, fixing merge issue manually).
Cannot test more yet, as one of the motors is damaged (I suspect its brushes were damaged during shipping) and I'm waiting for spare part.
(incorporated latest changes from hexfet's repo, fixing merge issue manually).
Cannot test more yet, as one of the motors is damaged (I suspect its brushes were damaged during shipping) and I'm waiting for spare part.
- Durete
-
- Offline
Less
More
- Posts: 610
29 Jul 2015 07:45 - 24 Aug 2015 00:03 #36290
by Durete
Replied by Durete on topic Eachine or JJRC H8 mini ?
Great to know!
I have the hunch the JJRC H12C and others will bind also with this protocol... 
Edit. I was wrong. The H12C is using LT8910 RF transceiver.
Edit. I was wrong. The H12C is using LT8910 RF transceiver.
Last edit: 24 Aug 2015 00:03 by Durete.
- Durete
-
- Offline
Less
More
- Posts: 610
29 Jul 2015 11:59 #36301
by Durete
Replied by Durete on topic Eachine or JJRC H8 mini ?
Just received my BayangToys X9 
@ Hexfet, do you need any specific capture from this model?
I guess no, but just in case...
@ Hexfet, do you need any specific capture from this model?
I guess no, but just in case...
- hexfet
-
- Offline
Less
More
- Posts: 1971
29 Jul 2015 15:20 #36309
by hexfet
Replied by hexfet on topic Eachine or JJRC H8 mini ?
No, nothing more required unless there are new controls on your model. Thanks.
- Durete
-
- Offline
Less
More
- Posts: 610
30 Jul 2015 08:24 #36347
by Durete
Replied by Durete on topic Eachine or JJRC H8 mini ?
Just tested outdoor the X9 using the Bayang protocol, and WOW! 
Amazing pitch and roll angles using the dynamic trims!
Will upload a short video ASAP.
Thanks Hexfet!
Amazing pitch and roll angles using the dynamic trims!
Will upload a short video ASAP.
Thanks Hexfet!
- Durete
-
- Offline
Less
More
- Posts: 610
30 Jul 2015 11:27 #36351
by Durete
Replied by Durete on topic Eachine or JJRC H8 mini ?
A short demo 
Sorry for the video quality, didn't have my Mobius Hatcam here and was recorded by a coworker with his cell (receiving a lot of messages
)
Sorry for the video quality, didn't have my Mobius Hatcam here and was recorded by a coworker with his cell (receiving a lot of messages
- hexfet
-
- Offline
Less
More
- Posts: 1971
30 Jul 2015 12:40 #36355
by hexfet
Replied by hexfet on topic Eachine or JJRC H8 mini ?
Nice flying! Fun to watch
Time to create page: 0.467 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- Eachine or JJRC H8 mini ?