1

I am seeing this from the usual smartphone sensors. These sensors (Android here e.g.) take the magnetic field data as input. That is okay, but some phones do not have a magnetic field sensor (they cannot display a usual compass app e.g.).

Now they still have a gyroscope? This device, AFAIK, lets the app determine the position of the device in X, Y and Z direction (or even with more axes). This sounds as if I could also use it as a compass. Maybe it needs to be calibrated one time, so I know that some vector is the vector pointing north, but then

So could apps use this? Or if not: Why can't they?

Basically that is just a question for whether this fallback/workaround for phones without magnetic sensors is possible. You can assume any other "usual" sensors in nowadays smartphones to be available, so when you need an additional sensor or e.g. GPS, assume you can use that.

Qmechanic
  • 201,751
rugk
  • 111
  • @Walter They do have. GPS has nothing to do with that. Generally smartphones have a lot of sensors – rugk Nov 06 '17 at 23:12
  • I think magnetic compass is not universal. That was one of the problems with the original Google Cardboard 3D viewer, which used a magnet to signal the push of a button. – Manuel Fortin Nov 06 '17 at 23:17
  • I think the answer should be in accuracy. The gyro may be not very precise to check smartphone orientation but for navigational purposes the requirements are much more strict. So I would check what gyro manufacturers write about their specifications – OON Nov 07 '17 at 00:28

1 Answers1

2

In theory you could.

A mems gyroscope - assuming you could hold it flat and still enough for long enough - can sense geographic North. But you need a low noise sensor and some clever filtering software. See A New North-seeking Method Based on MEMS Gyroscope

They work by essentially measuring the sideways force of the Earth pushing on you as it rotates - the direction that this force acts about is the pole.

Spinning wheel gyrotheodolites are used underground to determine North when you can't use magnetic compasses because of magnetic rock.

edit: You can maintain a heading (although you won't know where the heading actually points) using accelerometers - the device is called an inertial measurement unit. Car sat-navs use them to calculate your position when you lose GPS coverage in a tunnel or high buildings. But they do gradually drift especially if they are subject to high accelerations - like being hand held by someone walking.

See Are gyroscopes the only way to maintain the orientation?

  • I think the OP meant integrating accelerometer data continuously to get orientation at all time, but your answer is still interesting. – Manuel Fortin Nov 07 '17 at 04:00