IMU board or magnetometer broken

Hi,

I suffered a pretty bad crash last week and since then I can't get my compass to work anymore. However, I am not sure if it's the compass that's actually broken or maybe my IMU board.

  • The compass just outputs 357 degrees all the time.
  • It's the same plugging it into the I2C port or attaching it to the board

Since I also had to resolder a part of my IMU board, I'm wondering if the I2C port is getting the right input voltages. Can one of you guys measure the voltage between your I2C connectors and tell me if you get the same values:

  • Between GND and Vcc I get about 5V (4.9V to be exact)
  • I also get about 5V between GND and the two signal leads

Is there a way to test if the I2C portion of my board is still behaving properly? I'm trying to avoid ordering a new magnetometer and later finding out that wasn't even the problem. Thanks much!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics
    Im having similar problems, but instead all orientations converge onto 357, if I turn turn the board it registers the motion correctly momentarily, then returns back to the 357 heading. Real strange that its the same number. I dont know if mines the result of the last tipover I had or the pcb sandwich separation I have on the mag as a result of a transplant operation I had made. Bummer either way.
  • Developer

    I suspect it's the mag that's been partially damaged.  357 degrees is an unusual number to output and I can't see how you would get that number if your I2C connection was damaged.  Seems much more likely that the compass is still responding on the bus but it's been damaged in a way that it can't get the correct heading anymore.

     

    Could you copy-paste some output from the CLI menu's "test, compass" function?

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…