GY-511 LSM303DLHC 3-Axis Compass Module with Accelerometer and Magnetometer

GY-511 LSM303DLHC 3-Axis Compass Module with Accelerometer and Magnetometer
Click image for Gallery
  • Product Code:SQ1865
  • Availability: 1000
  • $1.16
  •  
  • Ex Tax:$1.16
This product has a minimum quantity of 4
+
-


Tags: compass module, accelerometer, Arduino, tilt-compensated compass, digital magnetic sensor,

The GY-511 is a 3-axis compass module built around the LSM303DLHC system-in-package from STMicroelectronics, which integrates a 3D digital linear acceleration sensor and a 3D digital magnetic sensor into a single compact device. This module is designed to provide accurate orientation and heading information for a wide range of electronic projects. The accelerometer offers user-selectable full-scale ranges of ±2g, ±4g, ±8g, and ±16g, while the magnetometer provides selectable full-scale ranges from ±1.3 to ±8.1 gauss, allowing flexible adaptation to different application requirements.

The LSM303DLHC includes an I2C serial bus interface that supports both standard mode at 100 kHz and fast mode at 400 kHz, making it straightforward to connect with popular microcontroller platforms such as Arduino boards via the SCL and SDA pins. The module operates on a supply voltage of 3V to 5V and features 16-bit data output for high-resolution measurements. The sensor operates reliably across an extended temperature range of -40°C to +85°C, ensuring stable performance in demanding environments.

This compass module is particularly well-suited for building tilt-compensated compasses, where the accelerometer data is used to correct the magnetometer readings for tilt, resulting in accurate heading information regardless of the device orientation. The LSM303DLHC also includes advanced features such as embedded FIFO, a temperature sensor, 6D/4D orientation detection, and two independent programmable interrupt generators for free-fall and motion detection. The module measures 20.5mm × 14.5mm, making it compact enough for integration into portable and embedded designs.

GY-511 compass module Application

  1. Tilt-compensated compasses
  2. Map rotation and position detection
  3. Motion-activated functions and free-fall detection
  4. Click and double-click recognition
  5. Pedometers and step counting
  6. Intelligent power saving for handheld devices
  7. Display orientation and screen rotation
  8. Gaming and virtual reality input devices
  9. Impact recognition and logging
  10. Vibration monitoring and compensation

GY-511 compass module Specifications

  1. Product Model: GY-511
  2. Chip / IC: LSM303DLHC
  3. Sensor Type: 3-axis accelerometer + 3-axis magnetometer
  4. Interface: I2C serial interface
  5. I2C Modes: Standard (100 kHz) and Fast mode (400 kHz)
  6. Accelerometer I2C Address: 0x19 (7-bit)
  7. Magnetometer I2C Address: 0x1E (7-bit)
  8. Supply Voltage: 3V to 5V
  9. Analog Supply Voltage (chip): 2.16V to 3.6V
  10. Accelerometer Full-Scale Range: ±2g / ±4g / ±8g / ±16g (user selectable)
  11. Magnetometer Full-Scale Range: ±1.3 / ±1.9 / ±2.5 / ±4.0 / ±4.7 / ±5.6 / ±8.1 gauss
  12. Data Output: 16-bit
  13. Built-in ADC: 12-bit
  14. Operating Temperature: -40°C to +85°C
  15. Module Dimensions: 20.5mm × 14.5mm
  16. Pin Pitch: 2.54mm
  17. Pinout: VIN, GND, SCL, SDA, INT1, INT2, DRDY
  18. Additional Features: Embedded temperature sensor, FIFO, 6D/4D orientation detection, 2 programmable interrupt generators

Features

  1. 3 magnetic field channels and 3 acceleration channels
  2. User-selectable full-scale acceleration ranges: ±2g / ±4g / ±8g / ±16g
  3. User-selectable full-scale magnetic field ranges: ±1.3 to ±8.1 gauss
  4. 16-bit data output for high-resolution measurements
  5. I2C serial interface supporting 100 kHz and 400 kHz modes
  6. Power-down and low-power modes for energy efficiency
  7. Embedded temperature sensor
  8. Embedded FIFO buffer
  9. 6D/4D orientation detection
  10. 2 independent programmable interrupt generators for free-fall and motion detection
  11. Wide operating temperature range: -40°C to +85°C
  12. Compact module dimensions: 20.5mm × 14.5mm
  13. 2.54mm pin pitch for easy breadboard and PCB integration
  14. On-board low-drop voltage regulator for 3V to 5V input

Documents:

LSM303DLHC I2C compass Datasheet
Interfaces
Interface Type I2C
Sensor Parameters
Internal ADC Built-in 12 bit, 16 bits of data output
Measuring range ± 1.3 , ± 1.9 , ± 2.5 , ± 4.0 , ± 4.7 , ± 5.6, ± 8.1 gauss
Output Type Digital
Acceleration Range ± 2g, ± 4g, ± 8g
Electrical Parameters
Input Voltage 3V ~ 5V
Board Parameters
Main Chip LSM303DLHC
Pin Count 8 Pin
Physical Parameters
Size 20.5mm x 14.5mm
Environmental Conditions and Safety
Operating Temprature -40°C ~ +85°C

Write a review

Note: HTML is not translated!
   Bad           Good
Captcha
Electronic & Robotic Supplier

Your B2B Supplying Partner in Mainland China

Worldwide Shipping

Using Vast Majority of International Couriers

Secure Payments

Always Pay with Trust by PayPal Express Checkout