GY-521 IMU data acquisition and motion analysis

Hello, everybody!

I’m trying to build a small application with my IMU. I want to extract the data and analyze it in the computer for a deeper analysis. I would like to move a robot in the computer with its movements. To do this, I will use the ROS and the turtle packet to test it. So, I’m interested to know if anyone can help me:

  • Arduino code to extract the data
  • How to connect arduino to ROS
  • How to convert raw data into motion information.

I hope one of you can help me :grin:

Hello @RoboCS,

Cool project :slight_smile:

Maybe some of these tutorials can help you:

https://www.mschoeffler.de/2017/10/05/tutorial-how-to-use-the-gy-521-module-mpu-6050-breakout-board-with-the-arduino-uno/

http://wiki.ros.org/rosserial_arduino/Tutorials