external magnetometer = slow heading update rate?

I just tried setting up an external magnetometer via i2c for my APM 2.5 board, and I'm seeing a much slower response time in heading changes within Mission Planner when using the external mag.

Example:

Rotating the board while using the onboard mag shows an almost instantaneous & very responsive change in heading within the Mission Planner display. Performing the same action with the external mag setup causes the heading changes to 'lag' significantly and updates are in 'slow motion'.

Is anyone else experiencing this, and/or is this normal behavior?

Should the i2c connection for the external mag be this much slower than the onboard mag?

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

Join diydrones

Email me when people reply –

Replies

  • Interesting fact: this problem only occurs with USB connection, not with radiomodem. I'll give it a shot, and test flight my Y6 tomorrow...

  • Hey, p.r. any update on the problem? Did you solved it?

    I have the same problem. Fast update rate with onboard mag, and much slower update rate with external mag. I've installed GY-271 compass module which has level translator built in. I should receive GY-273 without level translator soon, then I will test if it's the issue with specific module type.

  • Hi,

    I'm about to do the same thing with a non-3DR HMC5883L breakout board.  Did you have to do anything other than cut the trace, plug it in and the mission planner setup?

    I'm wondering if there is anything like giving it a specific I2C id that I need to do?

    Thanks,

    Rob.

  • Admin

    @p.r.,

    Did you cut the enable trace to the internal magnetometer when you started using the external magnetometer? You cannot have both magnetometers in operation at the same time. If you plan to use the external magnetometer, then you must cut the internal magnetometer enable trace as shown here: http://copter.ardupilot.com/wiki/common-external-magnetometer-for-i... Also, who did you buy the external magnetometer from, 3DR or a clone vendor?

    Regards,

    TCIII ArduRover2 Developer

This reply was deleted.

Activity

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