Arduino Forum

Using Arduino => Networking, Protocols, and Devices => Topic started by: luckycubanito on Oct 24, 2015, 09:07 pm

Title: Problem with my GY-521 gyroscope not working or wrong set up ?
Post by: luckycubanito on Oct 24, 2015, 09:07 pm
Hi
i have this gyroscope that i am trying to get to work, i look up here arduino playground (http://playground.arduino.cc/Main/MPU-6050#easy) and copy the raw value code and the set up like this

SCL - A5
SDA - A4
VCC - 3.3V
GND - GND
AD0 - GND
INT - PIN2 
but i don't know if that's the right config,
if anyone can help me i would appreciate it i apologize for my grammar and English.
 :)
Title: Re: Problem with my GY-521 gyroscope not working or wrong set up ?
Post by: Koepel on Oct 25, 2015, 08:53 am
Yes, that is okay for an Arduino Uno.
I think you don't have to connect AD0, there might already be a pullup or pulldown resistor on the sensor module.

Run the i2c_scanner, and it should find address 0x68 (or 0x69).
http://playground.arduino.cc/Main/I2cScanner (http://playground.arduino.cc/Main/I2cScanner)

If that doesn't work, and you are very sure that there is a voltage regulator on the module, then apply 5V to VCC. But if the module does not have a voltage regulator, then the 5V will damage the sensor.