$75.00$85.00

These pressure sensors provide underwater pressure, depth and temperature measurements for ROVs, AUVs, and underwater instrumentation. Choose from the ultra-high resolution Bar02 for shallow water and in-air measurements, or the high-pressure Bar30 for depths up to 300 meters.

These are great for intermittent submersion and must be dried daily. For long-term deployments, check out the Bar100 sensor!

Quantity 1 - 9 10 - 24 25 - 49 50 - 149 150+
Price $75.00$85.00 $71.25$80.75 $67.50$76.50 $63.75$72.25 $60.00$68.00
SKU: BAR-VP
HS Code: 9026.20.4000

Product Description

The Bar series sensors are compact, high-resolution pressure sensors for underwater pressure and depth sensing. The aluminum body uses the bulkhead penetrator form factor, so it’s quick to install in watertight enclosure and is ideal for use on ROVs, AUVs, and other underwater projects.

Two models are available to suit different applications:

The Bar02 is a low-pressure, ultra-high resolution sensor using the Measurement Specialties MS5837-02BA. It measures up to 2 bar (about 10 meters water depth) with a depth resolution of just 0.16 mm and can also measure in-air altitude with 13 cm resolution. This makes it ideal for shallow-water devices where a high level of resolution is required. It includes a temperature sensor accurate to ±2 °C and is supported in ArduSub 4.7 and later.

The Bar30 is a high-pressure sensor using the Measurement Specialties MS5837-30BA. It measures up to 30 bar (about 300 meters water depth) with a depth resolution of 2 mm, making it a great choice for deep-water ROVs and general underwater instrumentation. The built-in temperature sensor has ±4 °C accuracy, and is supported by ArduSub and other ArduPilot firmware.

Both sensors communicate via I²C, operate on 3.3 V logic (with 5.5 V max power input), and come with a JST GH connector compatible with most flight controllers, like the Navigator Flight Controller and Pixhawk autopilot. The electrical schematic and board layout are fully open-source, so you can adapt the design to your own projects.

These sensors use gel-covered sensing elements that must be dried for at least 2 hours each day to maintain accuracy. Long-term submersion may damage the sensor.

Product Description

The Bar series sensors are compact, high-resolution pressure sensors for underwater pressure and depth sensing. The aluminum body uses the bulkhead penetrator form factor, so it’s quick to install in watertight enclosure and is ideal for use on ROVs, AUVs, and other underwater projects.

Two models are available to suit different applications:

The Bar02 is a low-pressure, ultra-high resolution sensor using the Measurement Specialties MS5837-02BA. It measures up to 2 bar (about 10 meters water depth) with a depth resolution of just 0.16 mm and can also measure in-air altitude with 13 cm resolution. This makes it ideal for shallow-water devices where a high level of resolution is required. It includes a temperature sensor accurate to ±2 °C and is supported in ArduSub 4.7 and later.

The Bar30 is a high-pressure sensor using the Measurement Specialties MS5837-30BA. It measures up to 30 bar (about 300 meters water depth) with a depth resolution of 2 mm, making it a great choice for deep-water ROVs and general underwater instrumentation. The built-in temperature sensor has ±4 °C accuracy, and is supported by ArduSub and other ArduPilot firmware.

Both sensors communicate via I²C, operate on 3.3 V logic (with 5.5 V max power input), and come with a JST GH connector compatible with most flight controllers, like the Navigator Flight Controller and Pixhawk autopilot. The electrical schematic and board layout are fully open-source, so you can adapt the design to your own projects.

These sensors use gel-covered sensing elements that must be dried for at least 2 hours each day to maintain accuracy. Long-term submersion may damage the sensor.

  • 1 x Bar Pressure Sensor based on selection
  • 1 x O-ring
  • 1 x Bulkhead nut

Specifications

ModelBar02Bar30
Electrical
Supply Voltage (Vin)2.5–5.5 V
I2C Logic Voltage (SDA and SCL)2.5–3.6 V
Peak Current1.25 mA
Performance
In Air Operating Temperature-20 to 85°C
In Water Operating Temperature2 to 40°C
Maximum Mechanical Pressure ¹10 bar50 bar
Operating Pressure (-20 to 85 °C)0.3–1.2 bar
0.01–2 bar (extended)
0–30 bar
Operating Depth ²0–10 m0–295.6 m
Relative Accuracy 0 to 60°C: ± 2 mbar (2 cm in fresh water)
-20 to 85°C: ± 4 mbar (4 cm in fresh water) ³
Absolute Accuracy0 to 45°C: ±200 mbar (204 cm in fresh water)
-20 to 85°C: ± 400 mbar (409 cm in fresh water)
Resolution.016 mbar (.16 mm in fresh water, 13cm in air at sea level).2 mbar (2 mm in fresh water)
Temperature Sensor Relative Accuracy± 2°C
Temperature Sensor Absolute Accuracy± 4°C
Physical
Storage Temperature-40 to 85°C
Maximum Continuous Submersion ⁴24 hrs
Weight in Air14 g
Bulkhead ThreadM10 x 1.5
Installation Hole (Port) Size
Clearance10.0–10.2 mm
TappedM10 x 1.5
Interfacing
ArduSub CompatibleYes (>= 4.7)Yes
Development Libraries MS5837 Arduino
MS5837 Python
MS5xxx ArduPilot
I2C Address0x76
Connector4-position JST GH
Mating Connector4-pos JST GH available on Digi-Key
Connector Pinout1 - Red - Vin
2 - Green - SCL
3 - White - SDA
4 - Black - GND
¹ Maximum mechanical pressure is the highest pressure the sensor can withstand before sustaining permanent damage.
² Depth values are calculated assuming 1 bar atmospheric pressure and freshwater density (1000 kg/m³); actual values will vary with fluid density.
³ Applies only to standard pressure range. For extended pressure range, please see MS5837-02BA datasheet.
⁴ Sensing element must be dried for at least 2 hours daily to maintain accuracy; long-term submersion may damage the sensor.

2D Drawings

 Drawing

3D Models

BAR02-ASM-R2-PUBLIC (.zip)

BAR30-ASM-R2-PUBLIC (.zip)

Documents

MS5837-02BA Data Sheet (.pdf)

MS5837-30BA Data Sheet (.pdf)

Bar30/Bar02 Schematic (.pdf)

Revision History

31 January 2024

  • Temperature accuracy updated

29 June 2023

  • BAR02-SENSOR-R2-RP SKU changed to BR-100891
  • BAR30-SENSOR-R2-RP SKU changed to BR-100586

9 February 2023

  • -013 O-ring color changed to blue

30 January 2023

  • Minor revision
  • -013 O-ring color changed to blue

11 May 2022

  • BAR02-SENSOR-R2 – Initial release
  • 4 position DF13 connector changed to 4 position JST GH connector
  • Changes to bulkhead design and color

9 May 2022

  • BAR30-SENSOR-R2 – Initial release
  • 4 position DF13 connector changed to 4 position JST GH connector
  • Changes to bulkhead design and color

29 March 2021

  • Changes to operating temperatures

20 April 2018

  • BAR02-SENSOR-R1 – Initial release

26 January 2016

  • BAR30-SENSOR-R1 – Initial release

Quick Start

1. Download MS5837 Arduino Library.

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

3. Connect the JST GH connector 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

Guides

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 Bar30 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!
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

Arduino

Python

Community

Blue Robotics Forum – Sensors