Sensors and Cellphones



Similar documents
Tracking devices. Important features. 6 Degrees of freedom. Mechanical devices. Types. Virtual Reality Technology and Programming

Robot Sensors. Outline. The Robot Structure. Robots and Sensors. Henrik I Christensen

Synthetic Sensing: Proximity / Distance Sensors

Robot Perception Continued

A Review of Security System for Smart Home Applications

Understanding Alarm Systems

ACTIVE INFRARED MOTION DETECTOR FOR HOUSE SECURITY SYSTEM MIOR MOHAMMAD HAFIIZH BIN ABD. RANI UNIVERSITI MALAYSIA PAHANG

Effective Use of Android Sensors Based on Visualization of Sensor Information

Precision Miniature Load Cell. Models 8431, 8432 with Overload Protection

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

UNIVERSITY OF CALICUT

SENSORS ON ANDROID PHONES. Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver

Collided Vehicle Position Detection using GPS & Reporting System through GSM

Hand Gestures Remote Controlled Robotic Arm

Sensors Collecting Manufacturing Process Data

Physics 9e/Cutnell. correlated to the. College Board AP Physics 1 Course Objectives

Technical Article. Gesture Sensors Revolutionize User Interface Control. By Dan Jacobs

Keys to understanding your alarm system

REAL TIME MONITORING AND TRACKING SYSTEM FOR AN ITEM USING THE RFID TECHNOLOGY

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II)

Android Sensors. XI Jornadas SLCENT de Actualización Informática y Electrónica

E190Q Lecture 5 Autonomous Robot Navigation

PHOTOELECTRIC EFFECT AND DUAL NATURE OF MATTER AND RADIATIONS

Frequently Asked Questions (FAQs)

USER MANUAL V5.0 ST100

Ch 25 Chapter Review Q & A s

GPS Vehicle and personal location tracker. User manual

Robotics. Lecture 3: Sensors. See course website for up to date information.

Tutorial 1. Introduction to robot

W07 Sensors and Measurement (1/2) Yrd. Doç. Dr. Aytaç Gören

1 de 13. Kit de 37 sensores compatibles con Arduino

Overview. 1. GPS data tracking via GSM SMS / GPRS. 2. GPS data logging in internal memory. 3. Alarm alert via GSM SMS / Dialing / GPRS

COLLATED QUESTIONS: ELECTROMAGNETIC RADIATION

INTRUSION ALARM SYSTEM

Module 1: Sensor Data Acquisition and Processing in Android

Overview. Components of an alarm system Technology behind the equipment Communication Platforms Industry Terminology False Alarm Tips DSC products

Overview of the Telecommunications Network

Android Concepts and Programming TUTORIAL 1

Sensors & Motion Sensors in Android platform. Minh H Dang CS286 Spring 2013

Instruction Manual Service Program ULTRA-PROG-IR

Hardware Connections between Arduino and IMU Nori Wilkins Apr. 5, 2013

Vehicle data acquisition using CAN By Henning Olsson, OptimumG

AS COMPETITION PAPER 2008

Charged cable event. 1 Goal of the ongoing investigation. 2 Energy sources for the CDE. Content

Multiple Choice For questions 1-10, circle only one answer.

AP1 Waves. (A) frequency (B) wavelength (C) speed (D) intensity. Answer: (A) and (D) frequency and intensity.

Introduction to acoustic imaging

Touch Screen Technology. Taking apart a tablet

INFRARED PARTS MANUAL

BURGLAR ALARM SYSTEMS BURGLAR ALARM SYSTEMS BURGLAR ALARM SYSTEM EURO ALARM WIRELESS BURGLAR ALARM SYSTEM OASIS

Copyright 2008 Pearson Education, Inc., publishing as Pearson Addison-Wesley.

Your EdVenture into Robotics You re a Programmer

Android Sensor Programming. Weihong Yu

A Guide to IR/PIR Sensor Set-Up and Testing

E0-245: ASP. Lecture 16+17: Physical Sensors. Dipanjan Gope

Blackbody Radiation References INTRODUCTION

Wireless Alarm system s manual

2/26/2008. Sensors For Robotics. What is sensing? Why do robots need sensors? What is the angle of my arm? internal information

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine

Subminiature Load Cell Model 8417

How To Use A Detector 2

Motion Sensing with mcube igyro Delivering New Experiences for Motion Gaming and Augmented Reality for Android Mobile Devices

Sensor Fusion Mobile Platform Challenges and Future Directions Jim Steele VP of Engineering, Sensor Platforms, Inc.

Evolving Bar Codes. Y398 Internship. William Holmes

Cat Detect. for Surface Mining Applications

Sound Pressure Measurement

Principle of Thermal Imaging

HOW TO BUILD A NANORACKS PAYLOAD: NANOLABS

Low Frequency Velocity Sensor

Introduction Ericsson Handheld Telephone 1341-B

PHYS 222 Spring 2012 Final Exam. Closed books, notes, etc. No electronic device except a calculator.

XX. Introductory Physics, High School

v = λ f this is the Golden Rule for waves transverse & longitudinal waves Harmonic waves The golden rule for waves Example: wave on a string Review

Users Manual of GSM Home Alarm System with Photo-taken

Technical data. General specifications. Indicators/operating means. 30 Hz Multiplex operation 30 Hz / n, n = number of sensors, n 5

APPLICATION NOTE AP050830

Cathode Ray Tube. Introduction. Functional principle

Kathy Au Billy Yi Fan Zhou Department of Electrical and Computer Engineering University of Toronto { kathy.au, billy.zhou }@utoronto.

Vehicle and Object Tracking Based on GPS and GSM

IR Communication a learn.sparkfun.com tutorial

Laminar and Turbulent flow. Flow Sensors. Reynolds Number. Thermal flow Sensor. Flow and Flow rate. R = Mass Flow controllers

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

An inertial haptic interface for robotic applications

Android Sensors. CPRE 388 Fall 2015 Iowa State University

Capacitive Touch Technology Opens the Door to a New Generation of Automotive User Interfaces

MSc in Autonomous Robotics Engineering University of York

CLASS TEST GRADE 11. PHYSICAL SCIENCES: PHYSICS Test 3: Electricity and magnetism

Chapter 2: Forms of Energy

MXD7202G/H/M/N. Low Cost, Low Noise ±2 g Dual Axis Accelerometer with Digital Outputs

DSB-100 Portable Premium Bluetooth Speaker Owner s Manual

Free Fall: Observing and Analyzing the Free Fall Motion of a Bouncing Ping-Pong Ball and Calculating the Free Fall Acceleration (Teacher s Guide)

Definitions. A [non-living] physical agent that performs tasks by manipulating the physical world. Categories of robots

Surveillance System Using Wireless Sensor Networks

Understanding the Flo-Dar Flow Measuring System

Objectives. Electric Current

Transcription:

Sensors and Cellphones

What is a sensor? A converter that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument What are some sensors we use every day? Thermometers Radar guns, red light cameras Automatic door openers Cameras GPS

Why are we talking about sensors? Sensors have been used in cellphones since they were invented Microphone, number keys What made smartphones smart? Touchscreens, accelerometers, gyroscopes, GPS, cameras, etc Allowed cellphones explode into different markets R.I.P. Garmin, Tomtom, Kodak. Intel? Instead of carrying around 10 separate devices, now you just need 1

Infrared Sensors Types of Sensors Distance & Range Contain an infrared emitter, and an infrared detector Works by emitting a certain amount of infrared light, and seeing how much it gets back Why infrared? There are not many other infrared sources in everyday life that would interfere with this sensor If visible light were used, light bulbs, computer screens, cellphone screens, etc, would all interfere with the depth reading

Types of Sensors Distance & Range Great at measuring shorter distances (2 30 ) Where do you see these? Touchless Switches (toilets, faucets, etc) Roomba vacuums Kinect Related: Passive Infrared (PIR) Sensors No IR emitter, just detects ambient IR. Detects some normal state (like a wall s IR emissions) and when something moves in front, it detects a change Great for detecting motion (motion sensors for security systems)

Types of Sensors Distance & Range Related: Speed detectors (police radar guns) Microwave radars use the Doppler effect (the return echo from a moving object will be frequency shifted). The greater the target speed, the greater the frequency (Doppler) shift IR/Laser radars send pulses of light, and determine the difference in reflection time between consecutive pulses to determine speed

Types of Sensors Distance & Range Related: Ultrasonic Sensors Contain a high frequency speaker, and a microphone Works just like a sonar, emitting a sound, and listening for the echo to determine range Why is it called ultrasonic? Very high frequency sound, it is barely at the edge of what humans can hear. This is nice since it is not as annoying to use Pros: More accurate than IR sensors at slightly longer distance (typically up to several feet) Cons: Almost twice the price

Types of Sensors Accelerometers/Gyroscopes Accelerometers: Measures change in velocity in axial dimensions (typically 2 or 3 axes) How does it work? The proof mass shown above is allowed to move in a plane. The attached fingers form a capacitor with the two plates around it. The rate of change of the capacitance is measured and translated into an acceleration

Gyroscopes: Types of Sensors Accelerometers/Gyroscopes Measures orientation How does it work? If an object is moving along one axis, and it is rotated above another, it will feel a Coriolis force in the third axial direction A gyroscope will have a mass oscillating back and force along the first axis, and plates on either side of the mass in the third direction (direction of the Coriolis force) When a rotating is detected around the second direction, the capacitance changes Paired with an accelerometer, and you have a full 6-degree of freedom sensor (called an IMU)

Types of Sensors Accelerometers/Gyroscopes Where do you see these? Wii Nunchuks Orientation sensing in smartphones Image Stabilization in cameras Collision detection in cars Pedometers Monitoring equipment for failure (vibrations in ball bearings, etc)

Force Sensing Resistor Types of Sensors Force Sensors Determines when pressure is being applied How does it work? Made of a material called Polymer Thick Film (PTF) When pressure is applied to a PTF, its resistance decreases, which can be easy measured (strain gauge) What is it used for? Robot end-effectors, load and compression sensing, contact sensing (buttons), Joysticks

Types of Sensors Touchscreens 3 types: resistive, capacitive, and surface acoustic wave Resistive: Consists of 2 layers (1 conductive, 1 resistive) held apart by spacers An electric current is constantly sent through the layers When something touches the screen, it causes the two layers to touch, changing the electric current This change can be measured and based on how much it changes, the location of touch can be computed Pro: very cheap, doesn t require the input to be a finger or some other conductive input Con: Since two layers are required, only about 75% of the screen light can get through

Types of Sensors Touchscreens Capacitive: Consists of a single capacitive layer This layer stores a constant charge When something conductive touches the screen, the charge on the screen decreases This change can be measured and based on how much it changes, the location of touch can be computed Pro: Since only 1 layer is required, about 90% of the screen light can get through Con: More expensive than a resistive system. Requires a conductive input device.

Types of Sensors Touchscreens Surface Acoustic Wave: Consists of no metallic layers Uses a transducer placed along the edge of the glass that sends an ultrasonic wave across the glass A receiver on the other end receives the waves When something touches the screen, it disturbs the waves and the position of the disturbance can be computed Pro: 100% of the screen light can get through, making it the right choice for graphics applications Con: Very expensive, and can be messed up if there is dirt or something on the screen

Types of Sensors Localization (GPS) Sensors Used to figure out where you are How do they work? Handheld GPS receivers are passive devices, they don t transmit anything back to the satellites 24 operational GPS satellites at all times, operated by USAF, synchronized using atomic clocks At specific synchronous intervals, they each emit a signal containing their current position and the time of the emission

Types of Sensors Localization (GPS) Sensors A receiver will receive multiple signals from different satellites at different times, depending on the distance to each satellite When it receives a transmission, based on the time it takes to get the packet it can determine how far it is from the satellite It must be on a sphere centered at where the satellite is, with a radius of the distance it just computed Once you have several spheres, the receiver lies at the intersection of those spheres 3 spheres are necessary in 2D, 4 in 3D

Types of Sensors Cameras Helps capture the world around us Won t cover details a whole class coming up on cameras and computer vision Compared to other sensors, collects orders of magnitude more data (a whole image instead of a just a single change in voltage) One of the most impactful sensors, especially when coupled with the cellphone (just look at facebook, instagram, etc)

Types of Sensors Everything Else (just a taste) Switches Contact switches, power switches, etc RFIDs Cheap identification (not so secure) Bluetooth/WiFi/WiDi (communications) Not really a sensor in the traditional sense, but often related, particularly when talking about cellphones Environment sensors: moisture, humidity, temp http://www.pivotmylife.com/products/parts.html http://www.sensorland.com/

A Good Sensor Sensitive to only the measured property Biggest worry here is temperature The sensor itself doesn t influence the measured property Think about dropping a mercury thermometer into a glass of hot water The output should be linearly proportional to the measured value or a simple function of the measured value Sensitivity = ratio of output signal to measured property

A Bad Sensor Drift If the output signal changes independent of the measured property Noise Random deviation of the signal over time Systematic errors (drift) can often be corrected via calibration. Random errors (noise) can be filtered out using signal processing techniques, but these are slow Particularly in the context of mobile devices Anything that consumes a lot of power Costs a lot to produce (small == less material!= cheaper)

Sensors Before

Sensors After

What changed? Smaller Process technology is much better Faster Multi-core chips can now process a lot more sensor data simultaneously Better Sensors are more accurate (e.g. better cameras in smaller spaces) Cheaper Thanks China

Lots of Hardware, so what? Now that you can collect all this data, how do you use it? Application Programming Interfaces (APIs) expose a cellphone s sensors and sensor data to the cellphone programmer The Android Accessory Development Kit (ADK) even provides the ability to add external sensors in a standard way

Sensors on Android Phones Access to the sensors on an Android phone are available through the SensorManager class in the hardware package of the android SDK http://developer.android.com/sdk/ Supports: Accelerometer, Ambient Temperature, Gravity, Gyroscope, Light, Linear Acceleration, Magnetic Field, Orientation, Pressure, Proximity, Relative Humidity, Rotation Vector Not all sensors are present in all phones SensorManager.getSensorList() returns all the ones in your phone

Sensors on Android Phones One thing to note, make sure to disable sensors when you don t need them (such as onpause above), otherwise you will drain your battery fast.

External Sensors on Android Use Android Accessory Development Kit (ADK) http://developer.android.com/guide/topics/us b/adk.html ADK is for hardware development as the SDK is to software development (sets standards) Built on top of Arduino

Arduino http://www.arduino.cc Some pins to connect to a sensor A microcontroller you can program to interpret the data from the sensor Some memory to hold your program A USB port to send it somewhere useful The key is the pins it uses to connect to sensors. Sensor manufacturers recognize these pin standards, so you don t have to deal with all sorts of different communication protocols with interfacing with a sensor