# ⚠️ Attention Pixhawk + Leak Detector users

**URL:** <https://discuss.bluerobotics.com/t/attention-pixhawk-leak-detector-users/22154>\
**Category:** ArduSub\
**Created:** [December 15, 2025, 7:01pm UTC](https://discuss.bluerobotics.com/t/attention-pixhawk-leak-detector-users/22154 "2025-12-15T19:01:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [December 15, 2025, 7:01pm UTC](https://discuss.bluerobotics.com/t/attention-pixhawk-leak-detector-users/22154/1 "2025-12-15T19:01:49Z")

</div>

Hi everyone,

## Context: misconfigured leak detectors (by default)

We recently determined that a change in how the ArduSub 4.5 firmware configures digital signals means that Pixhawk flight controller boards (and other non-Navigator boards) can be _silently failing to receive signals from the leak detector_.

> ⚠ For the standard Pixhawk setup, a leak detector attached to AUX 6 **will not work** unless the corresponding servo channel ([`SERVO14_FUNCTION`](https://ardupilot.org/sub/docs/parameters.html#servo14-function-servo-output-function)) is set to `GPIO (-1)`.

Previously an equivalent configuration was set by default via the `BRD_PWM_COUNT` parameter, but it seems the leak detector default assignment was missed during the transition away from that parameter (which was done to provide more flexibility over which pins can be assigned a given function).

## Where to from here?

> **EDIT:** We have released ArduSub 4.5.7, which should automatically fix this configuration issue when it boots up, or provide a warning if there is something else assigned to that pin.

We are also working on some improvements to the BlueOS interface and our recommended setup procedure that should help detect and avoid this kind of situation in future.

> **Click here for the parameter details, to fix it manually**
>
> You can ensure your leak detector parameters are valid using the parameter editor in BlueOS or QGroundControl\*. The standard configuration should be:
> 
> | Parameter | Value | Notes |
> | --- | --- | --- |
> | [`LEAK1_PIN`](https://ardupilot.org/sub/docs/parameters-Sub-stable-V4.5.6.html#leak1-pin-pin-that-leak-detector-is-connected-to) | `AUX6 (55)` | Pixhawks can also use other AUX pins, but this is the default |
> | [`SERVO14_FUNCTION`](https://ardupilot.org/sub/docs/parameters-Sub-stable-V4.5.6.html#servo14-function-servo-output-function) | `GPIO (-1)` | Needs to be the servo channel matching the AUX pin + 8.  
> \*See note below for QGC configuration |
> | [`LEAK1_TYPE`](https://ardupilot.org/sub/docs/parameters-Sub-stable-V4.5.6.html#leak1-type-leak-detector-pin-type-analog-digital) | `Digital (1)` | This is already the default |
> | [`LEAK1_LOGIC`](https://ardupilot.org/sub/docs/parameters-Sub-stable-V4.5.6.html#leak1-logic-default-reading-of-leak-detector-when-dry) | `Low (0)` | This is already the default |
> | [`FS_LEAK_ENABLE`](https://ardupilot.org/sub/docs/parameters-Sub-stable-V4.5.6.html#fs-leak-enable-leak-failsafe-enable) | `Warn only (1)` | You can also set it to `Enter surface mode (2)` if you prefer. |
> 
> > \ ***NOTE:** It may be required to specify the servo function value manually, via the “Advanced settings” option:
> > 
> > ![Screenshot 2025-12-16 at 2.03.13 am](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/3X/8/6/86c78fc2e9b8728ecc0a2bb257a0f3dd5b012ced.png)

## Confirmation

If you have access to your ROV electronics, it is recommended to confirm the leak detector works as expected by shorting out the pins going into one of the leak probes (e.g. with a short piece of wire) and seeing whether you trigger the failsafe.

During the failsafe the status LED should flash yellow and white, and there should be a “Leak Detected” warning displayed (and usually announced) in your control station software (e.g. Cockpit or QGroundControl).

---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [December 15, 2025, 7:02pm UTC](https://discuss.bluerobotics.com/t/attention-pixhawk-leak-detector-users/22154/2 "2025-12-15T19:02:15Z")

</div>



---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [December 17, 2025, 11:15pm UTC](https://discuss.bluerobotics.com/t/attention-pixhawk-leak-detector-users/22154/3 "2025-12-17T23:15:21Z")

</div>

Noting that an updated ArduSub firmware version (4.5.7) has now been released, which will automatically fix the incorrect configuration.
