Bar30 High-Resolution 300m Depth/Pressure Sensor


This pressure sensor can measure up to 30 Bar (300m depth) with a depth resolution of 2mm. It is waterproof and ready to install, making it an ideal choice for ROVs, AUVs, remote sensors, and underwater instrumentation.

Compatible with ArduSub on the BlueROV2 and with Arduino and Raspberry Pi devices.

In stock

HS Code: 9026.20.4000

Product Description

The Bar30 pressure sensor is a high-pressure, high-resolution pressure sensor that is sealed from the water and ready to install in a watertight enclosure on your ROV or AUV. With 0.2 mbar resolution, it has an amazing depth measurement resolution of 2mm in the water column!

The sensor is the Measurement Specialties MS5837-30BA, which can measure up to 30 bar (300m/1000ft depth) and communicates over I2C. It operates on 3.3V I2C voltage but can accept power input up to 5.5V. It comes standard with a 4-pin DF13 connector that is compatible with most flight controller boards including the PixHawk and others. The Bar30 sensor is supported by default in ArduPilot and ArduSub so that it can be used on any ArduSub controlled ROV like BlueROV2. We also have guides on how to use the Bar30 with Arduino and Raspberry Pi devices.

This sensor includes a temperature sensor accurate to ±1°C, with data also accessible through I2C. If you need something with more temperature accuracy, please check out the Celsius Temperature Sensor.

The anodized aluminum body was designed around the cable penetrator design and is compatible with all of the watertight enclosures.

We also have a 2 bar version of this sensor that can measure to 10m water depth and a 100 bar version that measures to 1000 m water depth. These sensors have similar design and characteristics and are useful in many applications as well.

The electrical schematic and board layout are open-source and the design files are available in the Technical Details tab. Feel free to adapt for your own needs.


  • 1 x Bar30 Pressure Sensor
  • 1 x O-ring
  • 1 x Nut


Supply Voltage2.5-5.5 volts
I 2 C Logic Voltage (SDA and SCL)2.5 - 3.6 volts
Peak Current1.25 mA
Mating Connector Hirose 4-pos DF13 available on Digi-Key
Maximum Mechanical Pressure50 bar725 psi
Operating Pressure0-30 bar435 psi
Operating Depth300m990 ft
Relative Accuracy (0-40°C)+/- 200 mbar (204 cm in freshwater)+/- 2.9 psi (6.69 ft in freshwater)
Operating Temperature-20 to +85°C-4 to 185°F
Storage Temperature-40 to +85°C-40 to 185°F
Absolute Accuracy+/- 1.5°C (when used between 0-60°C)+/- 2.7°F
Recommended Through Hole Size10.2 mm13/32"

2D Drawings

Bar30 2D

3D Models


PENETRATOR-M-NUT-10-8-R2 (.zip)


MS5837-30BA Data Sheet (PDF)

Bar30 Schematic (PDF)

Revision History

26 January 2016

  • R1 – Initial release

Quick Start

1. Download MS5837 Arduino Library.

2. Install software such as the Example Code to your microcontroller.

3. Connect the DF13 or bare wires to the appropriate microcontroller pins, using a logic level converter if your board has 5V logic:

  • Green: SCL (3.3V logic)
  • White: SDA (3.3V logic)
  • Red: +2.5-5.5V
  • Black: Ground


Guide to Using the Bar30 with an Arduino

Get started with the Bar30 Pressure/Depth Sensor and its Arduino library!

Guide to Using the Bar30 with a Raspberry Pi

Get started with the Bar02 Pressure/Depth Sensor and its Python library!

Viewing Bar30/Bar100 Depth and Temperature Readings on an ArduSub Vehicle

Learn how to quickly view depth and temperature values from a BarXX series sensor using a Pixhawk and ArduSub!

Depth/Pressure Calculator

Example Code




Blue Robotics Forum – Sensors