Playing around with IMU sensors

6DOF: IMU Board "GY-521", based on MPU-6050

You need:
  • MPU6050 6DOF Sensor Module "GY-521" for 3,89EUR (ebay, sent from China)

Nice one. LDO regulator on board, takes 5V.

Data Sheet / Register Map

This was one of my first experiments. I only used the accelerometer. The reaction is very jerky and not precise at all.

Additionally using the gyros and mixing accelerometer and gyro data with a complementary filter improved precision, smoothness and response sensitivity a lot. As an option I also added yaw data from the gyro but that data is not filtered hence the error accumulates up pretty quickly.

My code is available at external https://github.com/mattzzw/Arduino-mpu6050


9DOF: IMU board "GY-85", based on ITG3205 ADXL345 HMC5883L

LDO voltage regulator included, takes 5V

photo.JPG

Scanning...
I2C device found at address 0x1E  <-- *compass*
I2C device found at address 0x53  <-- *accelerometer*
I2C device found at address 0x68  <-- *gyro*
done

work in progresss...


Related links

Some Theory about IMUs and about filtering

-- MatthiasWientapper - 29 Nov 2013

Topic revision: r8 - 03 Dec 2013, MatthiasWientapper
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback