I have a MPU6050 sensor . I connected it to the arduino MEGA2560. I downloaded the MPU6050 and I2Cdev libraries. After compiling the example raw code for MPU, serial monitor shows "I2C device initialization " and does nothing. Even after pressing the reset button it shows nothing.
I tried everything, even deleted the library and downloaded new one. Here's the library which i used. I am not able to detect the problem. PLZ HELP
I connected it to the arduino MEGA2560.
How?
MPU arduino
VCC pin - 3.3V
GND pin- GND
SCL - SCL pin of arduino mega
SDA - SDA pin of arduino
INT - Digital Pin 2
Pullups?
No ,I think pullups wont be necessary. I watched lot of tutorials but no one used any pullup.
I've never not used pullups, and I've never had problems with I2C.
YMMV
Which MPU6050 module are you using? Have you tried grounding the AD0 pin just in case?