element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Help understanding the GY521 MPU5060 accelerometer/gyro
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 390 subscribers
  • Views 605 views
  • Users 0 members are here
  • mpu5060
  • arduino
  • gy521
Related

Help understanding the GY521 MPU5060 accelerometer/gyro

SGarciaV
SGarciaV over 9 years ago

Hi all,

I am helping a friend with a project that involves the GY521 sensor board; however, am having trouble understanding it fully. I located the i2cDevLib software and a forum where I asked about it, but so far no responses. Hopefully someone here can help me out. I am copying and pasting the question in its entirety, making only edit of text that does not make sense for this forum Thanks all for your help!

 

Original post follows....

 

I am helping out a friend with a project where he needs to read acc & gyro data from two independent surfaces. For this I am using two GY521s, at their available addresses of x68 and x69. I have the hardware working and after tweaking Jeff's example to get raw data to accommodate both sensors I am getting data.

 

I also used the DMP6 example and got the three axis reading for the teapot demo (using Processing following this video:

 

https://www.youtube.com/watch?v=nlXqIe9-R7s

 

Not satisfied I started to do a little research which turned into massive confusion :-).

 

I am not sure if the raw data that I am getting is what he needs. He is working on software that will receive the data through an Arduino and send it over to the host PC running the application. The app needs to receive the six gyro and accelerometer data items, along with an indicator of time passed. The app will create a graph of the surface's movement.

 

My research yielded information about calibration and offsets. I am currently reading and trying to understand the raw data that I am getting and trying to determine whether I need the offsets or not. I found the following thread on [the i2cDevLib] site:

 

http://www.i2cdevlib...-and-gyrometer/

 

BTW: The link to the MPU 6050 datasheet is broken.

 

I will continue to research and read the thread referenced above and the datasheet; however, I wanted to ask here, hoping that perhaps someone can help me get my head around this versatile sensor.

 

My questions:

 

What does the raw data indicate? Why does it vary so much even though the GY521 is not moving?

What does the calibration do? Why is it important?

The calibration process yields offsets, what do these values mean?

 

Any helpful recommendations or clarifications are welcomed. I will follow up with this thread with whatever information I find. Thank you all for your time and assistance. SGarciaV

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube