Pressure LPS22HB(SPI): Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image:TArduinoLPS22HBSPI.png == Summary == The Pressure LPS22HB component reads atmospheric pressure and temperature data from an STMicroelectronics LPS22HB sensor. It communicates using the SPI interface and outputs the measured values. == Description == The LPS22HB is a high-performance piezoresistive absolute pressure sensor functioning as a digital output barometer with SPI interface. It includes a sensing element and an IC interface that provides calibrated di..."
(No difference)

Revision as of 00:47, 10 September 2025

File:TArduinoLPS22HBSPI.png

Summary

The Pressure LPS22HB component reads atmospheric pressure and temperature data from an STMicroelectronics LPS22HB sensor. It communicates using the SPI interface and outputs the measured values.

Description

The LPS22HB is a high-performance piezoresistive absolute pressure sensor functioning as a digital output barometer with SPI interface. It includes a sensing element and an IC interface that provides calibrated digital output for both pressure and temperature. The sensor offers programmable interrupt signals, FIFO, and low-pass filter functionality. Typical applications include portable weather stations, altimetry, and industrial pressure monitoring systems with SPI communication requirements.

Diagram:

Properties

  • Enabled – Enables or disables the component's functionality (Default: True).
  • In Fahrenheit – When enabled, the temperature is output in Fahrenheit; otherwise, it is in Celsius (Default: False).
  • Low Pass Filter – Configuration settings for the digital low-pass filter.
   *Cutoff Frequency Divider – Sets the filter cutoff frequency divisor value (Default: 50).
   *Enabled – Enables or disables the low-pass filter functionality (Default: True).
  • Name – The user-defined name for the component (Default: Pressure2).
  • Sample Rate (Hz) – Sets the data output rate in Hertz (Default: 25).
  • Single Shot – When enabled, the sensor performs a single measurement instead of continuous sampling (Default: False).
  • SPISpeed – Configures the SPI communication speed in Hz (Default: 8000000).

Pins

Input Pins

  • Clock (digital) – The SPI clock input (SCK) for synchronous communication.
  • Chip Select (digital) – The chip select input (CS) for activating the SPI communication.
  • I (spi) – The SPI data input (MOSI) for sending commands to the sensor.

Output Pins

  • Pressure(Pa) (analog) – Outputs the measured barometric pressure value in Pascals (Pa).
  • Temperature (analog) – Outputs the measured ambient temperature.
  • Reset (digital) – Hardware reset output for the sensor module.
  • Sensor (digital) – Interrupt or data ready output signal from the sensor.

Categories