OC
OceanRemote
Low-code IoT platform
Home / Hardware Components / LSM303 (Accel + Compass)

LSM303 (Accel + Compass)

⚡ Protocol: I2C sensor_lsm303
LSM303 (Accel + Compass)

Overview & Specifications

[LSM303 (Accel + Compass)] 6-DOF triple-axis accelerometer and magnetometer compass module. Features: - I2C (Two-Wire Serial Interface) communication interface - Operating supply compatibility: 3.3V, 5.0V - Native firmware support (#include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_LSM303_U.h>) - 19-pin mapped footprint for visual wiring & automated pin assignment Wiring Instructions: - GND: Connect to common Ground (GND) - VDD: Connect to regulated 3.3V / 5.0V power supply - GND_2: Connect to common Ground (GND) - SCL_A: Connect to microcontroller I2C SCL pin (e.g., ESP32 GPIO 22) - SCL_M: Connect to microcontroller I2C SCL pin (e.g., ESP32 GPIO 22) - SDA_A: Connect to microcontroller I2C SDA pin (e.g., ESP32 GPIO 21) - SDA_M: Connect to microcontroller I2C SDA pin (e.g., ESP32 GPIO 21) - VDD_2: Connect to regulated 3.3V / 5.0V power supply - VDD_M: Connect to regulated 3.3V / 5.0V power supply - VDD_IO: Connect to regulated 3.3V / 5.0V power supply - VDD_I2C: Connect to regulated 3.3V / 5.0V power supply - VDD_IO_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_lsm303/

Pin Connections

C1 Hardware Pin #1
GND Hardware Pin #2
VDD Hardware Pin #3
INT1 Hardware Pin #4
INT2 Hardware Pin #5
SET1 Hardware Pin #6
SET2 Hardware Pin #7
GND_2 Hardware Pin #8
SA0_A Hardware Pin #9
SCL_A Hardware Pin #10
SCL_M Hardware Pin #11
SDA_A Hardware Pin #12
SDA_M Hardware Pin #13
VDD_2 Hardware Pin #14
VDD_M Hardware Pin #15
DRDY_M Hardware Pin #16
VDD_IO Hardware Pin #17
VDD_I2C Hardware Pin #18
VDD_IO_2 Hardware Pin #19