SERVO_BLH_ parameters¶
12 parameters in the SERVO_BLH_ family. ArduCopter 4.7 only — other vehicles share many of these names but not always the same ranges or meanings.
SERVO_BLH_3DMASK¶
BLHeli bitmask of 3D channels
Mask of channels which are dynamically reversible. This is used to configure ESCs in ‘3D’ mode, allowing for the motor to spin in either direction. Note that setting an ESC as reversible with this option on AM32 will result in the forward direction of the ESC changing. You can combine with parameter with the SERVO_BLH_RVMASK parameter to maintain the same direction when the ESC is in 3D mode as it has in unidirectional (non-3D) mode.
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Advanced |
Bitmask¶
Value |
Meaning |
|---|---|
|
Channel1 |
|
Channel2 |
|
Channel3 |
|
Channel4 |
|
Channel5 |
|
Channel6 |
|
Channel7 |
|
Channel8 |
|
Channel9 |
|
Channel10 |
|
Channel11 |
|
Channel12 |
|
Channel13 |
|
Channel14 |
|
Channel15 |
|
Channel16 |
|
Channel 17 |
|
Channel 18 |
|
Channel 19 |
|
Channel 20 |
|
Channel 21 |
|
Channel 22 |
|
Channel 23 |
|
Channel 24 |
|
Channel 25 |
|
Channel 26 |
|
Channel 27 |
|
Channel 28 |
|
Channel 29 |
|
Channel 30 |
|
Channel 31 |
|
Channel 32 |
SERVO_BLH_AUTO¶
BLHeli pass-thru auto-enable for multicopter motors
If set to 1 this auto-enables BLHeli pass-thru support for all multicopter motors
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Standard |
Values¶
Value |
Meaning |
|---|---|
|
Disabled |
|
Enabled |
SERVO_BLH_BDMASK¶
BLHeli bitmask of bi-directional dshot channels
Mask of channels which support bi-directional dshot telemetry. This is used for ESCs which have firmware that supports bi-directional dshot allowing fast rpm telemetry values to be returned for the harmonic notch.
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Advanced |
Bitmask¶
Value |
Meaning |
|---|---|
|
Channel1 |
|
Channel2 |
|
Channel3 |
|
Channel4 |
|
Channel5 |
|
Channel6 |
|
Channel7 |
|
Channel8 |
|
Channel9 |
|
Channel10 |
|
Channel11 |
|
Channel12 |
|
Channel13 |
|
Channel14 |
|
Channel15 |
|
Channel16 |
|
Channel 17 |
|
Channel 18 |
|
Channel 19 |
|
Channel 20 |
|
Channel 21 |
|
Channel 22 |
|
Channel 23 |
|
Channel 24 |
|
Channel 25 |
|
Channel 26 |
|
Channel 27 |
|
Channel 28 |
|
Channel 29 |
|
Channel 30 |
|
Channel 31 |
|
Channel 32 |
SERVO_BLH_DEBUG¶
BLHeli debug level
When set to 1 this enabled verbose debugging output over MAVLink when the blheli protocol is active. This can be used to diagnose failures.
User level |
Standard |
Values¶
Value |
Meaning |
|---|---|
|
Disabled |
|
Enabled |
SERVO_BLH_MASK¶
BLHeli Channel Bitmask
Enable of BLHeli pass-thru servo protocol support to specific channels. This mask is in addition to motors enabled using SERVO_BLH_AUTO (if any)
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Advanced |
Bitmask¶
Value |
Meaning |
|---|---|
|
Channel1 |
|
Channel2 |
|
Channel3 |
|
Channel4 |
|
Channel5 |
|
Channel6 |
|
Channel7 |
|
Channel8 |
|
Channel9 |
|
Channel10 |
|
Channel11 |
|
Channel12 |
|
Channel13 |
|
Channel14 |
|
Channel15 |
|
Channel16 |
|
Channel 17 |
|
Channel 18 |
|
Channel 19 |
|
Channel 20 |
|
Channel 21 |
|
Channel 22 |
|
Channel 23 |
|
Channel 24 |
|
Channel 25 |
|
Channel 26 |
|
Channel 27 |
|
Channel 28 |
|
Channel 29 |
|
Channel 30 |
|
Channel 31 |
|
Channel 32 |
SERVO_BLH_OTYPE¶
BLHeli output type override
When set to a non-zero value this overrides the output type for the output channels given by SERVO_BLH_MASK. This can be used to enable DShot on outputs that are not part of the multicopter motors group.
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Advanced |
Values¶
Value |
Meaning |
|---|---|
|
None |
|
OneShot |
|
OneShot125 |
|
Brushed |
|
DShot150 |
|
DShot300 |
|
DShot600 |
|
DShot1200 |
SERVO_BLH_POLES¶
BLHeli Motor Poles
This allows calculation of true RPM from ESC’s eRPM. The default is 14.
Range |
|
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Advanced |
SERVO_BLH_PORT¶
Control port
This sets the mavlink channel to use for blheli pass-thru. The channel number is determined by the number of serial ports configured to use mavlink. So 0 is always the console, 1 is the next serial port using mavlink, 2 the next after that and so on.
User level |
Advanced |
Values¶
Value |
Meaning |
|---|---|
|
Console |
|
Mavlink Serial Channel1 |
|
Mavlink Serial Channel2 |
|
Mavlink Serial Channel3 |
|
Mavlink Serial Channel4 |
|
Mavlink Serial Channel5 |
SERVO_BLH_RVMASK¶
BLHeli bitmask of reversed channels
Mask of channels which are reversed. This is used to configure ESCs to reverse motor direction. Note that when combined with SERVO_BLH_3DMASK this will change what direction is considered to be forward.
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Advanced |
Bitmask¶
Value |
Meaning |
|---|---|
|
Channel1 |
|
Channel2 |
|
Channel3 |
|
Channel4 |
|
Channel5 |
|
Channel6 |
|
Channel7 |
|
Channel8 |
|
Channel9 |
|
Channel10 |
|
Channel11 |
|
Channel12 |
|
Channel13 |
|
Channel14 |
|
Channel15 |
|
Channel16 |
|
Channel 17 |
|
Channel 18 |
|
Channel 19 |
|
Channel 20 |
|
Channel 21 |
|
Channel 22 |
|
Channel 23 |
|
Channel 24 |
|
Channel 25 |
|
Channel 26 |
|
Channel 27 |
|
Channel 28 |
|
Channel 29 |
|
Channel 30 |
|
Channel 31 |
|
Channel 32 |
SERVO_BLH_TEST¶
BLHeli internal interface test
Setting SERVO_BLH_TEST to a motor number enables an internal test of the BLHeli ESC protocol to the corresponding ESC. The debug output is displayed on the USB console.
User level |
Advanced |
Values¶
Value |
Meaning |
|---|---|
|
Disabled |
|
TestMotor1 |
|
TestMotor2 |
|
TestMotor3 |
|
TestMotor4 |
|
TestMotor5 |
|
TestMotor6 |
|
TestMotor7 |
|
TestMotor8 |
SERVO_BLH_TMOUT¶
BLHeli protocol timeout
This sets the inactivity timeout for the BLHeli protocol in seconds. If no packets are received in this time normal MAVLink operations are resumed. A value of 0 means no timeout
Units |
|
Range |
|
User level |
Standard |
SERVO_BLH_TRATE¶
BLHeli telemetry rate
This sets the rate in Hz for requesting telemetry from ESCs. It is the rate per ESC. Setting to zero disables telemetry requests
Units |
|
Range |
|
User level |
Standard |