Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MPL115A2 Barometric Pressure/Temperature Sensor #3770

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added components/sensor/images/mpl115a2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions components/sensor/mpl115a2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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`
Binary file added images/mpl115a2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ Environmental
MCP9808, components/sensor/mcp9808, mcp9808.jpg, Temperature
MH-Z19, components/sensor/mhz19, mhz19.jpg, CO2 & Temperature
MLX90614, components/sensor/mlx90614, mlx90614.jpg, Temperature
MPL115A2, components/sensor/mpl115a2, mpl115a2.jpg, Temperature & Pressure
MPL3115A2, components/sensor/mpl3115a2, mpl3115a2.jpg, Temperature & Pressure
MS5611, components/sensor/ms5611, ms5611.jpg, Pressure
MS8607, components/sensor/ms8607, ms8607.jpg, Temperature & Humidity & Pressure
Expand Down