Mobile Handset Sensors
Week 13 & 14
By: Dr. Mohammad Shoab
Outline
2
Sensor
3
Visual Sensor
Ultrasound Sensor
Infrared Sensor
Mobile Handset Sensor
4
Sensor Categories (1)
5
Sensor Categories (2)
6
Sensor List
7
Sensor | Function Type | Software-based or Hardware-based |
Accelerometer | Motion Sensor | Hardware-based |
Gyroscope | Motion Sensor | Hardware-based |
Gravity | Motion Sensor | Software-based |
Rotation Vector | Motion Sensor | Software-based |
Magnetic Field | Position Sensor | Hardware-based |
Proximity | Position Sensor | Hardware-based |
GPS | Position Sensor | Hardware-based |
Orientation | Position Sensor | Software-based |
Light | Environmental Sensor | Hardware-based |
Thermometer | Environmental Sensor | Hardware-based |
Barometer | Environmental Sensor | Hardware-based |
Humidity | Environmental Sensor | Hardware-based |
Sensors in Android OS
8
Applications
Application Framework
Libraries
Linux Kernel
GPS
Driver
Accelerometer Driver
Gyroscope
Driver
Thermometer
Driver
Other Drivers
Hardware
GPS
Accelerometer
Gyroscope
Thermometer
….
Android
OS
Outline
9
GPS (1)
10
GPS (2)
11
GPS (3)
12
GPS (4)
13
GPS (5)
14
GPS (6)
15
GPS (7)
16
GPS (8)
17
GPS (9)
18
Outline
19
Sensor Coordinate System
20
Accelerometer (1)
21
Accelerometer (2)
22
Accelerometer (3)
23
Gravity Sensor
24
Gyroscope (1)
25
Gyroscope (2)
26
Gyroscope (3)
27
Magnetic Field Sensor
28
Proximity Sensor (1)
to determine how far a person’s
head is from the face of a handset
29
Proximity Sensor (2)
30
Light Sensor (1)
31
Light Sensor (2)
32
Thermometer
33
Pressure Sensor
34
Thank You
35
Exercise
Q1. What is sensor?
Q2. Explain category 1 sensors.
Q3. Explain category 2 sensors.
Q4. Explain accelerometer sensor.
Q5. Explain gravity sensor.
Q6. Explain gyroscope.
Q7. Explain proximity sensor.
Q8. Accelerometer is a
Q9. Orientation sensor is a
36
Q10. Most of the sensors use the same
Q11. Acceleration is measured on
Q12. Measures the rate of rotation (angular speed) around an axis
Q13. It is usually used by mobile device to determine how far a person’s head is from the face of a handset
37