Go Down

Topic: Rowberg's Libraries for MPU-6050 Breakout Board Not Working (Read 856 times) previous topic - next topic

I have been having issues with Rowberg's libraries for the MPU-6050 Breakout Board (http://www.ebay.com/itm/MPU-6050-Module-3-Axis-Gyroscope-Acce-lerometer-for-Arduino-Power-supply-3v-5v-/140843435041?pt=LH_DefaultDomain_0&hash=item20caec4421).

In particular, when I run https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/Examples/MPU6050_raw/MPU6050_raw.ino the Serial Port Monitor outputs strange, incomprehensible symbols.

Here is a sample:


Our wiring is as follows:
    VCC - 3.3V
    GND - GND
    SDA - Analog A4
    SCL - Analog A5
    INT - Pin 2

Any advice on this matter would be greatly appreciated.


Nantonos


In particular, when I run https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/Examples/MPU6050_raw/MPU6050_raw.ino the Serial Port Monitor outputs strange, incomprehensible symbols.

Here is a sample:



Look in the bottom right of your serial monitor, where the speed is 9600. Now look a the sketch you referenced:

Code: [Select]
Serial.begin(38400);


So, set your serial monitor to 38400.



Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy