soldr.ai

Docs  /  Components

QMC5883L compass: specs and pinout

A 3-axis magneto-resistive magnetic field sensor chip with a 16-bit ADC and I2C interface, used for compass heading.

Every value cites its sourceChip-level pinout

Buy on Compoden

Specs

SpecValueSource
Supply voltage VDD2.16 V min, 3.6 V maxsource
Table 2 Specifications (p.4)
I/O voltage VDDIO1.65 V min, 3.6 V max (Table 2); pin table says 1.71 V to VDDsource
Table 2 (p.4); Table 5 pin 13 (p.6)
InterfaceI2C, standard 100 kHz and fast 400 kHz; external pull-up resistors requiredsource
Section 5.4
I2C address0x0D (0001101), 7-bitsource
Section 5.4
Field range+/-2 G or +/-8 G, programmablesource
Table 2 Specifications (p.4)
Output data rate10, 50, 100 or 200 samples/ssource
Table 2 Specifications (p.4)
Field resolution2 mGauss (standard deviation, FS +/-2 G)source
Table 2 Specifications (p.4)
Continuous-mode current75 uA typ at 10 Hz (low power mode); 450 uA typ at 200 Hzsource
Table 2 Specifications (p.4)
Operating temperature-40 to 85 Csource
Table 2 Specifications (p.4)
Absolute maximum VDD5.4 Vsource
Table 3 (p.5)

Power

ValueSource
SupplyVDD 2.16-3.6 V (chip)source
Table 2 (p.4)
Current75 uA typ at 10 Hz low-power mode; standby 3 uAsource
Table 2 (p.4)

Chip pins

These are the pins of the chip on the module, from the chip datasheet. The module's own header may label or expose them differently.

Pins above are the QMC5883L chip (LGA-16) pins. The compass module board (regulator, pull-ups, header order, 5 V tolerance) is not covered by an official document.

PinFunctionVoltageNotesSource
SCLSerial clock, I2CChip pin 1source
Table 5 (p.6)
SDASerial data, I2CChip pin 16source
Table 5 (p.6)
VDDPower supply (2.16V to 3.6V)2.16-3.6 VChip pin 2source
Table 5 (p.6)
VDDIOIO Power Supply (1.71V to VDD)1.71 V to VDDChip pin 13source
Table 5 (p.6)
DRDYData ready, interrupt pin; default low, data ready high until data register is readChip pin 15source
Table 5 (p.6)
GNDSupply groundChip pins 9 and 11source
Table 5 (p.6)

Build with it

Project ideas for the QMC5883L compass. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources