Pressure Temperature Humidity BME280 (SPI)
Summary
The Pressure Temperature Humidity BME280 component reads atmospheric pressure, temperature, and humidity data from a Bosch BME280 sensor. It communicates using the SPI interface and outputs the measured values.
Description
The BME280 is an integrated environmental sensor that combines high-precision measurements of pressure, temperature, and humidity in a single device. It provides calibrated digital output and communicates through the SPI interface. The sensor offers configurable averaging, filtering options, and SPI communication settings for all three environmental parameters. Typical applications include comprehensive weather stations, indoor climate monitoring, and advanced environmental data logging systems with SPI communication.
Diagram:
Properties
- Averaging:
- Humidity – Number of samples to average for humidity readings (Default: 1).
- Pressure – Number of samples to average for pressure readings (Default: 1).
- Temperature – Number of samples to average for temperature readings (Default: 1).
- Enabled – Enables or disables the component's functionality (Default: True).
- IIRFilter Coefficient – IIR filter coefficient value (Default: 0).
- In Fahrenheit – When enabled, temperature is output in Fahrenheit; otherwise in Celsius (Default: False).
- Inactive Duration – Duration of inactivity before sleep mode in seconds (Default: 0.5).
- Name – The user-defined name for the component (Default: PressureTemperatureHumidity1).
- SPI3Wire – Enables 3-wire SPI mode when True (Default: False).
- SPISpeed – Configures the SPI communication speed in Hz (Default: 500000).
Pins
Input Pins
- Chip Select (digital) – Chip select input (CS) for activating SPI communication.
Output Pins
- Pressure(Pa) (analog) – Outputs the measured barometric pressure in Pascals.
- Temperature (analog) – Outputs the measured ambient temperature.
- Humidity(%) (analog) – Outputs the measured relative humidity percentage.
- Out (spi) – SPI data output (MISO) for sensor communication.
Categories
- File:SPI.png – Components that use SPI communication protocol.
- File:Sensors.png – Components used for sensing environmental data.
- File:Temperature.png – Temperature sensing components.
- File:Pressure.png – Pressure sensing components.
- File:Humidity.png – Humidity sensing components.