II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

24
PERPUSTAKAAN UMP II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111 AUTOI 00001 03263 USING ACCELEROMETER THESIS SUBMITTED IN FULFILMENT OF THE DEGREE OF COMPUTER SCIENCE (SOFTWARE ENGINEERING) FACULTY OF COMPUTER SYSTEM AND SOFTWARE ENGINEERING UNIVERSITI MALAYSIA PAHANG 2014

Transcript of II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

Page 1: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

PERPUSTAKAAN UMP

II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111 AUTOI

00001 03263

USING ACCELEROMETER

THESIS SUBMITTED IN FULFILMENT OF THE DEGREE OF COMPUTER SCIENCE (SOFTWARE ENGINEERING)

FACULTY OF COMPUTER SYSTEM AND SOFTWARE ENGINEERING

UNIVERSITI MALAYSIA PAHANG

2014

Page 2: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

VI

ABSTRACT

The purpose of this research is to study the technology of mobile accelerometer in mobile zooming feature. Accelerometer is a kind of device that built in mobile device in order to detect motion. Type of accelerometer that built in mobile device is triaxial accelerometer which detects motion based on three different axes, X-axis, Y-axis and Z-axis. In this research, algorithm is developed to track the value changed in Z-axis when user moved the mobile device. The content on the screen of mobile device zoomed in when Z-axis increase, vice versa the content on the screen of mobile device zoomed out when Z-axis decrease. Similar existing systems are studied and compared in order to study the similarity and feasibility of the research. Methodology is deployed and the whole research followed the methodology which starts from planning, analysis, design, implementation, testing and lastly results inspection. In design and implementation, the value of Z-axis is tracked and used in the zooming algorithm. The algorithm is designed to zoom in the photo when the value of Z-axis increase and vice versa. The results are shown and the objectives of this research are met. Advantages, disadvantages and constraints of this research are discussed and explained further in this document. Future work are also explained in detail in order to improve the results of this research. In conclusion, the objectives of this research are met although there are few drawbacks during the development.

Page 3: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

VII

ABSTRAK

Tujuan kajian mi adalah untuk mengkaji teknologi accelerometer dalam telefon bimbit. Accelerometer adalah sejenis peranti yang dibina dalam telefon bimbit untuk mengesan pergerakan. Jenis acceleromter yang dibina pada telefon bimbit adalah acceleromter tiga paksi yang mengesan pergerakan berdasarkan tiga paksi yang berbeza, paksi-X, paksi-Y dan paksi-Z. Dalam kajian mi, algoritma dihasilkan untuk mengesan perubahan nilai dalam paksi-Z apabila pengguna bergerak telefon bimbit. Kandungan pada skrin telefon bimbit dizum dalam apabila nilai paksi-Z meningkat, sebaliknya kandungan pada skrin telefon bimbit dizum keluar apabila nilai paksi-Z menurun. Sistem lain yang serupa telah dikaji dan dibandingkan untuk mengkaji persamaan dan kemungkinan beijaya untuk penyelidikan mi. Metodologi dikerahkan dan penyelidikan mi mengikuti metodologi iaitu bermula dari perancangan, analisis, Teka bentuk, pelaksanaan, pengujian dan alchii sekali pemeriksaan hasil. Dalam reka bentuk dan pelaksanaan, nilai Z-paksi adalah dikesan dan digunakan dalam algoritma zum itu. Algonitma mi direka untuk mengezum masuk foto apabila nilai Z-paksi peningkatn dan sebaliknya. Keputusan dan objektif kajian mi ditunjukkanj dan dipenuhi. Kelebihan, kelemahan dan kekangan kajian mi dibincangkan dan selanjutnya dijelaskan dalam dokumen mi. Kerja masa hadapan adalah juga diterangkan secara terperinci bagi meningkatkan hasil penyelidikan mi. Ksimpu1annya, objektifkajian mi dipenuhi walaupun terdapat beberapa kelemahan.

Page 4: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

VIII

TABLE OF CONTENTS

CHAPTER1 ................................................................................................................. 1 1 .1 INTRODUCTION ............................................................................................................... 1

1.2 BACKGROUND............................................................................................................. 1

1.3 PROBLEM STATEMENTS ........................................................................................... 3 1.4 OBJECTiVES .................................................................................................................. 4 1.5 SCOPES .......................................................................................................................... 4

1.6 THESIS ORGANIZATION............................................................................................ 5

CHAPTER2 ................................................................................................................. 6 2.1 INTRODUCTION ........................................................................................................... 6

2.2 ACCELEROMETER ...................................................................................................... 7

2.2.1 INTRODUCTION OF ACCELEROMETER.......................................................... 7

2.2.2 CURRENT TECHNOLOGY OF ACCELEROMETER........................................ 10

2.2.3 LIMITATIONS OF ACCELEROMETER............................................................. 10

2.3 RELATED WORKS ..................................................................................................... 11

2.3.1 USING ACCELEROMETER TO PAN AND ZOOM IN 2D SURFACE [5] ....... 11

2.3.2 TILT-BASED AUTOMATIC ZOOMING AND SCALING IN MOBILE DEVICES - A STATE-SPACE IMPLEMENTATION [6]............................................ 14

2.3.3 DYNAMICS OF TILT-BASED BROWSING ON MOBILE DEVICES [8]........ 17

2.4 MOST PREFERRED AND SIMILAR THESIS........................................................... 19

2.5 CONCLUSION ............................................................................................................. 19

C1I24.ITE1. 3 ............................................................................................................... 20 3.1 INTRODUCTION......................................................................................................... 20

3.2 PLANNING ................................................................................................................... 21

3.2.1 PROJECT OVERVIEW ............................................ . ............................................ 21

3.2.2 PROJECT DEVELOPMENT FLOWCHART....................................................... 22

3.2.3 PROJECT DEVELOPMENT GANTI' CHART.................................................... 23

3.2.4 PLANNING OUTCOME....................................................................................... 23

3.3 ANALYSIS ................................................................................................................... 24

3.3.1 LITERATURE REVIEW....................................................................................... 24

3.3.2 SYSTEM REQUIREMENTS................................................................................. 24

3.3.3 SYSTEM DEVELOPMENT TECHNIQUES........................................................ 25

3.3.4 ANALYSIS OUTCOME........................................................................................ 26

3.4 DESIGN ........................................................................................................................ 26

3.4.1 SYSTEM INTERFACE DESIGN.......................................................................... 27

Page 5: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

Ix

3.4.2 SYSTEM FLOWCHART . 31

3.4.3 SYSTEM STATE DIAGRAM...............................................................................32

3.4.4 SYSTEM ACTIVITY DIAGRAM ........................................................................33

3.4.5 SYSTEM USE CASE DIAGRAM.........................................................................34

3.4.6 DESIGN OUTCOME.............................................................................................35

3.5 IMPLEMENTATION ...................................................................................................36

3.5.1 SYSTEM ALGORITHMS .....................................................................................36 3.5.2 SYSTEM DEVELOPMENT..................................................................................37 3.5.3 IMPLEMENTATION OUTCOME ........................................................................ .37

3.6 TESTING ......................................................................................................................38

3.6.1 UNIT TESTING ............................. ........................................................... ............. 38 3.6.2 INTEGRATION TESTING ...................................................................................38

3.6.3 SYSTEM TESTING...............................................................................................39 3.6.4 ACCEPTANCE TESTING ....................................................................................39

3.6.5 TESTING OUTCOME...........................................................................................39

3.7 RESULTS INSPECTION .............................................................................................40

CHAPTER 4............................................................................................................... 41 4.1 INTRODUCTION ........................................ . ................................................................ 41

4.2 DEVLOPMENT ENVIRONMENT ......................................................................................41 4 .3 DESIGN ...........................................................................................................................42

4.3.1 VALUE OF Z-AXIS ..............................................................................................42

4.3.2 ZOOMING OF IMAGE.........................................................................................43

4.3.3 MOBILE DEVICE MOVEMENTS ....................................................................... 43 4.4 IMPLEMENTATION ...................................................................................................44

4.4.1 ANDROID SUPPORT LIBRARY.........................................................................44

4.4.2 VALUE OF Z-AXIS ..............................................................................................45

4.4.3 NOISE VALUE OF Z-AXIS..................................................................................46

4.4.4 IMAGE ZOOMING ALGORITHM ......................................................................47

5............................................................................................................... 48 5.1 INTRODUCTION.........................................................................................................48

5.2 RESULTS......................................................................................................................48

5.2.1 SCREENSHOTS OF IMAGE ZOOMING............................................................49

5.3 DISCUSSION................................................................................................................53

5.3.1 ADVANTAGES.....................................................................................................53

5.3.2 DISADVANTAGES ..............................................................................................53

5.3.3 CONSTRAINTS.....................................................................................................54

53.4 FUTURE WORK& IMPROVEMENT.................................................................55

Page 6: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

CHAPTER 6 .56

APPENDIX APPENDIXA .....................................................................................................................57

BIBLIOGRAPHY ...................................................................................................... 58

Page 7: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

LIST OF FIGURES

FIGURE NO. TITLE PAGE 2.1 X-AXIS, Y-AXIS AND Z-AXIS ACROSS 7

THE MOBILE DEVICE SCREEN 2.2 BOSCH BMA 222 3-AXIS SENSORS 8 2.3 CONCEPTUAL DISPLAY ON THE PC MONITOR 12 2.4 DIGITAL SIGNAGE NETWORK ARCHITECTURE 13 2.5 HP iPAQ H5450 POCKET PC WITH PLUGGED IN 15

EXTERNAL ACCELEROMETER 2.6 RESULTS ON THE SCREEN AFTER THE MOBILE 16

DEVICE IS MOVED 2.7 CONCEPTUAL OUTPUT OF PHOTO BROWSING BY 18

TILTING THE MOBILE DEVICE 3.1 PROJECT DEVELOPMENT FLOWCHART 22 3.2 SAMPLE OUTCOME OF THE MOBILE DEVICE 27

SCREEN AFTER IMAGE INSERTED 3.3 USER MOVES THE MOBILE DEVICE FORWARD 28 3.4 IMAGE ZOOMED IN AFTER MOBILE DEVICE 29

MOVED FORWARD 3.5 USER MOVES THE MOBILE DEVICE BACKWARD 29 3.6 IMAGE ZOOMED OUT AFTER MOBILE DEVICE 30

MOVED BACKWARD 3.7 SYSTEM FLOWCHART 31 3.8 SYSTEM STATE DIAGRAM 32 3.9 SYSTEM ACTIVITY DIAGRAM 33 3.10 SYSTEM USE CASE DIAGRAM 34 4.1 RELATIONSHIP OF HARDWARE PACKAGE WITH 44

INTERFACES AND CLASSES 5.1 INITIAL SCREEN OF THE SYSTEM 49 5.2 IMAGE ZOOMED IN 50 5.3 IMAGE ZOOMED OUT 51 5.4 ORIGINAL SCALE OF IMAGE 52 5.5 ILLUSTRATION OF CHANGING VALUE OF Z-AXIS 54

XI

Page 8: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

LIST OF TABLES

TABLE NO. TITLE PAGE 2.1 TECHNICAL DATA TABLE OF BMA 222 9

3-AXIS SENSORS 2.2 SCOPES OF "USING ACCELEROMETER TO 12

PAN AND ZOOM IN 2D SURFACE" THESIS 2.3 SCOPES OF "TILT-BASED AUTOMATIC ZOOMING 14

AND SCALING IN MOBILE DEVICES - A STATE-SPACE IMPLEMENTATION" THESIS

2.4 SCOPES OF "DYNAMICS OF TILT-BASED BROWSING 17 ON MOBILE DEVICES" THESIS

XII

Page 9: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

CHAPTER 1

INTRODUCTION

1.1 INTIODUCTION

This chapter introduces the basic information and descriptions about the

project. There are total of 6 sections contain in this chapter which are introduction,

backgrouid, problem statements, objectives, scopes and thesis organization. First

section which is introduction is a brief description about the contents in the first

chapter. However in the second section, it describe about the background of the whole

project. Besides that, there are problem statements described in the third section. The

objectives and scopes of the project are explained in the fourth section and fifth

section respectively. Sixth section is the thesis organization which it will describe how

the thesis is organized.

1.2 BACKGROUND

Nowadays, mobile device has been developed thoroughly and made a huge

progress compare with many years ago. From regular phones to smartphones, buttons

to touchscreen. Mobile device nowadays have tons of new features and technologies

that provide high usability and accessibility to public users. For example multi gesture,

voice recognition, Near Field Communication (NFC) and zooming technology. All

these are the features and technologies that mobile device provide to users in order to

increase the user experience.

1.

Page 10: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

2

Zooming technology is one of the technology that mobile device have been

emphasizing. From camera to pictures, and even browser, all these applications on

mobile device support zooming feature which users able to zoom when taking a photo,

browsing pictures and also during surfing the internet. In order to zoom while using all

these applications, users just need to double tap using one finger or pinching using two

fingers on the screen [1]. Zooming also able to helps those users who facing difficulties

to read the content. For example, for those elder users who encounter Presbyopia which

also known as Long Sightedness, they unable to read the content within near distance.

Therefore they need to move the mobile device away from them or zooming into the

content in order to read the content.

Accelerometer is a device which able to measures acceleration. Nowadays

accelerometer built in most of the mobile device. In mobile device, accelerometer

functions to detect motion [2]. Accelerometer also plays an important role in games

applications. In gaming, accelerometer detects the position of the mobile device then

provides the input to the game in order for users to play the game [3]. For example car

racing game, users able to perform like driving a real race car by steering the mobile

device left or right.

In conclusion, major research in this project will be on zooming technology and

accelerometer in mobile device. Besides that, by using the values feedback by

accelerometer, users should be able to adjust the content by moving the mobile device

nearer to them or further from them.

Page 11: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

3

1.3 PROBLEM STATEMENTS

Nowadays it is very normal using mobile device to read email or surf internet.

But when it comes to zooming on the content of the mobile device, it seems very easy

for normal people to zoom in the content by using fingers to pinch the screen to zoom

into the content. As for those who having visual impairments such as long-sightedness,

physically disabled such as hand handicapped or finger handicapped, zooming on the

content on mobile device become an extremely difficult task for them to fulfill. When

they are facing problem zooming on the content on the mobile device, the consequences

will be that they unable to read the content on the mobile device which will lead them to

miss out important contents. Therefore there are total of 3 problem statements have

been identified for this project.

1. Why need to adjust the content size on mobile device by zooming in and out

using accelerometer?

2. How to adjust the content size on mobile device by zooming in and out using

accelerometer?

3. What is the effect when adjusting the content size on mobile device by zooming

in and out using accelerometer?

Page 12: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

4

1.4 OBJECTIVES

There are total of 3 objectives to be focus in this project.

1. To study the zooming technology of mobile device by using accelerometer.

2. To develop a system that will enhance the zooming technology on the mobile

device.

3. To evaluate the improvement of accessibility for users with physical disable

such as hand handicapped or finger handicapped.

1.5 SCOPES

There are 2 different scopes in this project, first is user scope and second is system

scope.

User Scope

1. User Accessibility

Physical disability

a. Hand disability (only one hand available)

b. Finger disability (finger handicapped)

System Scope

1. Development Languages

. Java

Android Application Development Interface (API)

2. Hardware

• Android Mobile Device

• Accelerometer

Page 13: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

5

3. Software

• Android Operating System (OS)

• Android Studio

• Android Software Development Kit (SDK)

• Android Development Toolkit (ADT)

1.6 THESIS ORGANIZATION

This thesis consist a total of 6 distinct chapters which are Introduction,

Literature Review, Methodology, Design and Implementation, Results and Discussions,

and lastly Conclusion.

In the first part of this project, total 3 chapters included which are Chapter 1:

Introduction, Chapter 2: Literature Review and Chapter 3: Methodology. Chapter 1

briefly describes the details of this project. It includes a total of 6 sections which are

Introduction, Background, Problem Statements, Objectives, Scopes and Thesis

Organization. Chapter 2 review and discuss all the literatures and researches that related

to this project. All the techniques and considered hardware to be implemented in this

project will be decided after all literatures are studied in this chapter. Chapter 3 explain

the steps and methodologies which this project will follow. It also will include a.Gantt

chart that shows the planning of this project development.

While in second part of this project include the other 3 chapters which are

Chapter 4: Design and Implementation, Chapter 5: Results and Discussions and Chapter

6: Conclusion. Chapter 4 show how techniques as explained in Chapter 3 are converted

into an application. Some snippet code are provided to show the algorithm or pseudo

code that implemented. Additionally, some experiment are considered to evaluate the

proposal. Chapter 5 discuss the outcome of the project during development and

evaluation will be made. Besides that, it also will include some sample of execution

during development, testing phases, results comparison and users testing summaries.

Chapter 6 conclude all the results and developments of this project together with the

objectives that drawn in Chapter 1. It provide a conclusion of this research and some

suggestion of enhancement are discussed along.

Page 14: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

CHAPTER 2

LITERATURE REVIEW

2.1 INTRODUCTION

This chapter includes several sections that discuss the technology used in this

project. There are total of 5 sections which are introduction, discussion about

technology used in this project, description and comparison of related works, detailed

discussion on one of the related works and lastly conclusion. First section is the

introduction which explains the content of this chapter. Second section which discuss

and explain the technology used in this project which is the accelerometer built in the

mobile device. Description and comparison of related works are explained in third

section. In section four, one of the related works is discuss and explain in detail in order

to support this project. Lastly the conclusion of this chapter is included in the fifth

section.

6

Page 15: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

7

2.2 ACCELEROMETER

There are three sub sections in this section, first will be introduction of

accelerometer, second is the current technology of accelerometer and lastly are the

limitations of accelerometer.

2.2.1 INTRODUCTION OF ACCELEROMETER

Accelerometer is a type of hardware device and motion sensor which able to

detect changes in motion. Nowadays, most of the mobile devices are built in with

accelerometer in order to detect changes in motion made by users. There are three

categories of sensors built in the mobile device which are motion sensors,

environmental sensors and position sensors. Accelerometer is categorized to motion

sensors. Accelerometer detects motion based on three different axes which are X-axis,

Y-axis and Z-axis. X-axis is where the axis across the mobile device screen from left to

right, Y-axis is where the axis across the mobile device screen from bottom to top, Z-

axis is where the axis across the mobile device screen from behind to front. Therefore

there will be changes of value from these three different axes if the mobile device is

shake or tilt. Most of the applications use these values to process and gives feedback on

the screen. Figure 2.1 below shows the axes across the mobile device.

Y

If _-

Figure 2.1: X-axis, Y-axis and Z-axis across the mobile device screen

Page 16: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

8

In this project, the model of accelerometer that will be use is BMA222 3-Axis

Sensors which manufactured by Bosch [4]. This accelerometer is built in to Alcatel One

Touch Glory 2S which also known as Alcatel One Touch 401 1X. This android device

will be used in this project. BMA222 3-Axis Sensors is a tiny, 3-Axis low-g

acceleration sensor which widely used for low power electronic applications. This

sensor able to senses tilt, vibration, shock and motion from the mobile device. It

measures the acceleration based on the three different axes, X-axis, Y-axis and Z-axis.

BMA222 3-Axis Sensors is widely used in several fields such as motion detection,

gaming and Human-machine Interface (HMI). BMA222 3-Axis Sensors only required

139 microampere (iA) to fully operate on mobile device. Thus it is ideal to build in

mobile device for its low power consumption. Figure 2.2 and Table 2.1 below show the

figure and technical data of BMA222 3-Axis Sensors.

- I•ts

IN All

Figure 2.2: Bosch BMA 222 3-Axis Sensors

Page 17: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

Table 2.1: Technical Data Table of BMA 222 3-Axis Sensors

Parameter Technical Data

Digital resolution 8 bit

Resolution (In ±2g range) 15.6 mg

Measurement ranges (programmable) ±2g, ±4g, ±8g, ±16g

Sensitivity (calibrated) ±2g: 64 LSB/g

±4g: 32 LSB/g

±8g: 16 LSB/g

±16g: S LSBJg

Zero-g offset (over life-time) +100 mg

Bandwidths (programmable) 1000 Hz ... 8 Hz

Digital inputs/outputs SPI & 12C, 2x interrupt pins

Supply voltage (VDD) 1.62 ... 3.6 V

I/O supply voltage (VDDIO) 1.2 ... 3.6 V

Temperature range -40 ... +85 °C

Current consumption (full operation) 139 i.A (@ 2kHz data rate)

Current consumption (low-power mode) 7 [LA (@ 40 Hz data rate)

1 tA (@ 1 Hz data rate)

LGA package 2 x 2 x 0.95 mm3

Shock resistance 1 0.000g x 2 ps

Page 18: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

10

2.2.2 CURRENT TECHNOLOGY OF ACCELEROMETER

Currently, most of the mobile devices are built in with accelerometer. Besides

that, technology in mobile device nowadays is diverse. There are many types of features

and applications which used accelerometer as the sensor of motion.

Gaming is one of the fields where accelerometer is used to detect the motion

made by user on the mobile device. For example car racing game on mobile device uses

accelerometer to detect the motion of user steering left or right then use the changes of

values of the three different axes as an input to the game and respond it to user. The

output will be let the user feels like they are actually steering the car in the game.

Moreover, accelerometer also use for zooming purpose in mobile device. For

example, Samsung Galaxy S4 has the function that user able to tilt the mobile device

and the content on the screen will zoom in and zoom out. User able to choose whether.

to switch on the feature or not, once the feature is switch on, user needs to put two

fingers on the screen and tilt the mobile device forward, the content on the screen will

then automatically zoom in. Vice versa, when user tilt the mobile device backward, the

content on the screen will then zoom out.

2.2.3 LIMITATIONS OF ACCELEROMETER

There are limitations on the accelerometer in the mobile device. The limitation is

that the when the mobile device moves forward, the value of Z-axis increase in positive

float numbers and drop back to zero then continue decrease to negative float numbers

and vice versa. Thus, the zooming of image is unable to consistently zoom in or out the

image. The image will always zoom in then zoom out or zoom out then zoom in since

the image unable to be locked.

Page 19: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

11

2.3 RELATED WORKS

In related works, there are discussion and comparison of 3 current existing

researches made by other individuals. All these theses are studied and explanation is

made.

2.3.1 USING ACCELEROMETER TO PAN AND ZOOM IN 2D SURFACE 151

This is one of the theses that studied in order to study the related work and

project done by other individual. All the algorithms and methodologies are studied to

compare with other project or system. In this thesis, the research is to study how to use

accelerometer as a medium to enable panning and zooming content on the screen of the

PC monitor by moving the mobile device in the air with the mobile device connected to

the PC monitor. Panning the content is to move the mobile device along the X-axis and

Y-axis. As for zooming, the mobile device moves along the Z-axis. This thesis also

studied about the problem about estimating the acceleration, speed and position of the

mobile device. Significance number of designs and tests of algorithms has been made in

order to estimate the gravity component of the accelerometer data. The purpose of this

research is to develop a new algorithm and compare it with the existing algorithms that

functions to estimation of acceleration, speed and position of a mobile device.

Page 20: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

12

The scopes of the thesis are described in this thesis. Table 2.2 below shows the

scopes of the thesis.

Table 2.2: Scopes of "Using Accelerometer to Pan and Zoom in 2D Surface" thesis

Mobile Device used HTC Hero

Accelerometer model Bosch BMA 150 3-Axis Sensors

Accelerometer functions Panning and zooming

Software used Microsoft Silverlight, Microsoft Deep

Zoom Composer

Development languages Microsoft NET Framework

Panning and zooming content on the PC monitor is explained along with figure

in this thesis. For panning the content on the screen, user needs to move the mobile

device along X-axis or Y-axis. As for zooming content, user needs to move the device

along the Z-axis which means moving the mobile device forward and backward. Figure

2.3 below shows the conceptual display on the PC monitor that proposed in this thesis.

%

s "

•: & Ltf?Nj

1•''1:•

Figure 23: Conceptual display on the PC monitor

Page 21: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

13

Besides that, digital signage is introduced in this thesis. Digital signage is one of

the advertising methods which use monitor to display advertisements. Advertisements

that showed on the monitor are dynamic and able to change from time to time to suit the

current trend of promotion or latest information. Figure 2.4 below shows the digital

signage network architecture.

Figure 2.4: Digital signage network architecture

Instoremedia AB (D4SM), a company that specialized in digital signage wants to

implement the mobile device accelerometer technology into its digital signage system.

Currently there have been two types of inputs used by Instoremedia AB (INSM). First is

a system which connects both magnetic plates on mobile device and another magnetic

plate. In this system, when user remove the mobile device, both magnetic plates will be

separated and the system able to trace which mobile device is removed. After the

mobile device is removed, information about the products will be show on the digital'

display. Second type of inputs is connection between product information database and

digital display. User able to surf the product information through digital display that

connects to product information database. Therefore, with adapting the mobile device

accelerometer technology into this system, user will be able to pan or zoom into the

information on the digital display by moving the mobile device.

Page 22: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

14

2.3.2 TILT-BASED AUTOMATIC ZOOMING AND SCALING IN MOBILE DEVICES - A STATE-SPACE IMPLEMENTATION 161

This thesis studied about zooming and scaling the content on the mobile device

by depending on the speed of tilting the mobile device. User able to zooms into the

content by just adjusting the tilting speed. There are several issues discussed in this

thesis which included single hand tilting navigation, usability effects of tilting the

mobile device, speed dependent zooming related to stylus based strength and

comparison between tilting navigation, stylus combinations and mouse. The objective

of this research is to help user to zoom into the content they desired as quick as possible

without causing user to become frustrated or lose concentration on the content of the

mobile device. Besides that, this research also wishes to provide smooth transitions

between zooming in and zooming out while viewing on the content of the mobile device.

The scopes of the thesis are described in this thesis. Table 2.3 below shows the scopes

of the thesis.

Table 2.3: Scopes of "Tilt-Based Automatic Zooming and Scaling in Mobile Devices -

A State-Space Implementation" thesis

Mobile Device used HP iPAQ h5450 Pocket PC

Accelerometer model Xsens P3C, 3 degree-of-freedom linear

accelerometer

Accelerometer functions Zooming and scaling

Software used Microsoft Visual C++

Development languages Embedded Visual C++

Page 23: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

15

The model of mobile device used in this thesis is HP iPAQ h5450 Pocket PC [7].

It is a touch screen device which uses stylus to interact with the device on the screen.

User able to write or draws on the screen using stylus. The difference of this thesis with

other theses is that the accelerometer used in this thesis is an external accelerometer.

The external accelerometer is plugged into the mobile device in order to detect the

motion of the mobile device. Figure 2.5 below shows the external accelerometer is

plugged into the mobile device.

Figure 2.5: HP iPAQ h5450 Pocket PC with plugged in external accelerometer

Page 24: II!!!!! III! 1111 liii liii liii II 11111 III 1111 11111

16

When the user moves the mobile device forward or backward, the external

accelerometer able to detect the change in motion of the mobile device and gives its

feedbacks. The feedbacks of accelerometer are process with algorithms made to give the

output on the screen of the mobile device. The results on the screen are as shown in

Figure 2.6 below.

update the pobabitic 'associated wi - - - pass this rinse-series to an audit probabilities Systems capable of de

- of gestures pa en a both model and ______ r0uhttv which can then be

wx— "asune g9 toni O coin Brown era! 2002 b union at at

Man of discrete notes to probabilities, are continuous in hot

a effective for the audio output to be c

- --.-__

- S'sgur. I. Ths jg stiiu

commonly seen as an array of blunt

Figure 2.6: Results on the screen after the mobile device is moved

The image shown at the left hand side of the figure shows that content on the

mobile device is haven't zoom in yet. The red box in the image indicates the part of the

content targeted to zoom in. In the middle image of the figure shows that the content is

now slightly zoomed in after the mobile device moved. As for the image at right hand

side of the figure, it shows that the content on the mobile device is now fully zoomed in.