- Posts: 1868
Eachine or JJRC H8 mini ?
- hexfet
- Offline
Might want to check greenfly's work . Or I'll make a combined build after things are done and pull requests made.
Please Log in or Create an account to join the conversation.
- Zaphod
- Offline
- Posts: 103
Please Log in or Create an account to join the conversation.
- czajunia
- Offline
- Posts: 66
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.
Please Log in or Create an account to join the conversation.
- Richard96816
- Offline
- Posts: 208
Please Log in or Create an account to join the conversation.
- Zaphod
- Offline
- Posts: 103
Please Log in or Create an account to join the conversation.
- Richard96816
- Offline
- Posts: 208
Please Log in or Create an account to join the conversation.
- Phillycopter8
- Offline
- Posts: 3
Please Log in or Create an account to join the conversation.
- vasiliy_gr
- Offline
- Posts: 67
#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;
Please Log in or Create an account to join the conversation.
- Zaphod
- Offline
- Posts: 103
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
Please Log in or Create an account to join the conversation.
- Richard96816
- Offline
- Posts: 208
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!
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
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.
Please Log in or Create an account to join the conversation.
- shaunb
- Offline
- Posts: 1
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
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
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
Please Log in or Create an account to join the conversation.
- btoschi
- Offline
- Posts: 151
(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.
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
Edit. I was wrong. The H12C is using LT8910 RF transceiver.
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
@ Hexfet, do you need any specific capture from this model?
I guess no, but just in case...
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
Amazing pitch and roll angles using the dynamic trims!
Will upload a short video ASAP.
Thanks Hexfet!
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
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 )
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Eachine or JJRC H8 mini ?