This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
basic_devo_multipro [2016/10/08 10:36] ian446 |
basic_devo_multipro [2017/06/12 23:11] (current) sirdomsen |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Basic setup to get you going - Devo or multipro module ==== | ==== Basic setup to get you going - Devo or multipro module ==== | ||
- | **H8 mini (Bayang) radio channel mapping:** \\ | + | **H8 mini (Bayang |
Ch 1 - Roll\\ | Ch 1 - Roll\\ | ||
Ch 2 - Pitch\\ | Ch 2 - Pitch\\ | ||
Line 10: | Line 10: | ||
Ch 10 - RTH | Ch 10 - RTH | ||
- | One method to set up a switch on a Devo to switch between acro and level modes:\\ | + | **One method to set up a switch on a Devo (or multipro module) |
1. Set up a switch on the Devo on Ch 9 so it switches between -100 and +100 (-100 is acro, +100 is level)\\ | 1. Set up a switch on the Devo on Ch 9 so it switches between -100 and +100 (-100 is acro, +100 is level)\\ | ||
2. In config.h of the firmware, set the acro/level mode switch to " | 2. In config.h of the firmware, set the acro/level mode switch to " | ||
- | Change the default level/acro switch in config.h from this:\\ | + | Change the default level/acro switch in config.h from this: |
- | #define LEVELMODE CH_AUX1\\ | + | |
- | to this:\\ | + | < |
+ | #define LEVELMODE CH_AUX1 | ||
+ | </ | ||
+ | |||
+ | to this: | ||
+ | |||
+ | < | ||
#define LEVELMODE CH_HEADFREE | #define LEVELMODE CH_HEADFREE | ||
+ | </ | ||
- | For a Devo or other tx using a Goebish multiprotocol module, it is sufficient to set the scale for each stick to + and - 100%. | + | For a Devo or other tx using a Goebish multiprotocol module, it is sufficient to set the scale for each stick (or switch) |
If you want to do an accel calibration, | If you want to do an accel calibration, | ||
- | If you want to keep the headless function, then choose CH 6 or CH 10 for the level/acro switch and set the level/acro switch in config.h to suit (CH_FLIP or CH_RTH). | + | If you want to keep the headless function, then choose CH 6 or CH 10 for the level/acro switch and set the level/acro switch in config.h to suit (CH_FLIP or CH_RTH |
In config.h, the default "# | In config.h, the default "# | ||
Line 29: | Line 36: | ||
Here is a pic of a Devo screen showing a level/acro switch set up on Ch 6 (thanks to czajunia on rcgroups). The HOLD1 switch has been selected as the source in the Devo, and the curve is set to min/max, so the radio output is -100 or +100 depending on the position of the HOLD1 toggle switch. For Devo Ch 6, you would set the level/acro switch in the firmware in config.h to CH_FLIP. | Here is a pic of a Devo screen showing a level/acro switch set up on Ch 6 (thanks to czajunia on rcgroups). The HOLD1 switch has been selected as the source in the Devo, and the curve is set to min/max, so the radio output is -100 or +100 depending on the position of the HOLD1 toggle switch. For Devo Ch 6, you would set the level/acro switch in the firmware in config.h to CH_FLIP. | ||
- | {{http:// | + | {{http:// |
+ | |||
+ | <font 16px/ | ||
+ | |||
+ | For Devo or a multipro module, high rates is selected in config.h in the firmware, and then the low rate is set in your tx, to whatever value or values you prefer. See below for an alternate method | ||
+ | |||
+ | < | ||
+ | // rates / expert mode | ||
+ | #define RATES CH_EXPERT | ||
+ | </ | ||
+ | |||
+ | The actual rate of the " | ||
+ | |||
+ | < | ||
+ | // rate in deg/sec | ||
+ | // for low rates ( acro mode) | ||
+ | #define MAX_RATE 180.0f | ||
+ | #define MAX_RATEYAW 180.0f | ||
+ | |||
+ | // multiplier for high rates | ||
+ | // devo/module uses high rates only | ||
+ | #define HIRATEMULTI 2.0f | ||
+ | #define HIRATEMULTIYAW 2.0f | ||
+ | </ | ||
+ | |||
+ | There is an **alternate method** to set rates on the quad using a radio channel, any of CH5 to CH10, In the code above, there is a low rate setting and a multiplier for high rates. The high rate can be selected with a radio channel in config.h as shown in the code below, the example uses CH5 to activate high rates. Thus by adjusting the values for MAX_RATE and HIRATEMULTI the low and high rates can be set to your preference. MAX_RATEYAW and HIRATEMULTIYAW work on the yaw axis only. STM Silverware (H8 blue, CG023, BWHOOP) does it the opposite way: You set the max rates in config.h and use a multi smaller than 1 to turn them down while low rates are selected. | ||
+ | < | ||
+ | // rates / expert mode | ||
+ | #define RATES DEVO_CHAN_5 | ||
+ | </ | ||