4 years, 2 months ago.

mbed IMU error with gyroscope

I am cuurently working with an IMU (SparkFun 6 Degrees of Freedom IMU Digital Combo Board - ITG3200/ADXL345). I found the following link that has the library for interfacing the IMU with mbed: https://developer.mbed.org/cookbook/IMU

My problem is as follows: - I tried using the accelerometer ADXL345, it worked fine. - However, when I tried ITG3200, I got the output as three zeros (0, 0 , 0) for the three axis. Moreover, if I try to rotate the IMU, the serial monitor stops displaying new readings. - When I tried the IMU library as a whole, I got very unstable readings even when the IMU is fixed in space. And the same issue with gyroscope happened here, when I move the IMU, it stops bringing more readings.

Any suggestions?

Be the first to answer this question.