$85.00

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.

This updated sensor has a preinstalled JST GH connector in place of a DF13 connector. Our JST GH to DF13 Adapter can be used to connect to hardware using DF13 connectors.
Please note! This sensor must be allowed to dry in air once per day for at least 2 hours, or the pressure and temperature readings will drift.
For long term submersion or environments where regular drying is not possible, please see the Bar100 Depth/Pressure Sensor.

In stock

Quantity 1 - 9 10 - 24 25 - 49 50 - 149 150+
Price $85.00 $80.75 $76.50 $72.25 $68.00
SKU: BR-100586
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 JST GH 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 ±4°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.

This sensor must be completely dried once per day for at least 2 hours, or the pressure and temperature readings will drift.

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 JST GH 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 ±4°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.

This sensor must be completely dried once per day for at least 2 hours, or the pressure and temperature readings will drift.

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

Specifications

ParameterValue
Electrical
Supply Voltage2.5–5.5 volts
I2C Logic Voltage (SDA and SCL)2.5–3.6 volts
Peak Current1.25 mA
Pressure
Maximum Mechanical Pressure50 bar*725 psi*
Operating Pressure0–30 bar0–435 psi
Operating Depth0–300m0–990 ft
Relative Accuracy (0-45°C)± 200 mbar (204 cm in fresh water)± 2.9 psi (6.69 ft in fresh water)
Resolution.2 mbar (2 mm in fresh water)
Temperature
In Air Operating Temperature-20 to +85°C-4 to 185°F
In Water Operating Temperature2 to 40°C35.6 to 104°F
Storage Temperature-40 to +85°C-40 to 185°F
Absolute Accuracy± 4°C (between 0 to 60°C)± 7.2°F
Physical
Recommended Through Hole Size10.2 mm13/32"
Interfacing
ArduSub Compatible?Yes
Development Libraries MS5837 Arduino,
MS5837 Python,
MS5xxx ArduPilot
I2C Address0x76
Mating Connector4-pos JST GH available on Digi-Key
Connector Pinout1 - Red
2 - Green
3 - White
4 - Black
Vin
SCL
SDA
GND
*Subjecting the sensor to the absolute maximum mechanical pressure may cause damage to the sensor

2D Drawings

 Drawing

3D Models

BAR30-ASM-R2-PUBLIC (.zip)

BAR30-PRESSURE-SENSOR-R1 (.zip)

Documents

MS5837-30BA Data Sheet (.pdf)

BAR30-SENSOR-Schematic (.pdf)

Revision History

31 January 2024

  • Temperature accuracy updated

29 June 2023

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

30 January 2023

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

9 May 2022

  • 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

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

Arduino

Python

Community

Blue Robotics Forum – Sensors