0

lsm303dlhc compass issue
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

lsm303dlhc compass issue

by vic2000 on Thu Aug 29, 2019 11:18 am

I have a lsm303dlhc compass that im using with the Arduino Uno that is installed in my car. I'm building an autonomous vehicle and i have a bunch of electronic parts in the car. I've calibrated the compass fine and it is showing the correct heading however as soon as start driving the heading from the compass starts to jump around about 10 - 20 degrees. Also, if the car is in the garage, the compass reads 90 degrees, but as soon as i pull out of the garage it reads 75 degrees. I must be getting some kind of interference. I've tried moving the location of the compass throughout the inside of the car but still no luck. Im not sure if its electrical interference or what. Is there a way to shield this compass? If so how? Any help would be greatly appreciated.

vic2000
 
Posts: 5
Joined: Mon Jun 19, 2017 11:28 am

Please be positive and constructive with your questions and comments.