orientationsensor
nounUK /ˌɔːriənˈteɪʃən ˈsɛnsə/
US /ˌɔːriənˈteɪʃən ˈsɛnsər/
A small part in a device that tells it which way it is turned.
The phone uses an orientation sensor to know when you turn it sideways.
OTHER MEANINGS
2. A component that detects the angle or tilt of an object relative to gravity.
The orientation sensor in the tablet adjusts the screen when you tilt it.
3. A device that reports the direction something is facing, such as north or up.
The robot's orientation sensor helped it stay on the right path.
4. A part of a camera that records whether a photo was taken in portrait or landscape mode.
The camera's orientation sensor saved the picture the right way up.