Pololu LPS25HB Pressure/Altitude Sensor Carrier 126kPa I2C/SPI 2.5-5.5V ±0.2 mbar/0.01 mbar

Brand: Pololu
Product Code: AN-12988
Availability: 4-6 business days
Planned delivery date after ordering: 2025-05-09
16.40€
Ex Tax: 13.55€

Qty

This carrier for ST’s LPS25HB digital barometer measures pressures from 260 mbar to 1260 mbar (26 kPa to 126 kPa) with absolute pressure accuracy over temperature down to ±0.2 mbar (0.02 kPa) and typical RMS noise of 0.01 mbar (1Pa) in high-resolution mode. These pressures can easily be converted to altitudes. The board has a 3.3 V linear regulator and integrated level shifters that allow it to work over an input voltage range of 2.5 V to 5.5 V, and the 0.1″ pin spacing makes it easy to use with standard solderless breadboards and 0.1″ perfboards. The sensor offers I²C and SPI interfaces.

Specifications

  • Dimensions: 0.4″ × 0.8″ × 0.1″ (10 mm × 23 mm × 3 mm)
  • Weight without header pins: 0.5 g (0.02 oz)
  • Operating voltage: 2.5 V to 5.5 V
  • Supply current: 2 mA
  • Output format (I²C/SPI): 24-bit pressure reading (4096 LSb/mbar)
  • Sensitivity range: 260 mbar to 1260 mbar (26 kPa to 126 kPa)

PIN

Description

VDD

Regulated 3.3 V output. Almost 150 mA is available to power external components. (If you want to bypass the internal regulator, you can instead use this pin as a 3.3 V input with VIN disconnected.)

VIN

This is the main 2.5 V to 5.5 V power supply connection. The SCL/SPC and SDA/SDI level shifters pull the I²C and SPI bus high bits up to this level.

GND

The ground (0 V) connection for your power supply. Your I²C or SPI control source must also share a common ground with this board.

SDA/SDI/SDO

Level-shifted I²C data line and SPI data in line (also doubles as SDO in 3-wire mode): HIGH is VIN, LOW is 0 V

SCL/SPC

Level-shifted I²C/SPI clock line: HIGH is VIN, LOW is 0 V

SDO/SA0

SPI data out line in 4-wire mode: HIGH is VDD, LOW is 0 V. This output is not level-shifted. Also used as an input to determine I²C slave address (see below).

CS

SPI enable (chip select). Pulled up to VDD to enable I²C communication by default; drive low to begin SPI communication.

INT1_DRDY

Programmable interrupt, a 3.3-V-logic-level output. This output is not level-shifted.

Sample code

A basic Arduino library for the LPS25H/LPS25HB that makes it easy to interface this sensor with an Arduino. The library makes it simple to configure the LPS25HB and read the raw pressure data through I²C, and it provides functions for calculating altitude based on the measured pressure for those looking to use this sensor as an altimeter.