HMC5883L three-axis magnetometer connection guide
HMC5883L three-axis magnetometer LPCC-16 · 3 × 3 mm wiring guide with power, signal assignments, and bench checks.
LPCC-16 · 3 × 3 mm
16 contacts Current packageRead a magnetic vector over I²C
RequiredUse the single-supply reference design. Tie VDD, VDDIO and S1 to 3.3 V. Use low-ESR ceramic capacitors for the reservoir and set/reset nodes.
- +3.3 V
- VDD (2)
- VDDIO (13)
- S1 (4)
- R1.1
- R2.1
- C3.1
- C4.1
- Ground
- Reservoir node
- C1 (10)
- C1.1
- Strap positive
- SETP (8)
- C2.1
- Strap driver
- SETC (12)
- C2.2
- I²C data
- SDA (16)
- Host SDA
- R1.2
- I²C clock
- SCL (1)
- Host SCL
- R2.2
Bench checks
- Confirm address 0x1E and read ASCII H43 from registers 0x0A–0x0C.
- Select continuous measurement by writing 0x00 to the mode register at 0x02. Read all six result bytes starting at 0x03 when data is ready.
- Decode the signed X, Z and Y values in that order. Move the board away from ferromagnetic fixtures and confirm that the readings change as it rotates.
Honeywell HMC5883L datasheet, Table 1, single-supply reference design, and register map. Manufacturer PDF hosted by SparkFun.
LPCC-16 · 3 × 3 mm wiring map
LPCC-16 · 3 × 3 mm
4 · S1
Tie to VDDIO in the recommended circuit.
Models and documents
This map covers Honeywell’s bare HMC5883L in LPCC-16. Confirm the chip identity on boards sold with similar names.
- HMC5883L
- Honeywell 16-pin leadless chip carrier.
- HMC5883L manufacturer documentation· Honeywell HMC5883L datasheet, Table 1, single-supply reference design, and register map. Manufacturer PDF hosted by SparkFun.
