This absolute pressure sensor, ST LPS22HB (a.k.a LPS22) can quickly and easily measure air pressure, useful when you want to know about the weather (are we in a low-pressure or high-pressure system?) or to determine altitude, as the air thins out the higher we get above sea level.
For example, at sea level, the official pressure level is 1013.25 hPa. You can use this sensor to measure the current pressure where you are right now to compare.
The LPS22 is the Worlds Smallest sensor (according to ST) and it is surprisingly tiny - only 2x2mm. So you'll see this sensor show up in wearables and watches where space is at a premium. It has a wide measurement range of 260 to 1260 hPa with 24-bit pressure data measurements that can be read up to 75 times a second (Hz), you can be confident that you always have an up to date and precise measurement. It's pretty dang accurate too, with the ability to measure absolute pressure within 0.1 hPa after one-point calibration (± 1 hPa before calibration).
These days, helpful little sensors like the LPS22 are often quite little and tend to come in surface-mount packages that make them tricky to use with breadboards. With that in mind, Adafruit have taken the LPS22 and put it on a breakout board with level shifting circuitry and a voltage regulator. This means that not only can you use it with a breadboard, but you can use it with a wide range of devices that have either a 3.3V logic level, like a Raspberry Pi or CircuitPython-compatible Metro M4 Express, or with a 5V logic level device like a Metro 328 or Arduino Uno.
Furthermore, they've included SparkFun Qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! All you need to do is plug in a compatible cable, wire it up to your device using one of our wiring diagrams and you're ready to write some code to start reporting measurements.
To make the coding easier, Adafruit have written libraries for Arduino and CircuitPython or Python along with accompanying example code, so all you have to do is gather your supplies and follow our instructions and you can know just how much air is sloshing around in your vicinity
TECHNICAL DETAILS
Sensor Technical Specs:
260 to 1260 hPa absolute pressure range
High overpressure capability: 20x full-scale
Embedded temperature compensation
24-bit pressure data output
16-bit temperature data output
ODR from 1 Hz to 75 Hz
SPI and I²C interfaces
Embedded FIFO
Interrupt functions: Data Ready, FIFO flags, pressure thresholds
High shock survivability: 22,000 g
Small and thin package
Breakout Specs:
Default I2C address 0x5D, can be set to 0x5C with jumper
3-5V power and logic compatible for I2C or SPI usage