mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-24 03:02:12 +01:00
Add BMI160 docs (see esphome/esphome#5143) (#3086)
This commit is contained in:
parent
d1096fd3b4
commit
f36ded648e
84
components/sensor/bmi160.rst
Normal file
84
components/sensor/bmi160.rst
Normal file
@ -0,0 +1,84 @@
|
||||
BMI160 Accelerometer/Gyroscope Sensor
|
||||
======================================
|
||||
|
||||
.. seo::
|
||||
:description: Instructions for setting up BMI160 Accelerometer and Gyroscope sensors.
|
||||
:image: bmi160.jpg
|
||||
|
||||
The ``bmi160`` sensor platform allows you to use your BMI160 Accelerometer/Gyroscope
|
||||
(`datasheet <https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi160-ds000.pdf>`__,
|
||||
`SparkFun`_) sensors with
|
||||
ESPHome. The :ref:`I²C Bus <i2c>` is
|
||||
required to be set up in your configuration for this sensor to work.
|
||||
|
||||
This component only does some basic filtering and no calibration. Due to the complexity of
|
||||
this sensor and the amount of possible configuration options, you should probably
|
||||
create a custom component by copying and modifying the existing code if you want a specific
|
||||
new feature. Supporting all possible use-cases would be quite hard.
|
||||
|
||||
|
||||
.. figure:: images/bmi160-full.jpg
|
||||
:align: center
|
||||
:width: 50.0%
|
||||
|
||||
BMI160 Accelerometer/Gyroscope Sensor.
|
||||
|
||||
.. _SparkFun: https://www.sparkfun.com/products/18794
|
||||
|
||||
.. figure:: images/bmi160-ui.png
|
||||
:align: center
|
||||
:width: 80.0%
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
# Example configuration entry
|
||||
sensor:
|
||||
- platform: bmi160
|
||||
address: 0x68
|
||||
update_interval: 60s
|
||||
acceleration_x:
|
||||
name: "BMI160 Accel X"
|
||||
acceleration_y:
|
||||
name: "BMI160 Accel Y"
|
||||
acceleration_z:
|
||||
name: "BMI160 Accel z"
|
||||
gyroscope_x:
|
||||
name: "BMI160 Gyro X"
|
||||
gyroscope_y:
|
||||
name: "BMI160 Gyro Y"
|
||||
gyroscope_z:
|
||||
name: "BMI160 Gyro z"
|
||||
temperature:
|
||||
name: "BMI160 Temperature"
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor. Defaults to ``0x68``, may also be ``0x69``.
|
||||
- **acceleration_x** (*Optional*): Use the X-Axis of the Accelerometer. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **acceleration_y** (*Optional*): Use the Y-Axis of the Accelerometer. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **acceleration_z** (*Optional*): Use the Z-Axis of the Accelerometer. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **gyroscope_x** (*Optional*): Use the X-Axis of the Gyroscope. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **gyroscope_y** (*Optional*): Use the Y-Axis of the Gyroscope. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **gyroscope_z** (*Optional*): Use the Z-Axis of the Gyroscope. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **temperature** (*Optional*): Use the internal temperature of the sensor. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
|
||||
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
- :ref:`sensor-filters`
|
||||
- :doc:`template`
|
||||
- :doc:`ultrasonic`
|
||||
- :apiref:`bmi160/bmi160.h`
|
||||
- `i2cdevlib <https://github.com/jrowberg/i2cdevlib>`__ by `Jeff Rowberg <https://github.com/jrowberg>`__
|
||||
- :ghedit:`Edit`
|
After Width: | Height: | Size: 3.0 KiB |
BIN
components/sensor/images/bmi160-full.jpg
Normal file
BIN
components/sensor/images/bmi160-full.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
BIN
components/sensor/images/bmi160-ui.png
Normal file
BIN
components/sensor/images/bmi160-ui.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
images/bmi160.jpg
Normal file
BIN
images/bmi160.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -391,10 +391,11 @@ Motion
|
||||
.. imgtable::
|
||||
|
||||
APDS9960, components/sensor/apds9960, apds9960.jpg, Colour & Gesture
|
||||
BMI160, components/sensor/bmi160, bmi160.jpg, Accelerometer & Gyroscope
|
||||
LD2410, components/sensor/ld2410, ld2410.jpg, Motion & Presence
|
||||
MPU6050, components/sensor/mpu6050, mpu6050.jpg, Accelerometer & Gyroscope
|
||||
MPU6886, components/sensor/mpu6886, mpu6886.jpg, Accelerometer & Gyroscope
|
||||
RuuviTag, components/sensor/ruuvitag, ruuvitag.jpg, Temperature & Humidity & Accelerometer
|
||||
LD2410, components/sensor/ld2410, ld2410.jpg, Motion & Presence
|
||||
|
||||
|
||||
Thermocouple
|
||||
|
Loading…
Reference in New Issue
Block a user