OC
OceanRemote
Low-code IoT platform
Home / Hardware Components / LSM303AGR (eCompass Accel + Mag)

LSM303AGR (eCompass Accel + Mag)

⚡ Protocol: I2C sensor_lsm303agr_imu
LSM303AGR (eCompass Accel + Mag)

Overview & Specifications

[LSM303AGR (eCompass Accel + Mag)] Ultra-low-power 3D accelerometer and 3D magnetometer eCompass. Features: - I2C (Two-Wire Serial Interface) communication interface - Operating supply compatibility: 3.3V, 5.0V - Native firmware support (#include <Wire.h> #include <Adafruit_LSM303_Accel.h>) - 14-pin mapped footprint for visual wiring & automated pin assignment Wiring Instructions: - GND: Connect to common Ground (GND) - SCL: Connect to microcontroller I2C SCL pin (e.g., ESP32 GPIO 22) - SDA: Connect to microcontroller I2C SDA pin (e.g., ESP32 GPIO 21) - VCC: Connect to regulated 3.3V / 5.0V power supply - 3.3V: Connect to regulated 3.3V / 5.0V power supply - GND_2: Connect to common Ground (GND) - SCL_2: Connect to microcontroller I2C SCL pin (e.g., ESP32 GPIO 22) - SDA_2: Connect to microcontroller I2C SDA pin (e.g., ESP32 GPIO 21) - VCC_2: Connect to regulated 3.3V / 5.0V power supply Protocol: - I2C Project Ideas: 1. Industrial Machine Vibration & Predictive Maintenance 2. Robotics Orientation & Motion Tracking 3. Structural Tilt & Seismic Activity Monitor Reference Link: https://oceanremote.net/sensors/sensor_lsm303agr_imu/

Pin Connections

GND Hardware Pin #1
SCL Hardware Pin #2
SDA Hardware Pin #3
VCC Hardware Pin #4
3.3V Hardware Pin #5
GND_2 Hardware Pin #6
SCL_2 Hardware Pin #7
SDA_2 Hardware Pin #8
VCC_2 Hardware Pin #9
CS_MAG Hardware Pin #10
INTM_3V Hardware Pin #11
CS_ACCEL Hardware Pin #12
INT1A_3V Hardware Pin #13
INT2A_3V Hardware Pin #14