Questions tagged [magnetometer]

Anything related to magnetometers, i.e. hardware measurement devices used to measure the intensity and/or the direction of a magnetic field. Many smartphones embed a magnetometer which is used as the sensing device in the implementation of electronic compass applications.

Anything related to magnetometers, i.e. hardware measurement devices used to measure the intensity and/or the direction of a magnetic field. Many smartphones embed a magnetometer which is used as the sensing device in the implementation of electronic compass applications.

See Wikipedia about magnetometers.

258 questions
2
votes
1 answer

How to find MagneticField Strength using magnetometer in android

I want to get Magnetic Field Strength from magnetometer of Android Device. Using the magnetometer of android device I can get the data of magnetic field in the form of x,y & z axis in Micro Tesla. But I don't know how to find magnetic field. Any…
Mohit Kanada
  • 15,274
  • 8
  • 31
  • 41
2
votes
2 answers

iPhone - CMMotionManager properties and iPhone hardware

Do someone know, for each property of CMMotionmanager.deviceMotion and their subproperties, on what kind of hardware they are based on (magnetometer, accelerometer, gyroscope, ...) ? My question is about HARDWARE, not software. I need to know from…
Oliver
  • 23,072
  • 33
  • 138
  • 230
2
votes
2 answers

iPhone hardware capabilities : magnetometer and gyro

Can someone tell me, for any iPhone that have been sold, if they are equiped with a gyro and a magnetometer ? As a complement, do you know a website that gives a comparative table of hardware capabilities of any iPhone sold ? (By iPhone I mean any…
Oliver
  • 23,072
  • 33
  • 138
  • 230
2
votes
1 answer

IMU velocity estimation

do you know maybe where I can find code or example for velocity estimation from IMU (acc+gyro+magnetometer) data. I calculated biases from data where IMU stands still. I want to implement velocity estimation with some kind of filter…
aguero
  • 25
  • 1
  • 4
2
votes
1 answer

Calibration of magnetometer attached to a vehicle as Figure 8 calibration isn't possible in such scrnaroo

I was trying to find a way to calibrate a magnetometer attached to a vehicle as Figure 8 method of calibration is not really posible on vehicle. Also removing magnetomer calibrating and fixing won't give exact results as fixing it back to vehicle…
230490
  • 516
  • 4
  • 15
2
votes
1 answer

Magnetometer data on MPU-9250 (uClinux)

I've found a few other people ask about this, but all of them are coding in Arduino, and I'm struggling to translate it into my project. I'm on a research team developing a Cube Satellite for launch, and my role is to communicate with the…
Connor Olsen
  • 145
  • 1
  • 14
2
votes
1 answer

How to detect magnetic north / azimuth without Magnetometer

I'm working on an Android device which does not have a Magnetometer but has a Rotation Sensor (Gyro) and Gravity Sensor and GPS. I would like to determine True North / Azimuth from these sensors but can't figure out how. Without a Magnetometer, how…
strangetimes
  • 4,953
  • 1
  • 34
  • 62
2
votes
2 answers

How can I get user's walking direction using sensor fusion?

I am working on an Android app and I am trying to figure out how can I combine accelerometer and magnetometer to find the walking direction of the user when indoors. I understand that I can only get an approximate direction and not the real value.…
Voila
  • 310
  • 2
  • 14
2
votes
1 answer

Android magnetometer global coordinates

I have an app that reads the values returned by the magnetometer. The way it does it at the moment is in the phone's coordinates system. I want to be able to always read the magnetic field vector in a global coordinates system (x,y,z - east,…
2
votes
1 answer

true and magnetic heading estimation on iOS default reference frame

I am currently working on heading estimation for iOS and I am recording trueHeading and magneticHeading using CoreLocation and I am also recording raw magnetometer data along with calibrated magnetometer data. I have observed that in the default…
chintan s
  • 6,170
  • 16
  • 53
  • 86
2
votes
0 answers

Using accelerometer and magnetic sensor to detect the directions

I am working on an android project where I need to detect the exact directions when user turns (i.e. left or right or bottom or top). I have found the directions too by using accelerometer with magnetic sensor, but I couldn't fix the maximum values…
Chandru
  • 5,954
  • 11
  • 45
  • 85
2
votes
1 answer

Magnet script for UNITY 3D

I'm working on a Google Cardboard project, right now i have a demo for Android where u can look around in a special scene i build in UNITY 3D, everything is working fine & looking good, but what I really want is: I want to walk forward when I press…
2
votes
1 answer

simple Compass using Magnetometer - Android (Java)

I am using Sensortag CC2541 (connected to Nexus phone) I am using the Magnetometer of this sensor to make a simple compass. I am using the following equations to find North, South, West, and East. Direction (y>0) = 90 -…
Matt
  • 974
  • 1
  • 13
  • 31
2
votes
1 answer

Any way to access magnetometer input in chrome for android?

I'm trying to start a WebGL project that works with Google Cardboard. Since the only input you can have with your phone while it's in the cardboard is a magnetic switch on one side that interacts with the phone's internal magnetometer, I'm curious…
Eric Hannum
  • 382
  • 2
  • 6
  • 16
2
votes
2 answers

Tilted magnetometer output -pitch and roll tilt compensation - i am lost

I have wasted 2 days (and nights) on this specific issue and completely failed in tilt compensating my magnetometer output. I tried about everything I could read on Google and in open source examples, nothing guided me to a proper tilt compensation…
John
  • 7,507
  • 3
  • 52
  • 52