LSM303DLHC interference from stepper and servo

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
g3ck0
 
Posts: 7
Joined: Wed Jan 21, 2015 4:00 am

LSM303DLHC interference from stepper and servo

Post by g3ck0 »

Hi guys, I'm trying to build a gimbal-like system so I've placed the magnetometer pretty close to the motors.

When I do so, it seems to give me really wrong values (I used the Pololu heading sketch to verify). If I place the sensor about 5-6 inches away, the heading readings to me make sense again. Is there some kind of shield or technique I can use so that I can place the sensor near the motors? My contraption will look pretty poorly designed if I have to place the magnetometer on a stick away from the motors.

Any help greatly appreciated :)

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: LSM303DLHC interference from stepper and servo

Post by adafruit_support_bill »

Unfortunately, no. You need to keep the magnetometer well away from magnetic field sources such as motors.

User avatar
g3ck0
 
Posts: 7
Joined: Wed Jan 21, 2015 4:00 am

Re: LSM303DLHC interference from stepper and servo

Post by g3ck0 »

So enclosing the sensor in a metal box would not make the situation any better?

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: LSM303DLHC interference from stepper and servo

Post by adafruit_support_bill »

So enclosing the sensor in a metal box would not make the situation any better?
A typical "Faraday Cage" is not effective at blocking static or low-frequency magnetic fields. A box constructed of superconducting material would, but it would also block the Earth's magnetic field.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”