Jump to content
I2Cdevlib Forums


  • Posts

  • Joined

  • Last visited

Everything posted by Riccati

  1. Put this into Google patent search: US 20120323520 A1 The description in that patent application explains the behavior you're describing. Regards, Riccati
  2. Fixed it. The problem was that the MPU6050_raw sketch uses I2C address 0x68 as default, but the SparkFun board I'm using has AD0 tied to Vcc which sets the MPU6050 address to 0x69. AD0 low is shown as a default on the SparkFun breakout board schematic but it looks like there is a solder bump on my board that sets AD0 high. I don't know why it's there. I didn't do it! Changing ... MPU6050 accelgyro; ... to ... MPU6050 accelgyro(0x69); makes the sketch work. I figured this out by running I2cScanner which is found here: http://playground.arduino.cc/Main/I2cScanner That sketch immediately told me that there was a device at 0x69. Regards, Riccati
  3. Thanks Jeff and Pam for suggestions. No luck so far, though! Here are more details I should have mentioned the first time around: Arduino Uno R3 SMD SparkFun MPU6050 breakout board Connections: VDD - Arduino 3.3v GND - Arduino GND INT - Arduino digital pin 2 FSYNC - unconnected SCL - Arduino SCL dedicated pin SDA - Arduino SDA dedicated pin VIO - Arduino 3.3v CLK - unconnected ASCL - unconnected ASDA - unconnected MPU6050_raw sketch modified by putting ... accelgyro.setSleepEnabled(false); ... after the line which has accelgyro.testConnection() in it. Example serial output: Initializing I2C devices... Testing device connections... MPU6050 connection failed a/g: 0 0 0 0 0 0 a/g: 0 0 0 0 0 0 a/g: 0 0 0 0 0 0 a/g: 0 0 0 0 0 0 a/g: 0 0 0 0 0 0 etc. It looks like AD0 is grounded on the SparkFun board. I have not modified the board. Tried SCL/SDA on A5/A4; got same result. Don't know if the Arduino Uno R3 SMD has internal pull up resistors on SCL/SDA. The SparkFun board has 10k pull up resistors on those lines. I appreciate any more suggestions you may have. Thanks, Riccati
  4. Anyone have suggestions for where to start troubleshooting a "MPU6050 connection failed" message when running the MPU6050_raw.ino example? Thanks, Riccati
  • Create New...