Total Pageviews

3/17/2014

Kootek® Arduino GY-521 MPU-6050 Module 3 axial gyroscope accelerometer stance tilt module

Hardware Setup

Pin Connections
MPU6050Arduino UNO or FIO
VCC3.3V
GNDGND
SDAA4
SCLA5
INTPin 2 (interrupt #0)

NOTE: This is a 3.3V device. If using the Arduino UNO or other 5V platform, be sure to power the MPU6050 breakout from the low voltage (3.3V) line. The SDA and SCL inputs will be fine, you do not need to worry about them.

Click for full-size image

THIS IS HORRIBLE SOLDERING (AND A BLURRY PHOTO)! YOU CAN DO BETTER!
Source: http://wiki.dxarts.washington.edu/groups/general/wiki/1b074/MPU_6050_SixAxis_Gyro__Accelerometer_Motion_Tracking_Device.html

43 of 44 people found the following review helpful
5.0 out of 5 stars Good unit for the right price., December 13, 2012
By acheekyfellow
Amazon Verified Purchase(What's this?)
This review is from: Kootek® Arduino GY-521 MPU-6050 Module 3 axial gyroscope accelerometer stance tilt module (Misc.)
I am fairly new to Arduino projects, so this was a perfect breakout board to get my feet wet. The major down side to this product is that its difficult to find info on it (as said by other users). After finding some code, the unit seems to work pretty well... I used this board on a quadcopter to help with the inherent stability issues.

Hopefully I'll save some people the time to dig up this information. Here is a link for those doing arduino projects:
[...] --> See first comment on this post

here's the source code for the I2C library I used:
[...] --> See first comment on this post

This library contains two helpful examples; one that allows the raw accelerometer and gyroscope values to be accessed, and the other calculates Euler angles, yaw pitch roll, world accelerations, and quaternions. If you using this with an arduino, make sure that the I2C library and a MPU6050 library are in the Arduino sketch folder, this will allow it to compile correctly.

This was also difficult to find:

The GY-521 breakout board is wired to the Arduino Mega as followed:
Vcc - 3.3V
GND - GND
SCL - SCL (pin 21)
SDA - SDA (pin 20)
ADO - GND
INT - D2

The GY-521 breakout board is wired to the Arduino Uno as followed:
Vcc - 3.3V
GND - GND
SCL - D5
SDA - D4
ADO - GND
INT - D2
Help other customers find the most helpful reviews
Was this review helpful to you? Yes No
Report abuse | Permalink

 [Add comment]
Comments
Track comments by e-mail
Tracked by 1 customer

Sort: Oldest first | Newest first
Showing 1-5 of 5 posts in this discussion
Initial post: Dec 13, 2012 10:32:53 AM PST
acheekyfellow says:
Here are the two links that amazon cut out:

http://playground.arduino.cc/Main/MPU-6050

http://www.i2cdevlib.com/devices/mpu6050#source
Reply to this post
Permalink | Report abuse | Ignore this customer
10 of 10 people think this post adds to the discussion. Do you?  Yes No
Posted on Oct 12, 2013 9:44:37 PM PDT
Yufeng W. says:
Hi. I am trying to read the raw data with a Arduino Duemilanove. Would you please tell me how can I wire the GY-521 to the Arduino board. Thank you.
Reply to this post
Permalink | Report abuse | Ignore this customer
1 of 3 people think this post adds to the discussion. Do you?  Yes No
Posted on Oct 31, 2013 9:47:55 PM PDT
Last edited by the author on Oct 31, 2013 9:49:33 PM PDT
luvsocr33 says:
Probably trying to be helpful... but some bad info.... Cost me a good bit of time!!! as I started here!!
Can you EDIT your post please cheeky?
UNO
SCL - A5 (NOT D5)
SDA - A4 (NOT D4)
These are plainly important!
Vcc - Maybe 3.3 works? board seems designed for 5V in with a regulator onboard for sensor??? Mine works on 5V
Reply to this post
Permalink | Report abuse | Ignore this customer
4 of 4 people think this post adds to the discussion. Do you?  Yes No
Posted on Jan 7, 2014 9:22:09 PM PST
Joe C says:
The Arduino Leonardo/yun has different I2C pin locations as well.

D2=SDA (not A2!)
D3=SCL (not A3!)

And they are also broken out in the same order in the very last two headers by the rest button and mounting hole. I don't own a Leonardo but I believe the silk screen is labeled. You may also have to change any calls as xxx.receive() to xxx.read() for arduino IDE versions 1.0 and higher I believe.

I love arduino but hate trying to recall all the pin functions, seems they constantly move them around.

For those asking, I2C bus usually only needs 4 wires between the device and arduino - ground, voltage, SCL and SDA. Just find the location of SCL/SDA for your specific board.
Reply to this post
Permalink | Report abuse | Ignore this customer
Do you think this post adds to the discussion?  Yes No
In reply to an earlier post on Jan 29, 2014 12:11:11 AM PST
Last edited by the author on Jan 29, 2014 12:11:42 AM PST
Tanuj Damani says:
Did you ground the AD0 pin?
Was INT Connected to D2?
Did you put a 10KOhm Pull-up for the SCL and SDA?
As I'm still getting connection Failed.
Reply to this post
Permalink | Report abuse | Ignore this customer

No comments:

Post a Comment