# Integration of External Pressure Sensor with Pixhawk and ArduSub for Depth Hold Mode

**URL:** <https://discuss.bluerobotics.com/t/integration-of-external-pressure-sensor-with-pixhawk-and-ardusub-for-depth-hold-mode/20984>\
**Category:** General Discussion\
**Tags:** ardusub, pymavlink\
**Created:** [July 16, 2025, 2:13pm UTC](https://discuss.bluerobotics.com/t/integration-of-external-pressure-sensor-with-pixhawk-and-ardusub-for-depth-hold-mode/20984 "2025-07-16T14:13:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [July 17, 2025, 11:30pm UTC](https://discuss.bluerobotics.com/t/integration-of-external-pressure-sensor-with-pixhawk-and-ardusub-for-depth-hold-mode/20984/4 "2025-07-17T23:30:21Z")

</div>

Hi @omer_1,

> [@omer\_1](#):
>
> The sensor in my system communicates via RS485, and I would like to use the depth hold mode in QGroundControl (QGC). Is it possible to integrate this functionality with my sensor?

[This comment](https://discuss.bluerobotics.com/t/external-pressure-sensor-integration-with-cockpit-troubleshoot/20602/2) provides some relevant context.

> [@omer\_1](#):
>
> I have already observed that the pwm signal I send to the thrusters conflicts with the QGC’s control link, so how can I overcome this?

How are you trying to do this, and why are you trying to do it while QGC is already controlling the vehicle?

You can’t control the vehicle with conflicting commands, so if you want to use your own control you’ll need to either [disable QGC’s joystick input](https://docs.qgroundcontrol.com/Stable_V4.3/en/qgc-user-guide/setup_view/joystick.html#configure), or close QGC entirely. If you want QGC to receive telemetry from the autopilot while you send commands in a separate program, you’ll likely want to [set up an extra MAVLink endpoint](https://blueos.cloud/docs/stable/usage/advanced/#mavlink-endpoints) for your program to connect to.

---

_[View the full topic](https://discuss.bluerobotics.com/t/integration-of-external-pressure-sensor-with-pixhawk-and-ardusub-for-depth-hold-mode/20984)._
