Jump to content
I2Cdevlib Forums

Search the Community

Showing results for tags 'LSM303'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • I2Cdevlib Web Tools
    • I2C Protocol Analyzer
    • I2C Device Entry Interface
    • I2C Device Library API
  • I2Cdev Platform Discussion
    • Arduino (ATmega)
    • Arduino Due (ARM Cortex M3)
    • MSP430
    • Other Platforms
  • I2C Device Discussion
    • AD7746 capacitance-to-digital converter (Analog Devices)
    • ADS1115 16-bit A/D converter (Texas Instruments)
    • ADXL345 3-axis accelerometer (Analog Devices)
    • AK8975 3-axis magnetometer (AKM Semiconductor)
    • BMA150 3-axis accelerometer (Bosch Sensortec)
    • BMP085 pressure sensor (Bosch Sensortec)
    • DS1307 real-time clock (Maxim)
    • HMC5843 3-axis magnetometer (Honeywell)
    • HMC5883L 3-axis magnetometer (Honeywell)
    • iAQ-2000 indoor air quality sensor (AppliedSensor)
    • IQS156 ProxSense capacitive touch sensor (Azoteq)
    • ITG-3200 3-axis gyroscope (InvenSense)
    • L3G4200D 3-axis accelerometer (STMicroelectronics)
    • MPL3115A2 Xtrinsic Smart Pressure Sensor (Freescale)
    • MPR121 12-bit capacitive touch sensor (Freescale)
    • MPU-6050 6-axis accelerometer/gyroscope (InvenSense)
    • MPU-9150 9-axis accelerometer/gyroscope/magnetometer (InvenSense)
    • PanelPilot multi-screen digital meter (Lascar Electronics)
    • SSD1308 128x64 OLED/PLED driver (Solomon Systech)
    • TCA6424A 24-bit I/O expander (Texas Instruments)

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 1 result

  1. Hello, I've built a quadrotor and have connected an MPU6050 accel/gyro to an Arduino Uno, successfully reading any gyro and accel outputs. I'm trying to keep it as simple as possible, so I'm not concerned with DMP at the moment and am only trying to read raw values, I'll implement my own conversions and filters later. The challenge I've been facing now is to feed a LSM303 tilt compass (https://www.sparkfun.com/products/retired/10703) through the MPU6050 ASDA and ASCL. I'm only trying to read the LSM303 magnetometer readings. The current wiring is as follows: LSM303: ----------- MPU6050: SCL <-------------> ASCL SDA <-------------> ASDA GND <-------------> GND with both voltages connected to the Arduino's 3.3v output. The main problems are: 1) How to setup the registries on the MPU6050 for a slave device. 2) How to read the aux ports from the MPU6050 and print them on the arduino serial monitor. I've attached the basic code, you'll notice I'm trying to keep it as simple as possible and for the time being am not using jrowberg's librairies to best understand the process. Any help would be greatly appreciated. Sensor_9DOF.txt
  • Create New...