MMC5603 Magnetometer

The mmc5603 allows you to use your MMC5603 triple-axis magnetometers (datasheet, Adafruit) with ESPHome. The I²C Bus is required to be set up in your configuration for this sensor to work.


MMC5603 Magnetometer.

# Example configuration entry
  - platform: mmc5603
    address: 0x30
      name: "MMC5603 Field Strength X"
      name: "MMC5603 Field Strength Y"
      name: "MMC5603 Field Strength Z"
      name: "MMC5603 Heading"
    update_interval: 60s

Configuration variables:

  • address (Optional, int): Manually specify the I²C address of the sensor. Defaults to 0x1E.

  • field_strength_x (Optional): The field strength in microtesla along the X-Axis. All options from Sensor.

  • field_strength_y (Optional): The field strength in microtesla along the Y-Axis. All options from Sensor.

  • field_strength_z (Optional): The field strength in microtesla along the Z-Axis. All options from Sensor.

  • heading (Optional): The heading of the sensor in degrees. 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