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
3
votes
0 answers

Figuring out orientation of IMU using accelerometer and magnetometer

I have an IMU, and I am trying to obtain the orientation of it using just the accelerometer and magnetometer. I am using the gravity vector returned from the accelerometer and the vector returned from the magnetometer and finding their cross…
GGamer
  • 33
  • 5
3
votes
1 answer

Is it possible to determine if vehicle rolled back on slope or hill using gps or acclerometer?

I have a vehicle with a tracker installed. The device has a gps syst, 3-axis accelerometer, 3-axis magnetomet and a gyromeyet. Is it possible to determine by how much the vehicle rolled back on a slope or hill. Using gps angle wasn't an option as…
230490
  • 516
  • 4
  • 15
3
votes
2 answers

Getting heading/direction from MPU-9250

I'm trying to get the heading from the MPU-9250 sensor which contains a Gyroscope, Acceleratometer and Magnetometer using a Arduino. For my product I need to get the roll and the heading from the device. I already figured out how to fetch the roll.…
Jancoz
  • 51
  • 1
  • 5
3
votes
0 answers

why iphone magnetometer results are different from android

Recently I was working with IOS and Android magnetometer for a project, I searched and found that there exist three ways to get the magnetometer data in IOS (check this question "In iOS, what is the difference between the Magnetic Field values from…
3
votes
0 answers

Detection of left or right turn of car using sensors(accelerometer or others)

Want to detect Is car take left turn or right turn on basis of azimuth,pitch and roll values calculated using sensors Will i able to calculate using these values or need other parameters too? Any Help will be appreciated :)
3
votes
1 answer

Why can't download the magnet with aria2c command?

The Battlestar Galactica here http://kickasstorrentsan.com/usearch/Battlestar%20Galactica/ can be downloaded with deluge. Now i scrap the magnet with firebug on the web page. It can be verified that the magnet is…
showkey
  • 482
  • 42
  • 140
  • 295
3
votes
2 answers

Iphone accelerometer sampling frequency

Some applications are available for measuring frequencies of alternating currents up to 200 Hz using magnetometers and designed for iPhones. I collected data from Iphone 5s magnetometers and the minimum average value of the acquisition period I…
Jeff 974
  • 69
  • 1
  • 4
3
votes
1 answer

Android IMU accuracy

I'm working on a project with the goal of tracks animals from a hill. In the first field season we used using OpenTags and a calibrated camera, which worked but required extensive processing/calibration and-crucially-did not provide any visual…
3
votes
2 answers

Android: Algorithms for SensorManager.getRotationMatrix and SensorManager.getOrientation()

To get orientation as a from of euler angles (e.g., pitch, roll, azimuth) in Android, it is required to execute followings: SensorManager.getRotationMatrix(float[] R, float[] I, float[] gravity, float[] geomagnetic);…
3
votes
1 answer

Soft reset of magnetometer in Android

I have noticed that by shaking or tapping the phone (an SE Xperia x10 mini) several times recalibrates the magnetometer. Is there any way of doing this software-wise in a more controlled way?
Scalarr
  • 746
  • 7
  • 26
3
votes
1 answer

Uncalibrated Magnetometer Issues

I have been working with Android's calibrated magnetometer for some time, feeding it into our algorithm for the rotation vector values to calculate the correct yaw/orientation with North. In spite of dealing with not completely projecting the yaw…
3
votes
1 answer

How to check for a device/browser that fully supports the deviceorientation event?

I have a HTML5 compass that works quite ok. Now I need a smart way to distinguish between "pseudo deviceorientation enabled" browsers (as desktop chrome and FF) and real candidates like iPhone/Android/iPad Browsers that use the device's…
benzkji
  • 1,718
  • 20
  • 41
2
votes
1 answer

Getting Voltage from Magnetic Sensors

This is most likely a very dumb question, so my apologies in advance. I have a potential client that has had others make the claim that the values we receive from certain Android devices' magnetic sensor can be put through a formula (using Time)…
svguerin3
  • 2,433
  • 3
  • 29
  • 53
2
votes
1 answer

Sensor fusion with compass and gyroscope: between 0 and 360 degrees

I'm developing a small indoor navigation app in which I use the gyro and the compass for the device orientation. I use the gyro to smooth the compass data. My sensor fusion looks like the following. This is my motionHandler where everything…
Juuro
  • 227
  • 1
  • 4
  • 12
2
votes
1 answer

Android getRotationMatrix giving 0 for all values

I'm trying to use Magnetic Field and Accelerometer to calculate Orientation. However, the calculated Az, Pitch and Roll are 0. Here's the code: public void onSensorChanged(SensorEvent event) { // TODO Auto-generated method stub Log.e(TAG,…
Tring
  • 359
  • 2
  • 5
  • 16