How Do Smartphones Know Which Is The Right Side Up?

A number of electronic devices these days (including smartphones, tablets and even laptops) have a sense of gravity designed into it and can therefore tell up from down, thanks to a device called an accelerometer.

There are so many features of smartphones that we use and take for granted without ever realizing how important they are, and also, how great their contribution is to our entire experience of using phones. Take, for example, the way we watch videos; while watching high-definition videos on a device (say, a smartphone), we usually tend to hold it laterally in order to get the most out of the screen size. Magically enough, the video playing on the screen and all the other menu options also orient themselves according to the new direction!

Different mobile positions in portrait and landscape mode

A feature that makes things incredibly convenient

How does that happen? How does your smartphone know up from down? After all, it has no ‘real’ sense of its own orientation, right?


Recommended Video for you:

If you wish to buy/license this video, please write to us at admin@scienceabc.com.

The Magic of Accelerometers

As it turns out, a number of electronic devices these days (including smartphones, tablets and even laptops) have a sense of gravity designed into it and can therefore tell up from down, thanks to a device called an accelerometer. An accelerometer is a device that measures the proper acceleration or ‘g-force’ at a given point. As you may already know, under standard conditions, anything at the surface of Earth experiences a G-force of 9.8 m/s^2 due to Earth’s gravity. Therefore, an accelerometer will measure 9.8 m/s^2 at the ground and zero during free fall.

smartphone landscape mode

Thanks to accelerometers, you can use ‘landscape’ mode on your phone seamlessly (Image Source: www.pexels.com)

In addition to smartphones and tablets, accelerometers are used in many other devices and electronic equipment, including inertial navigational systems of aircraft and missiles, flight stabilization systems of drones, collision prevention systems in vehicles, and so much more. However, in this article, we’re going to look at how it helps your phone display automatically change its orientation.

How does an accelerometer work?

A standard accelerometer consists of two basic parts: a housing that is attached to the object in question (say, a phone) and a seismic mass that is connected to the housing. Unlike the housing, this mass can move when the housing’s orientation changes when the concerned object is moved. To comprehend how this works, consider the following image where the ‘movable mass’ is a spring attached to a heavy metal ball:

a standard accelerometer

The metal ball moves when the device is moved

The force of gravity acting on the entire object can be calculated from how much the spring is extended.

However, you can’t possibly a spring and a heavy mass inside a smartphone without making it unusually bulky. Therefore, engineers have figured out a novel work-around to this problem in smartphones. There’s simply a tiny chip inside smartphones that houses an accelerometer and helps the phone to know which side is ‘right’ side up.

accelerometer in a smartphone

An accelerometer in a smartphone (Image Source: Engineer Guy / Youtube)

This chip is extremely small – only 500 microns across, i.e. one-thousandth of a millimeter! It’s made by etching into a piece of silicon using potassium hydroxide, along with a housing that’s attached to the phone. It also has a ‘comb-like’ section that can move back and forth. Although this is much more advanced than the standard accelerometer we discussed above, the fundamental parts are the same: the seismic mass is represented by the comb-like section of the chip and the spring is represented by the flexibility of the thin silicon that’s attached to the housing.

Therefore, when you move your smartphone to change its orientation with respect to the ground, the tiny comb-like section in the accelerometer moves to and fro, generating current in the process. The amount of current produced is then correlated with acceleration in a given direction. As soon as the acceleration in a specific direction exceeds the threshold value, voila! The orientation of the screen changes! You can check out the visual representation of the entire process in this video by Engineer Guy:

This is why the screen doesn’t rotate if you move only slightly in any direction. You need to tilt your smartphone (almost) completely to change the orientation of the display.

playing video in portrait mode in smartphone

Watching a high definition video in Portrait mode is no fun

Think of how different our user experience of smartphones would be if not for this intricate technological device. We could never enjoy watching a high-definition video or reading a book as much as we do now on our phones. And yes, racing games that involve steering by tilting the device would only be a cruel joke!

Suggested Reading

Was this article helpful?
YesNo
Help us make this article better
Scientific discovery can be unexpected and full of chance surprises. Take your own here and learn something new and perhaps surprising!

Follow ScienceABC on Social Media:

About the Author

Ashish is a Science graduate (Bachelor of Science) from Punjabi University (India). He spearheads the content and editorial wing of ScienceABC and manages its official Youtube channel. He’s a Harry Potter fan and tries, in vain, to use spells and charms (Accio! [insert object name]) in real life to get things done. He totally gets why JRR Tolkien would create, from scratch, a language spoken by elves, and tries to bring the same passion in everything he does. A big admirer of Richard Feynman and Nikola Tesla, he obsesses over how thoroughly science dictates every aspect of life… in this universe, at least.

.
Science ABC YouTube Videos

  1. Neutron Stars Explained in Simple Words for LaymenNeutron Stars Explained in Simple Words for Laymen
  2. How Robert J. Oppenheimer became the ‘Father of the Atomic Bomb’How Robert J. Oppenheimer became the ‘Father of the Atomic Bomb’
  3. Higgs Boson (The God Particle) and Higgs Field Explained in Simple WordsHiggs Boson (The God Particle) and Higgs Field Explained in Simple Words
  4. Slowing or Reversing Aging: Can We Live for 180 years?Slowing or Reversing Aging: Can We Live for 180 years?
  5. Detectives Use this Simple Technique to Find Your Fingerprints (Even AFTER You Have Wiped Them Off)!Detectives Use this Simple Technique to Find Your Fingerprints (Even AFTER You Have Wiped Them Off)!
  6. Why is a Circle 360 Degrees, Why Not a Simpler Number, like 100?Why is a Circle 360 Degrees, Why Not a Simpler Number, like 100?
  7. Quantum Mechanics Explained in Ridiculously Simple WordsQuantum Mechanics Explained in Ridiculously Simple Words
  8. Do Fish Get Thirsty and Do They Need to Drink Water?Do Fish Get Thirsty and Do They Need to Drink Water?