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

  • Arduino IDE | PlatformIO
  • Test Boards :
    • Note: The Diagram below is using  Raspberry Pi PICO  (please refer to your  MCU’s respective pin-outs & bus configuration)
  • Resistors (See below diagram for required value)
  • Regulator (3.3V LDO)
  • Capacitor(See below diagram for required value)

Wiring Diagram / Schematics

LPS25HB Sketch Source Code

LPS25HB Sketch Code w/o Library

LPS25HB Java Source Code

LPS25HB MicroPython Code

LPS25HB C-Code

LPS25HB CircuitPython Code

PCB Board Milling / Gerber File

Downloads

 

Wiring the ST LPS25HB / LPS331AP Pressure, Barometer MEMS Sensor
Facebooktwitterredditpinterestmail
Tagged on:                     

JLCPCBPCBgogoPCBway4pcb

Leave a Reply

Your email address will not be published. Required fields are marked *