14 open source boards using the HMC5883L

Real designs built with the HMC5883L, from public GitHub projects: a quick way to see how others power, decouple and connect it. Each board comes with its KiCad files, full parts list and a render — and you can simulate its firmware on HardLabs.

14 boardsClear filters|Most starred

How designs wire the HMC5883L

Read from the KiCad layouts of 11 open source designs, one per repository: what each pin of the HMC5883L connects to, and the resistors, capacitors and other passives placed on it.

  • The SCL pins have a pull-up to 3.3V on 10 of 11 designs, most often 10 kΩ (then 4.7 kΩ).
  • The VDD pin has a decoupling capacitor on 10 of 11 designs, most often 100 nF (then 1 µF).
  • The C1 pin has a capacitor to GND on 10 of 10 designs, most often 4.7 µF (then 100 nF).
  • The SDA pin has a pull-up to 3.3V on 9 of 10 designs, most often 10 kΩ (then 4.7 kΩ).
SCLpin 1, 3Connected to: The microcontroller 36% · not connected 41%
  • Pull-up to 3.3V on 91% · 10 kΩ (7), 4.7 kΩ (5)
VDDpin 2Connected to: 3.3V 91%
  • Decoupling capacitor on 91% · 100 nF (14), 1 µF (1), 10 µF (1)
S1pin 4Connected to: 3.3V 73%
DRDYpin 5, 15Connected to: Not connected 71% · a signal 24%
6(NC)pin 6Connected to: Not connected 90%
7(NC)pin 7Connected to: Not connected 90%
SETPpin 8Connected to: Signal 80% · not connected 20%
  • Series capacitor on 80% · 220 nF (7)
GNDpin 9, 11Connected to: GND 100%
C1pin 10Connected to: Signal 90%
  • Capacitor to GND on 100% · 4.7 µF (9), 100 nF (4)
SETCpin 12Connected to: Signal 80% · not connected 20%
  • Series capacitor on 80% · 220 nF (7)
VDDIOpin 13Connected to: 3.3V 90%
  • Decoupling capacitor on 70% · 100 nF (12), 4.7 µF (1), 22 µF (1)
14(NC)pin 14Connected to: Not connected 90%
SDApin 16Connected to: The microcontroller 80%, a connector 30%, MPU-6050 30%
  • Pull-up to 3.3V on 90% · 10 kΩ (6), 4.7 kΩ (5)

Connections count pins, parts count designs; values in brackets are how many parts had that value. Designs read include Stubby by thebiguno, Cjmcu2 by aeracoop, Flight controller v2 by Eryk-Mozdzen and M2fc by cuspaceflight.

The HMC5883L in open source designs

The gallery holds 14 open source boards using the HMC5883L from 12 GitHub repositories; a typical one measures about 49.5 × 55.9 mm and carries around 70 components.

67% are two-layer designs, the rest use four layers or more, and 50% carry an open source license.

The most starred is Stubby by thebiguno.

Microcontrollers on boards using the HMC5883L

What boards using the HMC5883L are built for

HMC5883L: common questions

Where can I find a HMC5883L reference design?

Each of the 14 boards on this page is a real design using the HMC5883L. Open one to see how it is wired up, with the full BOM, a render of the layout and links to its KiCad files.

What pull-up resistor is used on the HMC5883L SCL pin?

The SCL pins have a pull-up to 3.3V on 10 of 11 designs, most often 10 kΩ (then 4.7 kΩ). Counted from the KiCad layouts of 11 open source designs using the HMC5883L.

What decoupling capacitors do designs use on the HMC5883L VDD pin?

The VDD pin has a decoupling capacitor on 10 of 11 designs, most often 100 nF (then 1 µF). Counted from the KiCad layouts of 11 open source designs using the HMC5883L.

How is the HMC5883L C1 pin connected?

The C1 pin has a capacitor to GND on 10 of 10 designs, most often 4.7 µF (then 100 nF). Counted from the KiCad layouts of 11 open source designs using the HMC5883L.

What parts are used alongside the HMC5883L?

The ADXL345, L3G4200D, MPU-6050, MS5611-01BA03 and ADP3335 appear in the most repositories here.

Which microcontrollers do boards using the HMC5883L use?

Most are built on ESP32 (3), STM32 (3), AVR/Arduino (2) and NXP (2).

How big is a typical board using the HMC5883L?

The median is 49.5 × 55.9 mm, and 67% are two-layer designs.

What is the most popular open source board using the HMC5883L?

By GitHub stars, Stubby by thebiguno, with 36 stars.

Can I simulate one of these boards using the HMC5883L before building it?

Yes. HardLabs turns a board's netlist and BOM into a working simulation, so you can boot and test firmware against it with no hardware on your desk.

Browse boards by part