The Bar30 pressure sensor is a high-pressure, high-resolution pressure sensor. With 0.2 bar resolution, it has an amazing depth measurement resolution of 2mm in the water column! It can also be use in air to measure altitude.
The sensor is the Measurement Specialties MS5837-30BA, which can measure up to 30 bar (300m depth) and communicates over I2C. It operates on 3.3V I2C voltage but can accept power input up to 5.5V. It includes four solder pads for ground, 3.3V-5.5V power, and 3.3V I2C lines.
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 electrical schematic and board layout are open-source and the design files are available below. Feel free to adapt for your own needs.
|Supply Voltage||2.5-5.5 volts
|I 2 C Logic Voltage (SDA and SCL)||2.5 - 3.6 volts
|Peak Current||1.25 mA
|Maximum Mechanical Pressure||50 bar||725 psi
|Operating Pressure||0-30 bar||435 psi
|Operating Depth||300m||990 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
MS5837-30BA Data Sheet (PDF)
Bar30 Schematic (PDF)
26 January 2016
1. Download MS5837 Arduino Library.
2. Install software such as the Example Code to your microcontroller.
3. Solder appropriately colored wires to the solder pads.
4. Connect the 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
Blue Robotics Forum – Sensors