Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Internet of Things with Blynk

You're reading from   Hands-On Internet of Things with Blynk Build on the power of Blynk to configure smart devices and build exciting IoT projects

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788995061
Length 271 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Pradeeka Seneviratne Pradeeka Seneviratne
Author Profile Icon Pradeeka Seneviratne
Pradeeka Seneviratne
Arrow right icon
View More author details
Toc

Accelerometer

Most smartphones and tablets come with a built-in accelerometer. An accelerometer is an electromechanical device that measures acceleration, which is the rate of change of the velocity of the phone. It measures in meters per second squared (m/s2) or in G-forces (g). An accelerometer can sense either static or dynamic forces of acceleration:

  • Sense static forces, including gravity
  • Sense dynamic forces, including vibrations and movement

For your smartphone or tablet, accelerometers are useful for sensing vibrations in systems or for the orientation of applications.

The accelerometer on your smartphone measures linear acceleration along x, y, and z axes. Figure 6.1 shows the x, y, and z orientation axes relative to a typical Android mobile device:

Figure 6.1: x, y, and z orientation axes for smartphone (created by Freepik)

If you place the smartphone face-up on a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image