Pressure LPS22HB(SPI): Difference between revisions
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 edit summary |
||
Line 14: | Line 14: | ||
*'''Enabled''' – Enables or disables the component's functionality (Default: True). | *'''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). | *'''In Fahrenheit''' – When enabled, the temperature is output in Fahrenheit; otherwise, it is in Celsius (Default: False). | ||
*'''Low Pass Filter''' | *'''Low Pass Filter:''' | ||
**'''Cutoff Frequency Divided''' – 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). | *'''Name''' – The user-defined name for the component (Default: Pressure2). | ||
*'''Sample Rate (Hz)''' – Sets the data output rate in Hertz (Default: 25). | *'''Sample Rate (Hz)''' – Sets the data output rate in Hertz (Default: 25). | ||
Line 24: | Line 24: | ||
== Pins == | == Pins == | ||
=== Input Pins === | === Input Pins === | ||
*'''Clock''' (digital) – The SPI clock input (SCK) for synchronous communication. | *'''Clock''' (digital) – The SPI clock input (SCK) for synchronous communication. | ||
*''' | *'''Reset''' (digital) – Hardware reset output for the sensor module. | ||
=== Output Pins === | === Output Pins === | ||
*'''Pressure(Pa)''' (analog) – Outputs the measured barometric pressure value in Pascals (Pa). | *'''Pressure(Pa)''' (analog) – Outputs the measured barometric pressure value in Pascals (Pa). | ||
*'''Temperature''' (analog) – Outputs the measured ambient temperature. | *'''Temperature''' (analog) – Outputs the measured ambient temperature. | ||
*''' | *'''Chip Select''' (digital) – The chip select input (CS) for activating the SPI communication. | ||
*'''Sensor''' ( | *'''Sensor''' (spi) – The SPI data input (MOSI) for sending commands to the sensor. | ||
== Categories == | == Categories == |
Latest revision as of 01:06, 10 September 2025
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:
- Cutoff Frequency Divided – 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.
- Reset (digital) – Hardware reset output for the sensor module.
Output Pins
- Pressure(Pa) (analog) – Outputs the measured barometric pressure value in Pascals (Pa).
- Temperature (analog) – Outputs the measured ambient temperature.
- Chip Select (digital) – The chip select input (CS) for activating the SPI communication.
- Sensor (spi) – The SPI data input (MOSI) for sending commands to the sensor.
Categories
- File:SPI.png – Components that use the SPI communication protocol.
- File:Sensors.png – Components used for sensing environmental data.
- File:Digital.png – Components with digital inputs or outputs.
- File:Analog.png – Components with analog inputs or outputs.
- File:Pressure.png – Components that measure pressure.