25 open source boards using the LIS2MDL

Real designs built with the LIS2MDL, 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.

25 boardsClear filters|Most starred

How designs wire the LIS2MDL

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

  • The C1 pin has a capacitor to GND on 19 of 19 designs, most often 220 nF (then 220 pF).
  • The VDD pin has a decoupling capacitor on 18 of 19 designs, most often 100 nF (then 10 µF).
  • The VDD_IO pin has a decoupling capacitor on 18 of 19 designs, most often 100 nF (then 10 µF).
  • The SCL/SPC pin has a pull-up to 3.3V on 14 of 19 designs, most often 4.7 kΩ (then 10 kΩ).
SCL/SPCpin 1Connected to: The microcontroller 63%
  • Pull-up to 3.3V on 74% · 4.7 kΩ (6), 10 kΩ (4), 2.2 kΩ (2)
NCpin 2, 11, 12Connected to: Not connected 94%
SDA/SDI/SDOpin 4Connected to: The microcontroller 68%
  • Pull-up to 3.3V on 74% · 4.7 kΩ (6), 10 kΩ (4), 2.2 kΩ (2)
C1pin 5Connected to: Signal 100%
  • Capacitor to GND on 100% · 220 nF (18), 220 pF (1)
GNDpin 6, 8Connected to: GND 100%
VDDpin 9Connected to: 3.3V 95%
  • Decoupling capacitor on 95% · 100 nF (43), 10 µF (12), 1 µF (5)
VDD_IOpin 10Connected to: 3.3V 100%
  • Decoupling capacitor on 95% · 100 nF (43), 10 µF (12), 1 µF (5)

2 more pins vary from design to design. Connections count pins, parts count designs; values in brackets are how many parts had that value. Designs read include DEV-G2-NANO by theta-machines, Gk by jncronin, Flight computer by linguini1 and P4eregrine by anticitizn.

The LIS2MDL in open source designs

The gallery holds 25 open source boards using the LIS2MDL from 20 GitHub repositories; a typical one measures about 71 × 61.5 mm and carries around 96 components.

88% use four copper layers or more, and 52% carry an open source license.

The most starred is DEV-G2-NANO by theta-machines.

Microcontrollers on boards using the LIS2MDL

LIS2MDL: common questions

Where can I find a LIS2MDL reference design?

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

How is the LIS2MDL C1 pin connected?

The C1 pin has a capacitor to GND on 19 of 19 designs, most often 220 nF (then 220 pF). Counted from the KiCad layouts of 19 open source designs using the LIS2MDL.

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

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

What decoupling capacitors do designs use on the LIS2MDL VDD_IO pin?

The VDD_IO pin has a decoupling capacitor on 18 of 19 designs, most often 100 nF (then 10 µF). Counted from the KiCad layouts of 19 open source designs using the LIS2MDL.

What parts are used alongside the LIS2MDL?

The LSM6DSL, USBLC6-2SC6, W25Q128JVS, AP22653AW6-7 and INA219AxDCN appear in the most repositories here.

Which microcontrollers do boards using the LIS2MDL use?

Most are built on RP2040/RP2350 (8), STM32 (6), ESP32 (4) and NXP (2).

How big is a typical board using the LIS2MDL?

The median is 71 × 61.5 mm, and 13% are two-layer designs.

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

By GitHub stars, DEV-G2-NANO by theta-machines, with 338 stars.

Can I simulate one of these boards using the LIS2MDL 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