BMI270 Accelerometer/Gyroscope Sensor

The bmi270 sensor platform allows you to use your BMI270 Accelerometer/Gyroscope (datasheet) sensors with ESPHome. The I²C Bus is required to be set up in your configuration for this sensor to work.

The BMI270 is a low-power 6-axis inertial measurement unit (IMU) from Bosch Sensortec, designed for wearables and other battery-powered applications. It offers improved power efficiency and features compared to its predecessor, the BMI160.

This component only does some basic filtering and no calibration. If you need additional configuration options or features, please consider adding them to the component and submitting a pull request to help improve ESPHome for everyone.

# Example configuration entry
sensor:
  - platform: bmi270
    address: 0x68
    update_interval: 60s
    acceleration_x:
      name: "BMI270 Accel X"
    acceleration_y:
      name: "BMI270 Accel Y"
    acceleration_z:
      name: "BMI270 Accel Z"
    gyroscope_x:
      name: "BMI270 Gyro X"
    gyroscope_y:
      name: "BMI270 Gyro Y"
    gyroscope_z:
      name: "BMI270 Gyro Z"
    temperature:
      name: "BMI270 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 Sensor.

  • acceleration_y (Optional): Use the Y-Axis of the Accelerometer. All options from Sensor.

  • acceleration_z (Optional): Use the Z-Axis of the Accelerometer. All options from Sensor.

  • gyroscope_x (Optional): Use the X-Axis of the Gyroscope. All options from Sensor.

  • gyroscope_y (Optional): Use the Y-Axis of the Gyroscope. All options from Sensor.

  • gyroscope_z (Optional): Use the Z-Axis of the Gyroscope. All options from Sensor.

  • temperature (Optional): Use the internal temperature of the sensor. All options from Sensor.

  • update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.

  • id (Optional, ID): Manually specify the ID used for code generation.

See Also