I'm trying to use the i2cdev library for my mpu6050, but it does not seem to be working. No matter which example from the mpu6050 I take, it's saying always the same: MPU6050 connection failed. (Sketches involving the library)
I'm using an Arduino Uno and a MPU6050 (GY-521). I connected VCC to 3.3V, GND to GND, SCL to A4, SDA to A5. I also ran an ic2-scanner to find the right address which is in my case: 0x68.
When I try to get values using sketches that don't involve i2cdev, it works. But since I need the offset values, I need to use i2cdev.
Hellou,
I'm trying to use the i2cdev library for my mpu6050, but it does not seem to be working. No matter which example from the mpu6050 I take, it's saying always the same:
MPU6050 connection failed
. (Sketches involving the library)I'm using an Arduino Uno and a MPU6050 (GY-521). I connected
VCC to 3.3V
,GND to GND
,SCL to A4
,SDA to A5
. I also ran an ic2-scanner to find the right address which is in my case:0x68
. When I try to get values using sketches that don't involve i2cdev, it works. But since I need the offset values, I need to use i2cdev.