Bosch BMM150 Compass(SPI)

From Visuino
Jump to navigation Jump to search

File:TArduinoBMM150CompassSPI.png

Summary

BMM150 3-axis magnetic compass with SPI interface for measuring magnetic fields in microtesla (µT).

Description

The **Bosch BMM150 Compass (SPI)** measures X, Y, and Z components of the magnetic field with high precision. It supports configurable sampling rates, repeated measurements, and SPI communication. Ideal for orientation detection, navigation, and magnetic field sensing applications.

Diagram:

Properties

  • Enabled – Enables or disables the compass.
  • Repeat X/Y – Number of repeated measurements for X and Y axes (default 4).
  • Repeat Z – Number of repeated measurements for Z axis (default 14).
  • Sampling Rate (Hz) – Measurement frequency (default 10 Hz).
  • SPISpeed – SPI communication speed (default 500000).

Pins

Input Pins

  • Reset (clock) – Resets the sensor.
  • Clock – Sampling clock input.

Output Pins

  • X (µT) – X-axis magnetic field in microtesla.
  • Y (µT) – Y-axis magnetic field in microtesla.
  • Z (µT) – Z-axis magnetic field in microtesla.
  • Sensor (SPI) – SPI interface for communication and configuration.
  • Chip Select (digital) – SPI chip select pin.

Categories