Tizen Sensors (Tizen Ver. 2.3)

Similar documents
Spring Lecture 9 Lecturer: Omid Jafarinezhad

Tizen OAL Interface & Sensor

Tizen Overview (Tizen Ver. 2.3)

Android System Development Day - 3. By Team Emertxe

Use of ISP1880 Accelero-Magnetometer, Temperature and Barometer Sensor

CrossWorks Device Library

Machine Learning for the Quantified Self. Lecture 2 Basic of Sensory Data

SH-2 Reference Manual

Game Application Using Orientation Sensor

Cross-Domain Development Kit XDK110 Platform for Application Development

HCOMM Reference Manual

LPMS-CU2 Quick Start Guide ver. 1.2

XDK HARDWARE OVERVIEW

V ARIENSE SENSE Y O UR W ORLD. Inertial Measurement Unit VMU931. User Guide. Version 1.3. March VARIENSE INC.

LPMS-CU2 Quick Start Guide ver. 1.3

Movit System G1 WIRELESS MOTION DEVICE SYSTEM

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface.

MoViSign: A novel authentication mechanism using mobile virtual signatures

Xin Pan. CSCI Fall

Mio- x AHRS. Attitude and Heading Reference System. Engineering Specifications

Inertial Measurement Units I!

LPMS-UTTL2 Quick Start Guide ver. 1.3

This was written by a designer of inertial guidance machines, & is correct. **********************************************************************

MOBILE COMPUTING 2/13/18. Mobile Sensing. Sensors & Sensing. CSE 40814/60814 Spring 2018

EE 570: Location and Navigation: Theory & Practice

HTTP Communication on Tizen (Tizen Ver. 2.3)

AC : THE INERTIAL NAVIGATION UNIT: TEACHING NAVIGATION PRINCIPLES USING A CUSTOM DESIGNED SENSOR PACKAGE

UM2220. Getting started with MotionFX sensor fusion library in X-CUBE-MEMS1 expansion for STM32Cube. User manual. Introduction

IMU06WP. What is the IMU06?

Autonomous Navigation for Flying Robots

LPMS-B Reference Manual

HTTP Communication on Tizen

File Upload & Download (Tizen Ver. 2.3)

CrowdSignals Platform

Windows Phone Week5 Tuesday -

Handout. and. brief description. Marine Gravity Meter KSS 32- M

Me 3-Axis Accelerometer and Gyro Sensor

Navigational Aids 1 st Semester/2007/TF 7:30 PM -9:00 PM

navigation Isaac Skog

Real-Time GIS: The Internet of Things (IoT)

LPMS-RS232AL2 Quick Start Guide ver. 1.2

Satellite Attitude Determination

LPMS-B Reference Manual

Selection and Integration of Sensors Alex Spitzer 11/23/14

2-Axis Brushless Gimbal User Manual

DYNAMIC POSITIONING CONFERENCE September 16-17, Sensors

SE 3S03 - Tutorial 1. Zahra Ali. Week of Feb 1, 2016

Tap Position Inference on Smart Phones

3DM-GX5-25 Attitude Heading Reference System (AHRS)

ECV ecompass Series. Technical Brief. Rev A. Page 1 of 8. Making Sense out of Motion

QuickLogic TAG-N System User Manual

Aaronia GPS Logger Programming Guide

Accelerometer user manual

Sensor-fusion Demo Documentation

Sphero Lightning Lab Cheat Sheet

Track 3: Smartphone-based (off-site)

Working with Sensors & Internet of Things

Test Report iµvru. (excerpt) Commercial-in-Confidence. imar Navigation GmbH Im Reihersbruch 3 D St. Ingbert Germany.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

Camera Drones Lecture 2 Control and Sensors

GPS + Inertial Sensor Fusion

The Data may not be disclosed or distributed to third parties, in whole or in part, without the prior written consent of Motion Workshop.

MAD Gaze x HKCS. Best Smart Glass App Competition Developer Guidelines VERSION 1.0.0

GEOG 4110/5100 Advanced Remote Sensing Lecture 4

Testing the Possibilities of Using IMUs with Different Types of Movements

CHAPTER 2 SENSOR DATA SIMULATION: A KINEMATIC APPROACH

CyberAtom X-202 USER MANUAL. Copyrights Softexor 2015 All Rights Reserved.

EMBEDDED SYSTEMS PROGRAMMING Accessing Hardware

Tizen 2.3 TBT User Guide

( 83P UDP/IP Ethernet Datagram,.83P File Format )

Camera and Inertial Sensor Fusion

Design and Implementation of Somatosensory Teaching Pendant System Based on Android Platform

Inertial Navigation Static Calibration

FACULTY OF SCIENCE AND TECHNOLOGY

ASPRS LiDAR SPRS Data Exchan LiDAR Data Exchange Format Standard LAS ge Format Standard LAS IIT Kanp IIT Kan ur

ITP 342 Mobile App Dev. Accelerometer Gyroscope

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY (BUET) DHAKA TECHNICAL SPECIFICATION FOR SUPPLY AND INSTALLATION OF LABORATORY EQUIPMENTS (PKG1).

CMMotionManager Overview

Motion Reference Unit MRU-B, MRU-E

Arduino meets Android Creating Applications with Bluetooth, Orientation Sensor, Servo, and LCD

Tizen Framework (Tizen Ver. 2.3)

Managerial Design Review - Senior Design II

Measurement of Deformations by MEMS Arrays, Verified at Sub-millimetre Level Using Robotic Total Stations

UM2192. Getting started with MotionMC magnetometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

Calibration of Inertial Measurement Units Using Pendulum Motion

Vehicle s Kinematics Measurement with IMU

Binoculars. with. Digital Compass. Instruction Manual. Model: Lit. #: /08-12

Client-side Optimizations for Mobile Publish Subscribe Systems. Kimberly L Toy

EMBEDDED SYSTEMS AND MOBILE SYSTEMS

Symbisa HY Data Sheet. Highlights. IoT sensor device with Global coverage

Topics Related. SensorManager & Sensor SensorEvent & SensorEventListener Filtering Sensor Values Example applications

Quaternion Kalman Filter Design Based on MEMS Sensors

Brief Intro on Mobile Platforms and Dev. Tools

An Intro to Gyros. FTC Team #6832. Science and Engineering Magnet - Dallas ISD

USER MANUAL. Specifications. 0.1 m/s for wind speed degrees for wind direction -30 C to +80 C for temperature

Sensor & SensorManager SensorEvent & SensorEventListener Filtering sensor values Example applications

2011 FIRST Robotics Competition Sensor Manual

Accelerating Innovative Design Using Low-Cost Hardware Andrew Bennett

LPMS Reference Manual

Interaction with the Physical World

Transcription:

Tizen Sensors (Tizen Ver. 2.3) Spring 2015 Soo Dong Kim, Ph.D. Professor, Department of Computer Science Software Engineering Laboratory Soongsil University Office 02-820-0909 Mobile 010-7392-2220 sdkim777@gmail.com http://soft.ssu.ac.kr 1

Unit 6-1. Sensors of Tizen Ver. 2.3 Specification 2

Sensor List of Tizen Ver. 2.3 Accelerometer Sensor Light Sensor Gravity Sensor Linear Accelerometer Sensor Magnetic Sensor Rotation Vector Sensor Orientation Sensor Gyroscope Sensor Proximity Sensor Pressure Sensor Ultraviolet Sensor Temperature Sensor Humidity Sensor GPS Sensor 3

Functionality Accelerometer Sensor To measure the device's accelerometer vector in 3 axes relative to its body frame Contexts Acquired Measurement Type Range Unit X Float Min value = -19.6 Max value = 19.6 Y Float Min value = -19.6 Max value = 19.6 Z Float Min value = -19.6 Max value = 19.6 m/s 2 m/s 2 m/s 2 4

Functionality Gravity Sensor To measure the vector components of gravity when the device is at rest or moving slowly Contexts Acquired Measurement Type Range Unit X Float Min value = -19.6 Max value = 19.6 Y Float Min value = -19.6 Max value = 19.6 Z Float Min value = -19.6 Max value = 19.6 m/s 2 m/s 2 m/s 2 5

Functionality Linear Accelerometer Sensor To measure user-driven changes in velocity without considering the gravity value Contexts Acquired Measurement Type Range Unit X Float Min value = -19.6 Max value = 19.6 Y Float Min value = -19.6 Max value = 19.6 Z Float Min value = -19.6 Max value = 19.6 m/s 2 m/s 2 m/s 2 6

Functionality Magnetic Sensor To measure magnetic field strength and fluctuations, and splits the measurement into X, Y, and Z components Contexts Acquired Measurement Type Unit X Float μt (micro Tesla) Y Float μt (micro Tesla) Z Float μt (micro Tesla) 7

Functionality Rotation Vector Sensor To represents the orientation of the device as a combination of an angle and an axis Contexts Acquired Measurement Type Range X Float Min value = -1 Max value = 1 Y Float Min value = -1 Max value = 1 Z Float Min value = -1 Max value = 1 W Float Min value = -1 Max value = 1 8

Functionality Orientation Sensor To combines the 3-axis accelerometer sensor and 3-axis magnetic sensor to determine the angular positions Contexts Acquired Measurement Type Range Unit Azimuth Float Min value = 0 Max value = 360 Pitch Float Min value = -180 Max value = 180 Roll Float Min value = -180 Max value = 180 Degrees ( ) Degrees ( ) Degrees ( ) 9

Functionality Gyroscope Sensor To detect angular velocity, which is calculated using the measurement data retrieved from a 3-axis gyroscope Contexts Acquired Measurement Type Range Unit X Float Min value = -573.0 Max value = 573.0 Y Float Min value = -573.0 Max value = 573.0 Z Float Min value = -573.0 Max value = 573.0 Degrees/s ( /s) Degrees/s ( /s) Degrees/s ( /s) 10

Functionality Light Sensor To detect the brightness of ambient light Contexts Acquired Measurement Type Range Unit Level Float Min value = 0 Max value = 45875 Lux 11

Functionality Proximity Sensor To detect the presence of nearby objects Contexts Acquired Measurement Type Range Unit Proximity Float - - 12

Functionality Pressure Sensor To measure pressure, typically the pressure of gases or liquids Contexts Acquired Measurement Type Range Unit Pressure Float Min value = 260 Max value = 1260 hpa 13

Functionality Ultraviolet Sensor To measure the ultraviolet index Contexts Acquired Measurement Type Range Unit UV Index Float Min value = 0 Max value = 15 uv index 14

Functionality Temperature Sensor To measure the temperature, just like a thermometer. Contexts Acquired Measurement Type Range Unit Temperature Float Min value = -30 Max value = 100 15

Functionality To measure Humidity Contexts Acquired Humidity Sensor Measurement Type Range Unit Humidity Float Min value = 0 Max value = 100 % 16

Functionality GPS Sensor To retrieve the current location of the device user Context Acquired Measurement Type Latitude double Longitude double 17

Unit 6-2. Sensors of Tizen Devices 18

List of Sensors in Samsung Z1 Accelerometer Sensor GPS Sensor 19

Required Header File sensor.h Accelerometer Sensor (1) sensor_create_listener () To create a sensor listener Parameters Type Name Description sensor_h sensor The sensor handle sensor_listener_h* listener The new listener handle Return 0 on success, otherwise a negative error value 20

Accelerometer Sensor (2) sensor_listener_set_event_cb () To register a callback function to be invoked when a sensor event occurs Parameters Return Type Name Description sensor_listener_h listener The sensor handle unsigned int interval_ms The interval at which sensor events are delivered sensor_event_cb callback The callback function to register void* data The user data to be passed to the callback function 0 on success, otherwise a negative error value 21

Accelerometer Sensor (3) sensor_listener_start () To start the sensor server for the given listener Parameter Type Name Description sensor_listener_h listener The listener handle Return 0 on success, otherwise a negative error value 22

Code Examples Accelerometer Sensor (4) To define a callback function for the accelerometer sensor void on_sensor_event(sensor_h sensor, sensor_event_s *event, void *user_data) { sensor_type_e type; sensor_get_type(sensor, &type); switch (type) { case SENSOR_ACCELEROMETER: // Codes go here. } } To register the callback function and start a sensor listener sensor_h sensor; sensor_listener_h listener; sensor_get_default_sensor(sensor_accelerometer, &sensor); sensor_create_listener (sensor, &listener); // Creates a sensor listener sensor_listener_set_event_cb( // Registers the callback function listener, 100, on_sensor_event, user_data); sensor_listener_start(listener); // Starts sensing 23

Required Header File locations.h location_manager_create() GPS Sensor (1) To create a new location manager Parameters Type Name Description location_method_e method The location method location_manager.h* manager The new location manager handle Return 0 on success otherwise a negative error value 24

GPS Sensor (2) location_manager_set_position_updated_cb () To register a callback function to be invoked at defined interval with updated position information Parameters Return Type Name Description location_manager_h manager The location manager handle location_position_updated_cb callback The callback function to register int interval The interval [1 ~ 120] (seconds) void* user_data The user data to be passed to the callback function 0 on success, otherwise a negative error value 25

location_manager_start () To start the location service Parameter GPS Sensor (3) Type Name Description location_manager_h manager The location manager handle Return 0 on success, otherwise a negative error value 26

Code Examples GPS Sensor (4) To define a callback function the GPS sensor static void _state_changed_cb(location_service_state_e state, void *user_data) { double latitude, longitude; time_t timestamp; } if (state == LOCATIONS_SERVICE_ENABLED) { // Codes go here. } To register the callback function and start a sensor listener location_manager_h manager; // Creates a location manager location_manager_create(locations_method_gps, &manager); // Registers a callback function to the manager location_manager_set_service_state_changed_cb(manager, _state_changed_cb, NULL); // Starts the manager location_manager_start(manager); 27

Thank You! 28