Mobile Dev - Chapter 7
Mobile Dev - Chapter 7
CHAPTER 07
MOBILE DEVICE
SENSORS
HOANG LE HAI THANH
High Performance Computing Laboratory, HCMUT - VNUHCM
TABLE OF CONTENTS
01
Introduction to Mobile Device sensors
02
Mobile Device sensors characteristics
03
Common Mobile Device sensors
04
Develop Mobile App with device sensors
01.
INTRODUCTION TO
MOBILE DEVICE
SENSORS
SENSORS
A sensor is a tiny device or module that analyzes its
surroundings and reports the quantitative measure to
the controlling program.
SPAN PRECISION
It is the difference between the maximum and It is defined as the closeness among a set of
minimum values of input. values
UNIT
Unit of measurement
SENSITIVITY LINEARITY
It calculates the sensor's output change concerning Linearity is the maximum deviation between the
a unit change in the input (the measured quantity). measured values of a sensor from ideal curve.
RESOLUTION
The slightest change in the input that the sensor can
detect and reliably point out is called resolution.
TYPE
Physical sensors relay data from the source they
present, while composite sensors generate data
from other sensors
POWER CALIBRATION
CONSUMPTION Sensor calibration makes that instrument
function as accurately, or error-free, as
It is the energy consumption of the sensor possible
when being used or sleep
03.
COMMON
MOBILE DEVICE
SENSORS
SENSOR CATEGORY (ANDROID)
Measures the ambient geomagnetic field for all three physical axes (x, y, z)
TYPE_MAGNETIC_FIELD Hardware Creating a compass.
in μT.
Measures degrees of rotation that a device makes around all three physical
axes (x, y, z). As of API level 3 you can obtain the inclination matrix and
TYPE_ORIENTATION Software rotation matrix for a device by using the gravity sensor and the Determining device position.
geomagnetic field sensor in conjunction with
the getRotationMatrix() method.
TYPE_AMBIENT_TEMPERATURE Hardware Measures the ambient room temperature in degrees Celsius (°C). Monitoring air temperatures.
TYPE_LIGHT Hardware Measures the ambient light level (illumination) in lx. Controlling screen brightness.
TYPE_PRESSURE Hardware Measures the ambient air pressure in hPa or mbar. Monitoring air pressure changes.
GNSS
GNSS stands for Global Navigation
Satellite System and is the standard
generic term for satellite navigation
systems. This term includes e.g. the
GPS, GLONASS, Galileo, Beidou,
and other regional systems
SPECIAL DEVICES
Biometric Sensors
A Biometric sensor is an
identification and authentication
device, based on a physical attribute
such as fingerprints, facial images,
iris, and voice recognition.
System Sensors
Acquire raw sensor data and define the minimum rate at which you
acquire sensor data.