Site icon 14core.com

Wiring the ST LPS25HB / LPS331AP Pressure, Barometer MEMS Sensor

This is the LPS25HB release by STMicroelectronics. The LPS25HB is an absolute pressure sensor with a feature that functions as a digital output barometer that rages from 260 mbar to 1260 mbar 26 kPa to 126 kPa with absolute accuracy down to ±0.2 mbar and typical RMS (Root Mean Square) noise of 0.01 mbar in high resolution these pressures can easily be transformed to altitudes. As you can see in the circuit diagram it has a 3.3v LDO Linear Regulator and pullup resistors this will allows you to work over an input voltage range of 2.5v to 5.5v and communicates on i2C / TWI and SPI bus. ST’s LPS25HB a MEMS (Microelectromechanical System) an absolute pressure, barometer sensor a small leadless, land grid array package that makes it difficult to wire directly to your microcontroller. However, you can use an LGA / SMD adapter or  use our PCB milling file below. 

The LPS25HB & LPS331AP pressure and barometer use the same i2C address bus, but different registers field, these IC has embedded temperature compensation with a set of various configuration options, including selectable resolutions, output data rates, FIFO operating modes, and programmable external interrupt signal. This pressure has an absolute pressure accuracy over temperatures as low as ±0.2 mbar with RMS (Root Mean Square) noise of 0.01 mbar at the highest resolution mode with enabled integrated filtering. This pressure and temperature sensor are available through a digital interface. before proceeding to use this sensor please read carefully the LPS25HB / LPS331AP Datasheet.

Requirements

Wiring Diagram / Schematics

LPS25HB Sketch Source Code

[crayon-673f306e19ee4728411443/]

LPS25HB Sketch Code w/o Library

[crayon-673f306e19ef1615148458/]

LPS25HB Java Source Code

[crayon-673f306e19ef7357866857/]

LPS25HB MicroPython Code

[crayon-673f306e19efd340277434/]

LPS25HB C-Code

[crayon-673f306e19f03432136625/]

LPS25HB CircuitPython Code

[crayon-673f306e19f09233722019/]

PCB Board Milling / Gerber File

Downloads

 

Wiring the ST LPS25HB / LPS331AP Pressure, Barometer MEMS Sensor
Exit mobile version