SlideShare a Scribd company logo
1 of 13
Sensors
Overview
• Most Android-powered devices have built-in
sensors that measure motion, orientation, and
various environmental conditions. These sensors
are capable of providing raw data with high
precision and accuracy, and are useful if you
want to monitor three-dimensional device
movement or positioning, or you want to
monitor changes in the ambient environment
near a device
The Android platform supports three
broad categories of sensors:
• Motion Sensor
• Environmental sensors
• Position sensors
• Motion Sensors
-These sensors measure acceleration forces and
rotational forces along three axes. This category
includes accelerometers, gravity sensors,
gyroscopes, and rotational vector sensors.
• Environmental sensors
-These sensors measure various environmental
parameters, such as ambient air temperature and
pressure, illumination, and humidity. This
category includes barometers, photometers, and
thermometers.
• Position sensors
-These sensors measure the physical position of a
device. This category includes orientation sensors
and magnetometers.
Main Topic
• Base Sensors
• Gyroscope
• Heart rate
• Light
Base Sensors
• Base sensor types are named after the physical
sensors they represent.
• These sensors relay data from a single physical
sensor (as opposed to composite sensors that
generate data out of other sensors).
• Base sensors are not equal to and should not be
confused with their underlying physical sensor.
• Examples of base sensor types include:
 SENSOR_TYPE_ACCELEROMETER
 SENSOR_TYPE_GYROSCOPE
 SENSOR_TYPE_MAGNETOMETER
Gyroscope
• A gyroscope sensor reports the rate of rotation of the device
around the 3 sensor axes.
• Allows the device to rotate the screen from portrait to
landscape when you turn your phone as well as use the device
orientation as a controller for games.
• The readings are calibrated using:
 temperature compensation
 factory (or online) scale compensation
 online bias calibration (to remove drift)
• The gyroscope also reports how accurate it expects its
readings to be through sensors_event_t.gyro.status.
• The gyroscope cannot be emulated based on magnetometers
and accelerometers, as this would cause it to have reduced
local consistency and responsiveness. It must be based on a
usual gyroscope chip
Heart rate
int TYPE_HEART_RATEA
• Constant describing a heart rate monitor.
• A heart rate sensor reports the current heart rate
of the person touching the device.
• The reported value is the heart rate in beats per
minute.
• The reported accuracy represents the status of
the monitor during the reading.
Light
• A constant describing a light sensor type.
• A light sensor reports the current illumination in
SI lux units.
• Measures how bright the ambient light is.
• The measurement is reported
in sensors_event_t.light.
• The phone's softwareuses this data to adjust the
display's brightness automatically – when
ambient light is plentiful, the screen's brightness
is pumped up, and when it is dark, the display is
dimmed down. An interesting fact is that high-
end Samsung Galaxy phones use an advanced
light sensor that can measure white, red, green,
and blue light independently. And that's not
overkill. In fact, the Adapt Display feature uses
this data to fine tune image representation.
references
• https://developer.android.com/reference/andro
id/hardware/Sensor.html
• https://www.phonearena.com/news/Did-you-
know-how-many-different-kinds-of-sensors-go-
inside-a-smartphone_id57885

More Related Content

What's hot

Introduction to physics
Introduction to physicsIntroduction to physics
Introduction to physicsCk Sal
 
Sensors used in automobiles
Sensors used in automobilesSensors used in automobiles
Sensors used in automobilesSiju Abraham
 
Survey Total Station- IV
Survey Total Station- IVSurvey Total Station- IV
Survey Total Station- IVOpenmaps
 
9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTU
9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTU9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTU
9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTUVATSAL PATEL
 
Android sensors
Android sensorsAndroid sensors
Android sensorsdatta_jini
 
Powerpoint presentation for data logging
Powerpoint presentation for data loggingPowerpoint presentation for data logging
Powerpoint presentation for data loggingSufinah Ensian
 
Advance surveying equipments
Advance surveying equipmentsAdvance surveying equipments
Advance surveying equipmentsSuryaom Tiwari
 
Automatic weather station
Automatic weather stationAutomatic weather station
Automatic weather stationabhishekabhi123
 
Working with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsWorking with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsMalin De Silva
 
SENSORS IN AUTOMOBILES
SENSORS IN AUTOMOBILESSENSORS IN AUTOMOBILES
SENSORS IN AUTOMOBILESvishal gupta
 
Modern surveying instruments
Modern surveying instrumentsModern surveying instruments
Modern surveying instrumentsAditya Mistry
 

What's hot (20)

Tot.st 1
Tot.st 1Tot.st 1
Tot.st 1
 
Introduction to physics
Introduction to physicsIntroduction to physics
Introduction to physics
 
Sensors used in automobiles
Sensors used in automobilesSensors used in automobiles
Sensors used in automobiles
 
Inertial sensors
Inertial sensors Inertial sensors
Inertial sensors
 
MMR sensor
MMR sensorMMR sensor
MMR sensor
 
Survey Total Station- IV
Survey Total Station- IVSurvey Total Station- IV
Survey Total Station- IV
 
9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTU
9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTU9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTU
9. MORDAN SURVEYING INSTRUMENTS (SUR) 3140601 GTU
 
Imu sensors
Imu sensorsImu sensors
Imu sensors
 
Android sensors
Android sensorsAndroid sensors
Android sensors
 
Powerpoint presentation for data logging
Powerpoint presentation for data loggingPowerpoint presentation for data logging
Powerpoint presentation for data logging
 
Advance surveying equipments
Advance surveying equipmentsAdvance surveying equipments
Advance surveying equipments
 
Automatic weather station
Automatic weather stationAutomatic weather station
Automatic weather station
 
Working with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsWorking with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and maps
 
measurement of speed
measurement of speedmeasurement of speed
measurement of speed
 
Robotic Sensor
Robotic SensorRobotic Sensor
Robotic Sensor
 
Sun Tracker
Sun TrackerSun Tracker
Sun Tracker
 
Sensors
SensorsSensors
Sensors
 
SENSORS IN AUTOMOBILES
SENSORS IN AUTOMOBILESSENSORS IN AUTOMOBILES
SENSORS IN AUTOMOBILES
 
Modern surveying instruments
Modern surveying instrumentsModern surveying instruments
Modern surveying instruments
 
Surveying
Surveying Surveying
Surveying
 

Similar to Base sensor

Similar to Base sensor (20)

Sensors 9
Sensors   9Sensors   9
Sensors 9
 
Industrial-instrumentation.pptx
Industrial-instrumentation.pptxIndustrial-instrumentation.pptx
Industrial-instrumentation.pptx
 
Robotics unit3 sensors
Robotics unit3 sensorsRobotics unit3 sensors
Robotics unit3 sensors
 
roboticsunit3sensors and -201013084413.pptx
roboticsunit3sensors and -201013084413.pptxroboticsunit3sensors and -201013084413.pptx
roboticsunit3sensors and -201013084413.pptx
 
acceleration and velocity sensor .pptx
acceleration and velocity sensor .pptxacceleration and velocity sensor .pptx
acceleration and velocity sensor .pptx
 
dynamic characterstics of transducer.pptx
dynamic characterstics of transducer.pptxdynamic characterstics of transducer.pptx
dynamic characterstics of transducer.pptx
 
DSR_Unit-5_Sensors.pptx
DSR_Unit-5_Sensors.pptxDSR_Unit-5_Sensors.pptx
DSR_Unit-5_Sensors.pptx
 
Sensor Transmitter & Its types 22.pptx
Sensor Transmitter & Its types  22.pptxSensor Transmitter & Its types  22.pptx
Sensor Transmitter & Its types 22.pptx
 
op.pptx
op.pptxop.pptx
op.pptx
 
Sensor's inside
Sensor's insideSensor's inside
Sensor's inside
 
Sensors in IOT
Sensors in IOTSensors in IOT
Sensors in IOT
 
IoT Sensing and Actuation.pdf
 IoT Sensing and Actuation.pdf IoT Sensing and Actuation.pdf
IoT Sensing and Actuation.pdf
 
omega ppt 1.new.pptx
omega ppt 1.new.pptxomega ppt 1.new.pptx
omega ppt 1.new.pptx
 
Week12.pdf
Week12.pdfWeek12.pdf
Week12.pdf
 
Sensing & Actuation.pptx
Sensing & Actuation.pptxSensing & Actuation.pptx
Sensing & Actuation.pptx
 
Mobile Sensors
Mobile SensorsMobile Sensors
Mobile Sensors
 
Sensors and Transducers (1).pdf
Sensors and Transducers (1).pdfSensors and Transducers (1).pdf
Sensors and Transducers (1).pdf
 
Tk2323 lecture 10 sensor
Tk2323 lecture 10   sensorTk2323 lecture 10   sensor
Tk2323 lecture 10 sensor
 
Sensors - Aniket.pptx
Sensors - Aniket.pptxSensors - Aniket.pptx
Sensors - Aniket.pptx
 
Smart Phone Sensor
Smart Phone SensorSmart Phone Sensor
Smart Phone Sensor
 

Recently uploaded

9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7Pooja Nehwal
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceanilsa9823
 
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...wyqazy
 
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...Niamh verma
 
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝soniya singh
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceanilsa9823
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Pooja Nehwal
 

Recently uploaded (7)

9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
 
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
 
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
 
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
 

Base sensor

  • 2. Overview • Most Android-powered devices have built-in sensors that measure motion, orientation, and various environmental conditions. These sensors are capable of providing raw data with high precision and accuracy, and are useful if you want to monitor three-dimensional device movement or positioning, or you want to monitor changes in the ambient environment near a device
  • 3. The Android platform supports three broad categories of sensors: • Motion Sensor • Environmental sensors • Position sensors
  • 4. • Motion Sensors -These sensors measure acceleration forces and rotational forces along three axes. This category includes accelerometers, gravity sensors, gyroscopes, and rotational vector sensors.
  • 5. • Environmental sensors -These sensors measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity. This category includes barometers, photometers, and thermometers.
  • 6. • Position sensors -These sensors measure the physical position of a device. This category includes orientation sensors and magnetometers.
  • 7. Main Topic • Base Sensors • Gyroscope • Heart rate • Light
  • 8. Base Sensors • Base sensor types are named after the physical sensors they represent. • These sensors relay data from a single physical sensor (as opposed to composite sensors that generate data out of other sensors). • Base sensors are not equal to and should not be confused with their underlying physical sensor. • Examples of base sensor types include:  SENSOR_TYPE_ACCELEROMETER  SENSOR_TYPE_GYROSCOPE  SENSOR_TYPE_MAGNETOMETER
  • 9. Gyroscope • A gyroscope sensor reports the rate of rotation of the device around the 3 sensor axes. • Allows the device to rotate the screen from portrait to landscape when you turn your phone as well as use the device orientation as a controller for games. • The readings are calibrated using:  temperature compensation  factory (or online) scale compensation  online bias calibration (to remove drift) • The gyroscope also reports how accurate it expects its readings to be through sensors_event_t.gyro.status. • The gyroscope cannot be emulated based on magnetometers and accelerometers, as this would cause it to have reduced local consistency and responsiveness. It must be based on a usual gyroscope chip
  • 10. Heart rate int TYPE_HEART_RATEA • Constant describing a heart rate monitor. • A heart rate sensor reports the current heart rate of the person touching the device. • The reported value is the heart rate in beats per minute. • The reported accuracy represents the status of the monitor during the reading.
  • 11. Light • A constant describing a light sensor type. • A light sensor reports the current illumination in SI lux units. • Measures how bright the ambient light is. • The measurement is reported in sensors_event_t.light.
  • 12. • The phone's softwareuses this data to adjust the display's brightness automatically – when ambient light is plentiful, the screen's brightness is pumped up, and when it is dark, the display is dimmed down. An interesting fact is that high- end Samsung Galaxy phones use an advanced light sensor that can measure white, red, green, and blue light independently. And that's not overkill. In fact, the Adapt Display feature uses this data to fine tune image representation.

Editor's Notes

  1. For example, a game might track readings from a device's gravity sensor to infer complex user gestures and motions, such as tilt, shake, rotation, or swing. Likewise, a weather application might use a device's temperature sensor and humidity sensor to calculate and report the dewpoint, or a travel application might use the geomagnetic field sensor and accelerometer to report a compass bearing.