Science with a Smartphone: Accelerometer
Have you ever played a video game with a controller that used motion controls? Do you ever wonder how sometimes your phone seems to “know” that you’re moving? How do these electronic devices measure your motion? Try this activity to find out!
This activity is not appropriate for use as a science fair project. Good science fair projects have a stronger focus on controlling variables, taking accurate measurements, and analyzing data. To find a science fair project that is just right for you, browse our library of over 1,200 Science Fair Project Ideas or use the Topic Selection Wizard to get a personalized project recommendation.
You’re probably familiar with the units we use to measure distance and velocity. In the US, we might say someone is 5 feet 11 inches tall (distance), or that we drive 65 miles per hour on the highway (velocity, or distance per unit time). Scientists use the metric system, which measures distance in meters (m), and velocity in meters per second (m/s).
What about acceleration? You might use the word “accelerate” in everyday language to describe something that is speeding up (like a car accelerating after a red light), or “decelerate” to describe something that is slowing down (like a car hitting the brakes). While velocity measures how fast distance changes, acceleration measures how fast velocity changes. That makes the units for acceleration sound a little weird: meters per second per second, or “meters per second squared” (m/s2). If something has a constant velocity, like a car using cruise control on the highway, then its acceleration is zero. If the velocity changes at all, the acceleration is not zero. For example, if a car is stopped at a stoplight, it has a velocity of 0 m/s. If it accelerates and two seconds later it has a velocity of 10 m/s, then its acceleration was 5 m/s2. Roller coaster riders can experience accelerations up to around 60 m/s2, while fighter jet pilots might experience accelerations up to 90 m/s2 for brief periods of time! Don’t worry if this all sounds confusing – just think of acceleration as how fast something is speeding up or slowing down (if it’s slowing down, the number will be negative).
What does all this have to do with smartphones and video game controllers? Acceleration can be measured with a tiny electronic device called an accelerometer. Modern smartphones contain built-in accelerometers, and can run apps that display the accelerometer readings. So if you want to explore motion in the world around you, all you need is a smartphone!
Extra: try tilting your phone without moving it around. Do the acceleration readings change depending on which way you tilt the phone?
Extra: take acceleration readings on a playground. What happens when you go down a slide, swing on a swing, or climb on the monkey bars? Where do you experience the greatest acceleration?
Extra: take acceleration readings on different parts of your body. You can use a Velcro arm band to attach the phone to your arm or leg. Which part of your body experiences the biggest acceleration when you run? The smallest?
Extra: take measurements in a vehicle. What are the accelerations when you ride your bike or ride in a car?
Observations and Results
You should easily measure accelerations up to around 10 m/s2 as you go through regular motions while holding your phone. Smartphones, fitness trackers, and pedometers can track changes in these accelerations to count how many steps a person takes throughout the day.
The accelerations might be a little higher if you put the phone in your pocket instead of holding it, since it bounces around more. Faster motions, like swinging the phone, could result in accelerations over 50 m/s2 – the same accelerations felt by someone riding a roller coaster! Some electronic devices like laptops have a “drop detector” and will automatically power down to help prevent damage if they detect accelerations that are too high.
You might be confused if you discovered that you could get the acceleration reading to change just by tilting your phone. After all, the phone isn’t moving around – its velocity is zero, so shouldn’t the acceleration also be zero? This occurs because accelerometers also detect acceleration due to gravity*, which is 9.8 m/s2. As you tilt your phone, the direction of gravity relative to the phone’s body changes. Even if the phone is holding still, this will make the X, Y, and Z acceleration readings different depending on which one is pointing downward. This is how motion controls in video games (for example, tilting the controller to steer in a racing game) work!
*This is a bit of a simplification - see the Accelerometer Technical Note in the More to Explore section for a more detailed explanation.
More to Explore
Ben Finio, PhD, Science Buddies
Science Buddies |
Motion, position, velocity, acceleration, measurement
Explore Our Science Videos
Make a Homemade Fly Trap
Make a Lemon Volcano - Fun Science Experiment
How to Build a Brushbot