esphome-docs/components/sensor/mpl115a2.rst

49 lines
1.4 KiB
ReStructuredText

MPL115A2 Barometric Pressure/Altitude/Temperature Sensor
=========================================================
.. seo::
:description: Instructions for setting up MPL115A2 atmospheric pressure sensors.
:image: mpl115a2.jpg
:keywords: MPL115A2
The ``MPL115A2`` sensor platform allows you to use your MPL115A2 atmospheric pressure sensors
(`datasheet <https://www.nxp.com/docs/en/data-sheet/MPL115A2.pdf>`__,
`Adafruit`_) temperature and pressure sensors with ESPHome. The :ref:`I²C <i2c>` is
required to be set up in your configuration for this sensor to work.
.. figure:: images/mpl115a2.jpg
:align: center
:width: 50.0%
MPL115A2 Barometric Pressure/Temperature Sensor
.. _Adafruit: https://www.adafruit.com/product/992
.. code-block:: yaml
# Example configuration entry
sensor:
- platform: MPL115A2
temperature:
name: "MPL115A2 Temperature"
pressure:
name: "MPL115A2 Pressure"
update_interval: 10s
- **address** (*Optional*, int): Manually specify the I²C address of
the sensor. Defaults to ``0x60``.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
sensor. Defaults to ``60s``.
See Also
--------
- :ref:`sensor-filters`
- :doc:`bmp280`
- :doc:`bme280`
- :doc:`bmp085`
- :doc:`ms5611`
- :apiref:`MPL115A2/MPL115A2.h`
- :apiref:`MPL3115A2/MPL3115A2.h`
- :ghedit:`Edit`