Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake...

62
MOOC on M4D 2013 SENSORS ON ANDROID PHONES Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver

Transcript of Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake...

Page 1: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

SENSORS ON ANDROID PHONES

Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver

Page 2: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Keerthi Kumar

Samsung Semiconductors

Page 3: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Keerthi Kumar

IIT Kanpur

Page 4: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Keerthi Kumar

Page 5: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Overview

• What are sensors?

• What are the different types of sensors present on current smartphones?

• What these sensors do?

• And how you can use them?

Page 6: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

What are sensors?

• Hardware in a device to feed in data from the physical world

• Apps use data from these sensors to do various things

Page 7: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Keep your phones handy!

Page 8: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Types of Sensors

• Location Sensors

• Position Sensors

• Motion Sensors

• Environmental Sensors

Page 9: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Types of Sensors

• Location Sensors

• Position Sensors

• Motion Sensors

• Environmental Sensors

Page 10: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Types of Sensors

• Location Sensors

• Position Sensors

• Motion Sensors

• Environmental Sensors

Page 11: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Types of Sensors

• Location Sensors

• Position Sensors

• Motion Sensors

• Environmental Sensors

Page 12: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Types of Sensors

• Location Sensors

• Position Sensors

• Motion Sensors

• Environmental Sensors

Page 13: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Page 14: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Sensors

• These sensors give you the location of your device.

• Precision of the location changes with the different sensor

• Wi-Fi

• Cell-ID

• GPS

Page 15: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Sensors

• These sensors give you the location of your device.

• Precision of the location changes with the different sensor

• Wi-Fi

• Cell-ID

• GPS

Page 16: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Sensors

• These sensors give you the location of your device.

• Precision of the location changes with the different sensor

• Wi-Fi

• Cell-ID

• GPS

Page 17: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Sensors

• These sensors give you the location of your device.

• Precision of the location changes with the different sensor

• Wi-Fi

• Cell-ID

• GPS

Page 18: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Location Reports the current geographical location of your device and the nearby places

• Tracking

– Social Tracking • GPS Tracking Pro

– Sports Tracking • Sports Tracker

– Device Tracking • Android Device Manager

Page 19: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Location Reports the current geographical location of your device and the nearby places

• Tracking

– Social Tracking • GPS Tracking Pro

– Sports Tracking • Sports Tracker

– Device Tracking • Android Device Manager

App: Google Maps

Page 20: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Location Reports the current geographical location of your device and the nearby places

• Tracking

– Social Tracking • GPS Tracking Pro

– Sports Tracking • Sports Tracker

– Device Tracking • Android Device Manager

App: Google Maps

Page 21: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Location Reports the current geographical location of your device and the nearby places

• Tracking

– Social Tracking • GPS Tracking Pro

– Sports Tracking • Sports Tracker

– Device Tracking • Android Device Manager

App: Google Maps

Page 22: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Navigation Gives you directions to any place you want to reach, and navigates you through the way

Page 23: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Navigation Gives you directions to any place you want to reach, and navigates you through the way

App: Google Maps

Page 24: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Tracking

Track the location of the device

Page 25: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Tracking

Track the location of the device

• Apps: – Social Tracking

• GPS Tracking Pro – Sports Tracking

• Sports Tracker – Device Tracking

• Android Device Manager

Page 26: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Tracking

Track the location of the device

• Apps: – Social Tracking

• GPS Tracking Pro – Sports Tracking

• Sports Tracker – Device Tracking

• Android Device Manager

Page 27: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Tracking

Track the location of the device

• Apps: – Social Tracking

• GPS Tracking Pro – Sports Tracking

• Sports Tracker – Device Tracking

• Android Device Manager

Page 28: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Location Services

• Tracking

Track the location of the device

• Apps: – Social Tracking

• GPS Tracking Pro – Sports Tracking

• Sports Tracker – Device Tracking

• Android Device Manager

Page 29: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Position Sensors

• These sensors sense the position of the device

Page 30: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Position Sensors

• Orientation Sensor – Determines if the device is in landscape or the portrait mode

Page 31: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Position Sensors

• Orientation Sensor – Determines if the device is in landscape or the portrait mode

• Apps:

– Video Player – Browser

Page 32: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Position Sensors

• Proximity Sensor – Detects the presence of nearby objects

Page 33: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Position Sensors

• Proximity Sensor – Detects the presence of nearby objects

• Apps:

– Phone App – Proximity Actions

Page 34: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Motion Sensors

These sensors measure the movement of the device in multiple directions

Page 35: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Motion Sensors

• Accelerometer or Gyroscope – Games (Ex. NFS Most Wanted) – Google Sky – Seismo

Page 36: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Motion Sensors

• Accelerometer or Gyroscope – Games (Ex. NFS Most Wanted) – Google Sky – Seismo

Page 37: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Motion Sensors

• Accelerometer or Gyroscope – Games (Ex. NFS Most Wanted) – Google Sky – Seismo

Page 38: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Motion Sensors

• Accelerometer or Gyroscope – Games (Ex. NFS Most Wanted) – Google Sky – Seismo

Page 39: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Motion Sensors

• Accelerometer or Gyroscope – Games (Ex. NFS Most Wanted) – Google Sky – Seismo

• “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy

Page 40: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Environmental Sensors

These sensors measure the ambient conditions of the device

Page 41: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Environmental Sensors

• Ambient Temperature – Thermo

• Ambient Light – Screen Brightness

• Atmospheric Pressure – Barometer

• Relative Humidity – Ambient Temperature & Humidity

• Magnetic Field – Metal Detector

Page 42: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Environmental Sensors

• Ambient Temperature – Thermometer

• Ambient Light – Screen Brightness

• Atmospheric Pressure – Barometer

• Relative Humidity – Humidity

• Magnetic Field – Metal Detector

Page 43: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Environmental Sensors

• Ambient Temperature – Thermometer

• Ambient Light – Screen Brightness

• Atmospheric Pressure – Barometer

• Relative Humidity – Humidity

• Magnetic Field – Metal Detector

Page 44: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Environmental Sensors

• Ambient Temperature – Thermometer

• Ambient Light – Screen Brightness

• Atmospheric Pressure – Barometer

• Relative Humidity – Humidity

• Magnetic Field – Metal Detector

Page 45: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Environmental Sensors

• Ambient Temperature – Thermometer

• Ambient Light – Screen Brightness

• Atmospheric Pressure – Barometer

• Relative Humidity – Humidity

• Magnetic Field – Metal Detector

Page 46: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Environmental Sensors

• Ambient Temperature – Thermometer

• Ambient Light – Screen Brightness

• Atmospheric Pressure – Barometer

• Relative Humidity – Humidity

• Magnetic Field – Metal Detector

Page 47: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

• Microphone

Shazam Song identification

Page 48: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 49: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 50: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 51: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 52: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 53: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 54: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 55: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 56: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Miscellaneous Sensors • Camera

– QR Code Scanner • Instant web links

– Google Goggles • Image search

– Instant Heart Rate • Heart rate monitor

– Smart Measure • Measure height and distance

• Microphone – Shazam

• Song identification

Page 57: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Let your imagination fly!

• AndroSensor • Android Sensor Box • Tasker

Page 58: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Let your imagination fly!

• AndroSensor • Android Sensor Box • Tasker

Page 59: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Let your imagination fly!

• AndroSensor • Android Sensor Box • Tasker

Page 60: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Let your imagination fly!

• AndroSensor • Android Sensor Box • Tasker

Page 61: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

Keep your phones handy!

Page 62: Indian Institute of Technology Kanpur Commonwealth of ... · • “Smartphones as Earthquake Sensors” - National Institute of Geophysics and Volcanology, Italy. MOOC on M4D 2013

MOOC on M4D 2013

THANK YOU