The HMC5883L is a 3-axis digital compass IC by Honeywell, communicating via I2C. It measures magnetic field direction with 1–2 degree heading accuracy and is used in drones, robots, and navigation systems.
| Pin | Name | Function | Type |
|---|---|---|---|
| VCC | VCC | 2.16V–3.6V supply | PWR |
| GND | GND | Ground | GND |
| SCL | SCL | I2C clock | BUS |
| SDA | SDA | I2C data | BUS |
| DRDY | DRDY | Data ready interrupt | I/O |
| SETP | SETP | Set/reset strap positive | I/O |
| SETC | SETC | Set/reset strap negative | I/O |