![]() The two devices are interfering with each other. The real compass is now pointing everywhere but magnetic North. ![]() Even the magnetic content of nearby rocks can interfere with the compass.Īs a further test I've just placed a real (orienteering) compass over my phone which has a compass app installed. The device's compass is assigning itself with the strongest magnetic field. ![]() I found in the past that moving the phone a few inches to the right completely changed its reading. The information is completely unreliable. no filtering).ĭo the calibration (figure of 8 wavy stuff) and then move the phone around your desk. ![]() If you stand beside a large lump of metal the compass will be attracted to it and point to it rather than the magnetic north pole. At the end of the day a compass is just a magnet. From electrical equipment interference to the metal structure holding up a building. There are magnetic fields interfering with the earth's magnetic fields all the time. ![]() Instead it could very well be a problem with your environment. I've worked quite a lot with these electronic compasses on mobile phones and its quite possible that there is nothing wrong with your code or sensor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |