The GY-511 LSM303D e-Compass board is a compact 6-axis digital sensor board featuring a 3-axis accelerometer and 3-axis magnetometer for compass, tilt, orientation, and motion-sensing applications. The module communicates via I2C and is suitable for Arduino, ESP32, Raspberry Pi, STM32, and other microcontroller projects.
Features / Specs
- Board Manufacturer: Generic
- Board Model: GY-511
- Sensor IC: ST Micro LSM303D
- Sensor Type: 3-axis accelerometer + 3-axis magnetometer
- Axes: 6-axis sensing – X, Y, Z acceleration and X, Y, Z magnetic field
- Supply Voltage Range: 3.3 – 5VDC (On-board LDO)
- Serial Interface(s): I2C (up to 400kHz in Fast Mode)
- Sensor IC Voltage: 3.3VDC
- Acceleration Range: ±2g, ±4g, ±6g, ±8g, ±16g
- Magnetic Field Range: ±2, ±4, ±8, ±12 gauss
- Data Output: 16-bit digital output
- Pin Header Pitch: 2.54mm
- Dimensions: ~(20.8mm x 14.4mm x 3.3mm)
- Mounting Hole Diameter: ~3.2mm
- Mounting Hole Spacing (Center to Center): ~15.5mm
Pin Description
- VIN-> Supply voltage input (3.3 – 5VDC)
- 3.3V-> 3.3V regulated output from LDO
- GND-> Ground
- SCL-> I2C Clock
- SDA-> I2C Data
- INT2-> Interrupt 2
- INT1-> Interrupt 1
- SAO-> I2C less significant bit of the device address



