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

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
Mating Connector Hirose 4-pos DF13 available on Digi-Key
Maximum Mechanical Pressure50 bar725 psi
Operating Pressure0-30 bar435 psi
Operating Depth300m990 ft
Absolute 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


Using the Bar30 with an Arduino

Penetrator Installation

Depth/Pressure Calculator

Example Code




Blue Robotics Forum – Sensors