cover

Motion Detectives

How does a phone know which way it is facing?
Your phone knows which way is up. It knows when you flip it sideways. It even knows when you're spinning around in a cir

Your phone knows which way is up. It knows when you flip it sideways. It even knows when you're spinning around in a circle. How does a rectangle of glass and metal figure all this out?

Inside your phone, buried under the screen and battery, sits a chip smaller than a grain of rice. Engineers call it an +

Inside your phone, buried under the screen and battery, sits a chip smaller than a grain of rice. Engineers call it an accelerometer. It's a motion detective, and its whole job is feeling which way gravity pulls.

~~Here's how it works.~~ Imagine you're holding a cookie on a plate. **Tilt the plate left โ€” the cookie slides left**. *

Here's how it works. Imagine you're holding a cookie on a plate. Tilt the plate left โ€” the cookie slides left. Tilt it right โ€” the cookie slides right. The cookie always slides toward the ground because gravity pulls it down.

The accelerometer has its own **microscopic "cookie"** โ€” a ~~tiny weight suspended on springs~~ *so small you'd need a p

The accelerometer has its own microscopic "cookie" โ€” a tiny weight suspended on springs so small you'd need a powerful microscope to see them. When you tilt your phone, gravity pulls that weight, and the springs stretch.

The phone measures how much each spring stretches. ~~Stretch on the left spring?~~ You've tilted left. ~~Stretch on the

The phone measures how much each spring stretches. Stretch on the left spring? You've tilted left. Stretch on the bottom spring? You've tilted the phone face-down. The pattern of stretches tells the phone exactly which way it's facing.

~~But wait โ€” there's more.~~ Your phone also has a ++gyroscope++, a second tiny chip that *feels spinning*. While the ac

But wait โ€” there's more. Your phone also has a gyroscope, a second tiny chip that feels spinning. While the accelerometer measures tilting, the gyroscope measures twisting. Together, they're a motion-sensing team.

The gyroscope uses a **vibrating tuning-fork shape** inside. When you rotate your phone, that vibrating piece wobbles in

The gyroscope uses a vibrating tuning-fork shape inside. When you rotate your phone, that vibrating piece wobbles in a particular way โ€” like how a spinning top leans when you try to push it. The phone reads that wobble and knows: "Aha! We're turning!"

Some phones add a ++magnetometer++ too โ€” a chip that feels Earth's magnetic field, **like a compass needle**. Now the ph

Some phones add a magnetometer too โ€” a chip that feels Earth's magnetic field, like a compass needle. Now the phone knows which way is down, whether it's spinning, and which way is north. Motion detective, meet direction detective.

All three chips take measurements ~~hundreds of times per second~~, sending their data to the phone's brain. The **brain

All three chips take measurements hundreds of times per second, sending their data to the phone's brain. The brain combines the clues: "tilted 32 degrees, rotated left, facing northeast." Your racing game turns. Your map rotates. Your photos flip right-side-up.

~~So the next time~~ your phone knows to rotate the screen the instant you turn it sideways, thank those **three invisib

So the next time your phone knows to rotate the screen the instant you turn it sideways, thank those three invisible chips. They're in there right now, feeling gravity, spin, and Earth's magnetic hug โ€” even when you're standing perfectly still.

How was this book?

A Wonderleaf Book

Motion Detectives

โ€” How does a phone know which way it is facing? โ€”

Wonderleaf Editions
โ€” ex libris โ€”
A Wonderleaf Book

Motion Detectives

How does a phone know which way it is facing?

Wonderleaf Editions ยท MMXXVI
Scene 1
Your phone knows which way is up. It knows when you flip it sideways. It even knows when you're spinning around in a cir
Motion Detectives2
Scene 1

Your phone knows which way is up. It knows when you flip it sideways. It even knows when you're spinning around in a circle. How does a rectangle of glass and metal figure all this out?

3Motion Detectives
Scene 2
Inside your phone, buried under the screen and battery, sits a chip smaller than a grain of rice. Engineers call it an +
Motion Detectives4
Scene 2

Inside your phone, buried under the screen and battery, sits a chip smaller than a grain of rice. Engineers call it an accelerometer. It's a motion detective, and its whole job is feeling which way gravity pulls.

5Motion Detectives
Scene 3
~~Here's how it works.~~ Imagine you're holding a cookie on a plate. **Tilt the plate left โ€” the cookie slides left**. *
Motion Detectives6
Scene 3

Here's how it works. Imagine you're holding a cookie on a plate. Tilt the plate left โ€” the cookie slides left. Tilt it right โ€” the cookie slides right. The cookie always slides toward the ground because gravity pulls it down.

7Motion Detectives
Scene 4
The accelerometer has its own **microscopic "cookie"** โ€” a ~~tiny weight suspended on springs~~ *so small you'd need a p
Motion Detectives8
Scene 4

The accelerometer has its own microscopic "cookie" โ€” a tiny weight suspended on springs so small you'd need a powerful microscope to see them. When you tilt your phone, gravity pulls that weight, and the springs stretch.

9Motion Detectives
Scene 5
The phone measures how much each spring stretches. ~~Stretch on the left spring?~~ You've tilted left. ~~Stretch on the
Motion Detectives10
Scene 5

The phone measures how much each spring stretches. Stretch on the left spring? You've tilted left. Stretch on the bottom spring? You've tilted the phone face-down. The pattern of stretches tells the phone exactly which way it's facing.

11Motion Detectives
Scene 6
~~But wait โ€” there's more.~~ Your phone also has a ++gyroscope++, a second tiny chip that *feels spinning*. While the ac
Motion Detectives12
Scene 6

But wait โ€” there's more. Your phone also has a gyroscope, a second tiny chip that feels spinning. While the accelerometer measures tilting, the gyroscope measures twisting. Together, they're a motion-sensing team.

13Motion Detectives
Scene 7
The gyroscope uses a **vibrating tuning-fork shape** inside. When you rotate your phone, that vibrating piece wobbles in
Motion Detectives14
Scene 7

The gyroscope uses a vibrating tuning-fork shape inside. When you rotate your phone, that vibrating piece wobbles in a particular way โ€” like how a spinning top leans when you try to push it. The phone reads that wobble and knows: "Aha! We're turning!"

15Motion Detectives
Scene 8
Some phones add a ++magnetometer++ too โ€” a chip that feels Earth's magnetic field, **like a compass needle**. Now the ph
Motion Detectives16
Scene 8

Some phones add a magnetometer too โ€” a chip that feels Earth's magnetic field, like a compass needle. Now the phone knows which way is down, whether it's spinning, and which way is north. Motion detective, meet direction detective.

17Motion Detectives
Scene 9
All three chips take measurements ~~hundreds of times per second~~, sending their data to the phone's brain. The **brain
Motion Detectives18
Scene 9

All three chips take measurements hundreds of times per second, sending their data to the phone's brain. The brain combines the clues: "tilted 32 degrees, rotated left, facing northeast." Your racing game turns. Your map rotates. Your photos flip right-side-up.

19Motion Detectives
Scene 10
~~So the next time~~ your phone knows to rotate the screen the instant you turn it sideways, thank those **three invisib
Motion Detectives20
Scene 10

So the next time your phone knows to rotate the screen the instant you turn it sideways, thank those three invisible chips. They're in there right now, feeling gravity, spin, and Earth's magnetic hug โ€” even when you're standing perfectly still.

21Motion Detectives

~ finis ~

Tiny picture books for big little questions.

โ€” a small constellation of questions โ€”
โœฆWonderleaf
Editions