Skip to the content
2 layers35.4 × 27.5 mmMotionSense IMU, the printed circuit board in 3D

2-layer USB-C powered LSM6DSM IMU breakout board designed in KiCad

Size
35.4 × 27.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
18
Pads
62
Tracks, vias
146, 9
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
11 Aug 2026
Updated
12 Aug 2026

Overview

MotionSense IMU is an open-source printed circuit board by igilarranz, from the igilarranz/MotionSense-IMU repository on GitHub. It is a 2-layer board of 35.4 × 27.5 mm with 12 parts on 18 nets, routed with 146 tracks and 9 vias.

It is built around the AP2112K-3.3 and LSM6DSM. Its parts include 4 capacitors, 4 resistors, 2 ICs and 2 connectors. It belongs with the sensors and measurement boards of this library.

Main components

2

README

README.md

MotionSense IMU

MotionSense IMU is a custom 2-layer PCB built around the ST LSM6DSM 6-axis accelerometer and gyroscope.

The board takes 5 V from USB-C, regulates it to 3.3 V, and breaks out the IMU's I2C interface and interrupt signal through a 5-pin header.

MotionSense IMU 3D Render

Hardware

  • LSM6DSM 6-axis accelerometer + gyroscope
  • AP2112K-3.3 LDO regulator
  • USB-C 5 V input
  • 4.7 kΩ pull-up resistors on SDA and SCL
  • Decoupling capacitors for the regulator and IMU
  • 5-pin interface header
  • 2-layer PCB
  • Board size: approximately 35 mm × 27 mm

Pinout

PinSignal
13V3
2GND
3SDA
4SCL
5INT1

Design

The schematic and PCB were designed in KiCad.

During routing, I experimented with Quilter and Freerouting before bringing the design back into KiCad for final cleanup and verification.

The final design passes KiCad DRC with:

  • 0 violations
  • 0 unconnected items

Gerber and drill files were generated and inspected before manufacturing.

Schematic

MotionSense IMU Schematic

The schematic includes the USB-C power input, AP2112K 3.3 V regulator, LSM6DSM IMU, I2C pull-up resistors, decoupling capacitors, and J2 breakout header.

The editable KiCad schematic is available in MotionSense_IMU.kicad_sch.

PCB Layout

MotionSense IMU PCB Layout

The board is a 2-layer design with USB-C power input on one side and the I2C breakout header on the opposite side.

Manufacturing

Rev 1 was submitted to JLCPCB for fabrication and assembly in August 2026.

Five PCBs were ordered, with two boards receiving component assembly.

The 1×5 J2 header is intentionally left unpopulated and will be soldered manually during bring-up.

Files

  • MotionSense_IMU.kicad_pcb — KiCad PCB layout
  • MotionSense_IMU.kicad_pro — KiCad project
  • MotionSense_IMU.kicad_sch — KiCad schematic
  • BOM.csv — bill of materials
  • MotionSense_IMU_Rev1_Gerbers.zip — Gerber and drill files
  • pcb_3D.png — 3D board render
  • pcb_layout.png — PCB layout image
  • schematic.png — schematic image

Fabrication Files

The Rev 1 Gerber and drill files used for manufacturing are included in the repository.

Download Gerber + drill files

Current Status

Rev 1 has been ordered for fabrication and assembly.

The PCB design and manufacturing files are complete. The next stage is hardware bring-up and firmware validation once the assembled boards arrive.

Bring-Up Plan

  1. Inspect the assembled board for soldering or placement issues.
  2. Solder the J2 header.
  3. Check for shorts between 3.3 V and GND.
  4. Power the board through USB-C.
  5. Verify the 5 V input and 3.3 V regulator output with a multimeter.
  6. Connect an ESP32 to SDA, SCL, and GND.
  7. Detect the LSM6DSM over I2C.
  8. Read the WHO_AM_I register to confirm communication.
  9. Read live accelerometer and gyroscope data.
  10. Test the INT1 interrupt output.

Next Steps

  • Prepare ESP32 bring-up firmware
  • Complete electrical testing
  • Validate accelerometer and gyroscope measurements
  • Test interrupt functionality
  • Document test results
  • Record any changes needed for Rev 2

Project Goal

The goal of this project is to work through the complete PCB development process, from schematic capture and component selection through layout, manufacturing, assembly, and hardware validation.

Parts

12
QtyValueFootprintReferences
2100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3, C4
21uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2
24.7kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R4
25.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U1
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2
1LSM6DSMPackage_LGA:LGA-14_3x2.5mm_P0.5mm_LayoutBorder3x4yU2
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1

Similar boards

  • 4 layers35 × 25 mmBC832A, the printed circuit board in 3D

    BC832A

    tomfleet/immutable

    another BLE IMU...

    48 parts
  • 2 layers38.6 × 6.6 mmArtDecoEarrings, the printed circuit board in 3D

    ArtDecoEarrings

    sawaiz/artDecoEarrings

    Shimmering electronic earrings in the Art Deco style.

    20 parts18
  • 4 layers135.8 × 149.3 mmTapBadgeV2, the printed circuit board in 3D

    TapBadgeV2

    Xasin/TapBadgeV2

    The second, far more ambitious version of the TapBadge wearable

    110 parts6GPL-3.0
  • 4 layers45 × 45 mmDroneFluxx, the printed circuit board in 3D

    DroneFluxx

    kyleRhess/DroneFluxx

    ARM-based custom flight controller firmware + hardware.

    58 parts2
  • 4 layers50 × 75.2 mmRpiFly v3, the printed circuit board in 3D

    RpiFly v3

    r3dpath/RpiFly_Hardware

    While most of the functionality here has been tested to work theres certainally some marginal design decisions, just beware.

    108 parts1
  • 4 layers30 × 37.3 mmSensorHub 2.0, the printed circuit board in 3D

    SensorHub 2.0

    artur-erik/Manikin_Hardware

    Sensors and SensorHub PCB Modules. Based on RA4E2

    71 parts
  • 4 layers94 × 94 mmWalter feels, the printed circuit board in 3D

    Walter feels

    benmcnelly/walter-hardware

    This repository contains all hardware information about Walter and shields

    154 partsGPL-3.0
  • 6 layers21 × 36 mmPPG Watch, the printed circuit board in 3D

    PPG Watch

    gavin4d/PPG-Watch

    Smart watch with a photoplethysmography analog front end and e-paper display

    89 parts

Questions

How big is the MotionSense IMU PCB?

It measures 35.4 × 27.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MotionSense IMU use?

12 parts, built around the AP2112K-3.3 and LSM6DSM. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the MotionSense IMU KiCad files?

From the igilarranz/MotionSense-IMU repository on GitHub, at the commit this page was made from: the board is MotionSense_IMU.kicad_pcb and its schematic MotionSense_IMU.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MotionSense IMU design in my own project?

Its repository states no licence, so its author keeps all rights: ask igilarranz before reusing the design.