MEMS and sensors
What does the sensor used in a smartphone's electronic compass detect?
- AThe direction of the Earth's magnetic field
- BAir pressure
- CAmbient brightness
Show answer and explanation
Answer: A. The direction of the Earth's magnetic field
An electronic compass measures the Earth's magnetic field along three axes with magnetic sensors such as Hall elements or magnetoresistive elements to determine heading. Combined with tilt from the accelerometer, it can calculate the correct heading however the device is held.