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.

In stock

SKU: BAR30-SENSOR-R1-RP Category:
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 DroneCode compatible boards including the APM2.6, PixHawk, and others.

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.

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
Maximum Mechanical Pressure50 bar
Operating Pressure0-30 bar [up to 1000 ft (300 m) in water]
Absolute Accuracy (0-40°C)From 0-6 bar+/- 50 mbar (51 cm in freshwater)
From 0-20 bar+/- 100 mbar (102 cm in freshwater)
From 0-30 bar+/- 200 mbar (204 cm in freshwater)
Absolute Accuracy (-25-85°C)From 0-6 bar+/- 100 mbar (102 cm in freshwater)
From 0-20 bar+/- 200 mbar (204 cm in freshwater)
From 0-30 bar+/- 400 mbar (408 cm in freshwater)
Operating Temperature-20 to +85°C
Storage Temperature-40 to +85°C
Absolute AccuracyFrom 0-10 bar at 0-60°C+/- 1.5°C
From 0-30 bar at -20-85°C+/- 4.0°C
Wire ColorsGreen - I 2 C Clock (SCL, 3.3V)
White - I 2 C Data (SDA, 3.3V)
Red - Positive (2.5-5.5V)
Black - Ground
Overall Length37 mm
Thread SizeM10x1.5 20 mm threaded
Recommended Through Hole Size10-11 mm
Wrench Flats16 mm


Mating Connector

2D Drawings

Bar30 2D

3D Models

Revision History

January 26th, 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

Bar30 Pinout

Example Code