I2C communication problem, stops after 3 seconds com startup

Discussion in 'General Electronics Chat' started by Apok, May 12, 2012.

  1. Apok

    Thread Starter New Member

    Jun 12, 2010
    Hello, i am making a two wheel balance robot, and i use 3 devices with I2C communication, ITG3200 Gyroscope, ADXL345 accelerometer, and MD25 motor driver, and i have a problem with I2C Communication
    MD25 with ADXL345 only, they work well

    But MD25+ITG3200 they dont work together, they run fine for like 2-3seconds and then ITG3200 freezes and stops sending data

    My schematic is the following:


    ITG3200 datasheet: http://www.electro-tech-online.com/custompdfs/2012/05/PS-ITG-3200-00-014.pdf
    ADXL345 datasheet: http://www.electro-tech-online.com/custompdfs/2012/05/ADXL345.pdf
    MD25 motor driver datasheet: http://www.robot-electronics.co.uk/htm/md25tech.htm (using I2C mode)
  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    Does the gyro work by itself?

    What does "freeze" mean? Does the device refuse to acknowledge it's address, or is it keeping SDA low? Keeping SDA low is one way for a slave to request extra time to do something.