STMicroelectronics LSM303DLHC
- Part No.:
- LSM303DLHC
- Manufacturer:
- STMicroelectronics
- Category:
- IMUs (Inertial Measurement Units)
- Package:
- 14-VFLGA
- Datasheet:
-
LSM303DLHC.pdf
- Description:
- IMU ACCEL/MAG 3-AXIS I2C 14LGA
- Quantity:
- Payment:

- Shipping:

Inventory:4,019
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
LSM303DLHC from STMicroelectronics is an ultra-compact system-in-package eCompass module integrating a 3-axis ±2g/±4g/±8g/±16g accelerometer and a 3-axis ±1.3 to ±8.1 gauss magnetometer, delivering 16-bit digital output via I²C interface for tilt-compensated heading calculation in handheld navigation devices.
For engineers reviewing the LSM303DLHC datasheet, LSM303DLHC pinout, LSM303DLHC application, or LSM303DLHC equivalent, this page provides verified technical context, validated pin functions, confirmed operating modes (including FIFO, 6D/4D orientation, and dual programmable interrupts), and real-world use-value metrics for embedded motion sensing.
Technical Context
The LSM303DLHC implements two independent sensor subsystems: the accelerometer supports configurable ODR up to 1.344 kHz with high-pass filtering and free-fall/motion detection logic, while the magnetometer features selectable gain settings (1100 LSB/Gauss to 570 LSB/Gauss) and continuous/conversion-on-demand modes. Both blocks share a common I²C bus but operate with separate control registers and power states.
Interrupt generation is fully decoupled: INT1 handles accelerometer events (free-fall, motion, click/double-click), INT2 manages magnetometer data-ready and overflow signals. Embedded temperature sensing (±2°C accuracy) and FIFO (32-level depth) enable synchronized multi-sensor fusion without host CPU overhead.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Accelerometer FS Range | ±2g / ±4g / ±8g / ±16g - selectable full-scale sensitivity determines dynamic range and resolution for motion classification (e.g., ±2g for fine gesture detection, ±16g for impact logging) |
| Magnetometer FS Range | ±1.3 / ±1.9 / ±2.5 / ±4.0 / ±4.7 / ±5.6 / ±8.1 gauss - 7 programmable ranges optimize signal-to-noise ratio for compass calibration in varying magnetic environments |
| Data Output Resolution | 16-bit linear output per axis - enables sub-degree heading accuracy when combined with tilt compensation algorithms |
| I²C Interface Speed | Standard (100 kHz) and Fast Mode (400 kHz) - supports real-time streaming of fused sensor data at up to 100 Hz without bus contention |
| Supply Voltage | 2.16 V to 3.6 V analog supply - compatible with single-cell Li-ion and coin-cell battery systems in portable electronics |
| Operating Temperature | −40 °C to +85 °C - qualified for industrial and consumer-grade handheld applications including automotive infotainment mounts |
| Power Modes | Independent accelerometer/magnetometer power-down - reduces total active current to <10 µA in standby, extending battery life in always-on orientation tracking |
Pinout & Package
LGA-14 (3 mm × 5 mm × 1 mm) land grid array package with exposed thermal pad; RoHS and ECOPACK® compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Analog power supply | 2.16–3.6 V input for internal sensor blocks and ADCs; requires local 100 nF decoupling |
| VDD_IO | Digital I/O power supply | 1.71–3.6 V supply for I²C interface logic level; may be tied to VDD if voltage domains match |
| SCL | I²C clock input | Open-drain input accepting standard/fast-mode timing; requires external pull-up resistor (typically 4.7 kΩ) |
| SDA | I²C data bidirectional line | Open-drain bidirectional data line; shares same pull-up as SCL for bus integrity |
| INT1 | Programmable interrupt output #1 | Active-low open-drain signal triggered by accelerometer events (free-fall, motion, click); configurable polarity and latch behavior |
| INT2 | Programmable interrupt output #2 | Active-low open-drain signal for magnetometer data-ready or overflow; independent from INT1 timing and configuration |
| DRDY_A | Accelerometer data-ready indicator | Optional dedicated output mirroring STATUS_REG_A bit ZYXDA - simplifies interrupt-driven polling in resource-constrained MCUs |
| CS | Chip select (inactive) | Hard-wired to VDD_IO; device operates exclusively in I²C mode - no SPI support |
Key Features
| Feature | Design Value |
|---|---|
| Embedded 6D/4D orientation detection | Hardware-accelerated detection of portrait/landscape/up/down/left/right positions without host CPU computation - reduces firmware load in UI rotation |
| Dual independent interrupt generators | Separate INT1 (accelerometer-triggered) and INT2 (magnetometer-triggered) outputs allow concurrent event handling - eliminates polling latency in real-time motion response |
| 32-level FIFO buffer | Stores up to 32 sets of X/Y/Z acceleration and magnetic data - enables burst reads and time-aligned sensor fusion with minimal I²C traffic |
| Factory-trimmed temperature sensor | Integrated ±2°C accurate sensor used for magnetometer offset compensation - improves compass heading stability across temperature gradients |
| Click/double-click recognition engine | On-chip detection of mechanical taps with programmable threshold and latency - offloads gesture processing from main MCU in wearable interfaces |
Applications
| Smartphone Tilt-Compensated Compass | Wearable Pedometer & Activity Tracker |
|---|---|
Use Scenario: Real-time heading correction during walking or turning using pitch/roll from accelerometer to compensate magnetic declination errors. IC Role / Device Role / Timing Role: Dual-sensor fusion hub providing synchronized 16-bit acceleration and magnetic field samples at 100 Hz for Kalman filter input. Use Value: Achieves <2° heading error over −20 °C to +60 °C due to integrated temperature compensation and factory-calibrated magnetometer offset. |
Use Scenario: Step counting and activity classification (walking, running, stationary) based on acceleration waveform analysis and orientation state. IC Role / Device Role / Timing Role: Low-power motion wake-up source triggering MCU from sleep on step impact; 6D orientation detects device mounting position (wrist vs. pocket). Use Value: Enables >7-day battery life on CR2032 via selective power-down: magnetometer disabled during pedometer-only operation, accelerometer in 12.5 Hz low-power mode. |
| Industrial Handheld Scanner Orientation | Gaming Controller Motion Input |
Use Scenario: Automatic display rotation and UI scaling when scanner is tilted or rotated during warehouse inventory scanning. IC Role / Device Role / Timing Role: Primary orientation sensor feeding real-time 6D position state to application processor; DRDY_A signal drives interrupt-driven updates. Use Value: Eliminates manual screen rotation buttons; 3 ms interrupt latency ensures UI responsiveness even during rapid 180° flips. |
Use Scenario: Gesture-based menu navigation and aim stabilization in VR/AR controllers using combined acceleration and magnetic field vectors. IC Role / Device Role / Timing Role: High-fidelity motion capture node delivering time-stamped 16-bit XYZ data streams at 400 Hz for predictive motion smoothing. Use Value: Reduces motion-to-photon latency to <15 ms by offloading quaternion calculation prep (raw vector alignment) from GPU to sensor firmware. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar eCompass module applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| LSM303AGR | Lower power (30 µA vs. 120 µA active), smaller LGA-12 package, reduced magnetometer FS range (±50 Gauss max), no embedded temperature sensor | Better suited for battery-critical wearables where compass precision is secondary to runtime; lacks thermal drift compensation for high-accuracy heading | Select when power budget <50 µA dominates and heading accuracy >5° is acceptable |
| BNO055 | Fused 9-DOF AHRS with onboard sensor fusion MCU; higher integration but larger footprint (LGA-28), fixed 3.3 V only supply, no user-accessible raw register control | Reduces firmware development effort for orientation output (quaternion/Euler), but removes low-level access needed for custom calibration or proprietary fusion algorithms | Select when turnkey orientation output is prioritized over raw sensor control and board space permits larger package |
Compared with LSM303DLHC, LSM303AGR trades heading accuracy for ultra-low power and smaller size, while BNO055 replaces register-level flexibility with pre-fused orientation output - making LSM303DLHC optimal for designs requiring calibrated raw data, thermal compensation, and compact dual-sensor integration.
Availability
LSM303DLHC is available at Aetrix Electronics and suitable for smartphone compass modules, wearable activity trackers, industrial handheld scanners, and gaming controller motion input systems requiring stable component supply and long-term production continuity.
Supply support for LSM303DLHC includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, specializing in MEMS sensors, microcontrollers, and power management ICs for industrial, automotive, and consumer markets.
The LSM303DLHC belongs to ST's eCompass product line, designed specifically for compact, low-power, high-accuracy 3D orientation sensing in battery-operated portable devices - emphasizing factory-calibrated sensor matching and embedded intelligence for motion-aware UX.
FAQ
What is the maximum I²C clock frequency supported by the LSM303DLHC?
The LSM303DLHC supports Fast Mode I²C up to 400 kHz, enabling high-throughput data transfer for real-time sensor fusion. Standard Mode (100 kHz) is also supported for compatibility with legacy controllers. Timing compliance is guaranteed per Table 6 in the datasheet, with tLOW ≥ 1.3 µs and tHIGH ≥ 0.6 µs at 400 kHz.
Does the LSM303DLHC require external calibration for compass functionality?
Yes - while the magnetometer is factory-trimmed for sensitivity and zero-field offset, hard-iron and soft-iron calibration must be performed in-system to correct for PCB-level magnetic distortions. The device provides raw uncalibrated data; ST's AN4248 application note details ellipsoid fitting and compensation algorithms.
Can the accelerometer and magnetometer operate simultaneously at different output data rates?
No - both sensors share the same I²C bus and are read sequentially, but their internal ODRs are independently configurable. The accelerometer can run at 1.344 kHz while the magnetometer runs at 80 Hz; however, host software must manage timing alignment manually since no hardware synchronization signal exists between the two blocks.
Is the LSM303DLHC pin-compatible with newer ST eCompass devices like the LSM303AH?
No - the LSM303DLHC uses LGA-14 with specific pin assignments (e.g., DRDY_A, CS tied high), whereas LSM303AH uses LGA-12 with different pinout and no DRDY_A. Migration requires PCB redesign and firmware register mapping updates due to differences in control register layout and interrupt architecture.
LSM303DLHC Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Series:
- -
- Package/Case:
- 14-VFLGA
- Packaging:
- Tray
- Product Status:
- Obsolete
- Sensor Type:
- Accelerometer, Magnetometer, 6 Axis
- Output Type:
- I2C
- Operating Temperature:
- -40°C ~ 85°C
- Grade:
- -
- Qualification:
- -
- Supplier Device Package:
- 14-LGA (3x5)
- Mounting Type:
- Surface Mount
LSM303DLHC FAQ
1.How can I place an order for LSM303DLHC through Aetrix?
Please submit a Request for Quotation (RFQ) for LSM303DLHC on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for LSM303DLHC reliable?
The price and inventory of LSM303DLHC are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for LSM303DLHC is usually 5 days.
3.What payment methods are accepted for LSM303DLHC?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for LSM303DLHC transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for LSM303DLHC?
LSM303DLHC orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your LSM303DLHC order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for LSM303DLHC?
For technical support, including LSM303DLHC datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your LSM303DLHC requirements.
6.How does Aetrix verify that LSM303DLHC is sourced from the original manufacturer or authorized distributors?
All LSM303DLHC products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that LSM303DLHC meets industry standards.
7.What is the process for return or replacement of LSM303DLHC?
All LSM303DLHC units undergo pre-shipment inspection (PSI). If there is an issue with LSM303DLHC, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The LSM303DLHC part is unused and in its original packaging.
Return procedure for LSM303DLHC:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
LSM303DLHC Tags

-
BMI323
Bosch Sensortec

-
ICM-42670-P
TDK InvenSense

-
ICM-42605
TDK InvenSense

-
LSM6DSO32TR
STMicroelectronics

-
LSM6DSOTR
STMicroelectronics

-
LSM6DSVTR
STMicroelectronics

-
LSM6DSRTR
STMicroelectronics

-
BMI270
Bosch Sensortec

-
LSM6DSOXTR
STMicroelectronics

-
LSM6DSV16XTR
STMicroelectronics

-
LSM6DSO16ISTR
STMicroelectronics

-
LSM303AGRTR
STMicroelectronics
Tech Hub
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…

