# 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:** 2

<div class="post-metadata">

**Author:** ![tony-white](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tony-white/32/13297_2.png) [@tony-white](https://discuss.bluerobotics.com/u/tony-white)\
**Post date:** [July 16, 2025, 4:46pm UTC](https://discuss.bluerobotics.com/t/integration-of-external-pressure-sensor-with-pixhawk-and-ardusub-for-depth-hold-mode/20984/2 "2025-07-16T16:46:04Z")

</div>

Hi @omer_1 -  
To support your pressure sensor, you’ll need to get ArduSub to understand how to talk to it. This would typically require modifying the source code of ArduSub, compiling it, and flashing your custom version. An RS485 to I2c converter is not likely to help you much in this pursuit - a [BluART](https://bluerobotics.com/store/comm-control-power/tether-interface/bluart-r1-rp/) would let you connect your sensor to the system and handle the data from there! [Others](https://discuss.bluerobotics.com/t/external-pressure-sensor-integration-with-cockpit-troubleshoot/20602) on the forum have [discussed](https://discuss.bluerobotics.com/t/integrating-analogue-pressure-depth-sensor/13977) this [before](https://discuss.bluerobotics.com/t/compatibility-of-a-pressure-sensor/16274).

QGroundControl is just a ground control station, displaying what the vehicle is doing. Your second approach, controlling your vehicle from a script, can conflict with QGC’s own control link if you try and do both at the same time!

---

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