MPU6050 + Arduino + Processing


[TOC]

Overview

Arduino UNO & MPU6050 GY521

Hardware components

Arduino Apps

  1. Download jrowberg/i2cdevlib/Arduino, copy I2Cdev and MPU6050 to Arduino libraries
  2. Open Arduino IDE, File->Examples->MPU6050->MPU6050_MPU6
  3. #define OUTPUT_READABLE_YAWPITCHROLL -> //#define OUTPUT_READABLE_YAWPITCHROLL //#define OUTPUT_TEAPOT -> #define OUTPUT_TEAPOT
  4. compile and upload

Processing Apps for 3D Simulation

  1. install Processing IDE
  2. install ToxicLib into the Processing’s libraries folder (modes -> java -> libraries), unzip toxiclibs-complete-0020.zip in ToxicLibs and place aLL the contents there
  3. running the teapot demo from the MPU6050_DMP6 example from Jeff Rowberg’s MPU6050 libary




^