Bar02 Ultra High Resolution 10m Depth/Pressure Sensor


This pressure sensor can measure up to 2 bar absolute pressure (10m depth) with a depth resolution of 0.16mm and an in-air altitude resolution of 13cm. It is waterproof and ready to install. This sensor is NOT compatible with ArduSub or the BlueROV2.

In stock

HS Code: 9026.20.4000

Product Description

The Bar02 Ultra-High Resolution 10m Depth/Pressure Sensor is a low-pressure, high resolution, high accuracy version of our Bar30 sensor. Using the MS5837-02BA sensor from Measurement Specialties, this device can measure up to 10 meter depth (2 bar absolute pressure) with a water depth resolution of just 0.16mm! It can also measure altitude in air using air pressure with a resolution of 13cm. It’s housed in the same penetrator form factor as the Bar30 and can handle up to 10 bar absolute pressure (90 meter water depth).

One of the key features of this version of the sensor compared to the Bar30 sensor is the very high accuracy. According to the datasheet, the worst case accuracy is about +/- 4 mbar (4 cm water depth).

The sensor 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, however it is not compatible with ArduSub or the BlueROV2.

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

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 Bar02 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 Pressure10 bar145 psi
Standard Operating Pressure0.3-1.2 bar4-17 psi
Standard Operating Pressure0-2 bar29 psi
Operating Depth10m33 ft
Relative Accuracy (-20-85°C)+/- 4 mbar (4 cm in freshwater)+/- .004 psi (1.5 inches in freshwater)
Operating Temperature-20 to +85°C-4 to 185°F
Storage Temperature-40 to +85°C-40 to 185°F
Absolute Accuracy+/- 2°C (when used between -20 to +85°C)+/- 3.6°F
Recommended Through Hole Size10.2 mm13/32"

2D Drawings

Bar02 2D

3D Models


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


MS5837-02BA Data Sheet (PDF)

Bar30/Bar02 Schematic (PDF)

Revision History

April 20th, 2018

  • 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 Bar02 with an Arduino

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

Guide to Using the Bar02 with a Raspberry Pi

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

Depth/Pressure Calculator

Example Code




Blue Robotics Forum – Sensors