Wireless Android-Based Wheelchair Control And System.

(1)

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

WIRELESS ANDROID-BASED WHEELCHAIR CONTROL AND

SYSTEM

This report submitted in accordance with requirement of the Universiti Teknikal Malaysia Melaka (UTeM) for the Bachelor’s Degree in Electronics Engineering

Technology (Industrial Electronics) (Hons.)

by

IBRAHIM BIN ABU BAKAR B071210307

910802016729

FACULTY OF ENGINEERING TECHNOLOGY 2015


(2)

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

BORANG PENGESAHAN STATUS LAPORAN PROJEK SARJANA MUDA

TAJUK: WIRELESS ANDROID-BASED WHEELCHAIR CONTROL AND SYSTEM

SESI PENGAJIAN: 2015/16 Semester 1

Saya IBRAHIM BIN ABU BAKAR

mengaku membenarkan Laporan PSM ini disimpan di Perpustakaan Universiti Teknikal Malaysia Melaka (UTeM) dengan syarat-syarat kegunaan seperti berikut: 1. Laporan PSM adalah hak milik Universiti Teknikal Malaysia Melaka dan penulis. 2. Perpustakaan Universiti Teknikal Malaysia Melaka dibenarkan membuat salinan

untuk tujuan pengajian sahaja dengan izin penulis.

3. Perpustakaan dibenarkan membuat salinan laporan PSM ini sebagai bahan pertukaran antara institusi pengajian tinggi.

4. **Sila tandakan ( )

SULIT

TERHAD

TIDAK TERHAD

(Mengandungi maklumat yang berdarjah keselamatan atau kepentingan Malaysia sebagaimana yang termaktub dalam AKTA RAHSIA RASMI 1972)

(Mengandungi maklumat TERHAD yang telah ditentukan oleh organisasi/badan di mana penyelidikan dijalankan)

Alamat Tetap:

NO. 19 Jalan Sejahtera 18,

Taman Desa skudai, 81300 Skudai Johor

Tarikh: __________________

Disahkan oleh:

Cop Rasmi:

Tarikh: _______________________ ** Jika Laporan PSM ini SULIT atau TERHAD, sila lampirkan surat daripada pihak berkuasa/organisasi berkenaan dengan menyatakan sekali sebab dan tempoh laporan PSM ini perlu dikelaskan sebagai SULIT atau TERHAD.


(3)

i

DECLARATION

I hereby, declared this report entitled “WIRELESS ANDROID-BASED WHEELCHAIR CONTROL AND SYSTEM” is the results of my own research

except as cited in references.

Signature : ……….

Author’s Name : IBRAHIM BIN ABU BAKAR


(4)

ii

APPROVAL

This report is submitted to the Faculty of Engineering Technology of UTeM as a partial fulfillment of the requirements for the degree of Bachelor of Electronics Engineering Technology (Industrial Electronics) (Hons.). The member of the supervisory is as follow:

……… (AHMAD FAUZAN BIN KADMIN)


(5)

i

ABSTRAK

Pada masa kini, bilangan warga tua telah meningkat. Ada di antara mereka tinggal bersama anak mereka, ada juga yang tinggal di rumah orang-orang tua dan ada juga yang tinggal bersendirian. Masalah akan timbul apabila warga tua kehilangan kebolehan untuk bergerak. Tidak semua orang boleh berada di samping mereka pada sepanjang masa untuk menolong mereka. Projek ini dibuat untuk menolong mereka yang mempunyai masalah menggunakan kaki untuk berjalan seperti warga tua yang tidak berdaya atau orang yang lumpuh disebabkan oleh kemalangan. Tujuan projek ini adalah untuk membangunkan Sistem dan Kawalan Kerusi roda menggunakan Android tanpa wayar yang terdiri daripada telefon pintar Android dan kotak pengawalan yang boleh mengawal pergerakan kerusi roda dengan mengunakan motor. Kod punca ditulis dalam perisian Basic 4 Android. IOIO adalah pengawal utama yang mengawal motor, menghantar isyarat ke penerima isyarat RF dan menerima data bersiri dari telefon pintar android. Protokol perhubungan Bluetooth digunakan untuk berkomunikasi di antara telefon pintar android dan kotak pengawal. Arah dan kelajuan motor dikawal menggunakan pemacu motor MD30C. Tiga cara untuk mengawal pergerakan kerusi roda iaitu D-pad, kayu ria dan suara telah digunakan. Empat pilihan pergerakan adalah pergerakan ke hadapan, ke belakang, ke kiri dan ke kanan. Sistem ini juga mempunyai kebolehan untuk mengawal peralatan elektrik dengan menggunakan frekuensi radio sebagai komunikasi tanpa wayar. Peralatan elektrik boleh dihidupkan dan dimatikan secara tanpa wayar dengan menggunakan pemancar frekuensi radio yang meghantar isyarat ke penerima frekuensi radio. Sebagai kesimpulan, produk ini tidak hanya membenarkan, orang kurang upaya untuk mengawal kerusi roda sendiri tanpa bantuan orang lain, tetapi juga membenarkan orang lain untuk menggunakan telefon pintar android untuk mengawal kerusi roda dan peralatan elektrik di samping boleh menunjukkan arah kiblat bagi umat Islam untuk bersolat.


(6)

ii

ABSTRACT

Nowadays, the number or elderly people has increased. Some live with their children, some live in the adult foster home and some even live by themselves. The problem arises when the elderly people lose their ability to walk. Not everyone can be present to help them at all time. This project is built to help those who have trouble using their feet to walk around due to some difficulties such as helpless elderly people or people who met with accidents and end up with paralyzed legs. The aim of this project is to develop Wireless Android-Based Wheelchair Control and System that consists of an android device and a control box that controls the movement of wheelchair by using DC motor. The source code is written in (Basic-4- Android) software. IOIO is the main controller that controls motor, sends signal to RF receiver and receives serial data from android phone. Bluetooth communication protocol is used for communicating between the android device and the control box. The motor direction and speed are controlled by motor driver MD30C through IOIO. Three control interfaces which are D-pad, joystick and voice are used to control for the wheelchair movement. The four conditions can be described as forward, backward, right and left. This system also has the ability to control electrical appliances by using radio frequency as the wireless communication. Electrical appliances can be switched on and off wireless by using radio frequency transmitter to send a signal to radio frequency receiver. As a conclusion, this product not only allows, the handicapped people to control the wheelchair by themselves without help from others but also allows other people to use the android phone to control the wheelchair and the electrical appliance, as well as providing Qibla’ direction for the Muslims to pray.


(7)

iii

DEDICATION

Alhamdulillah, praise to the Almighty Allah S.W.T This thesis is dedicated to:

My beloved family, My Parents, My Supervisor,

My lecturers And all my friends


(8)

iv

ACKNOWLEDGEMENT

Alhamdulillah, thank you Allah because of His blessing, I finally complete and finish my final year project successfully.

During the process to complete my project objective, I do a lot of research either by using internet, reading past year thesis, reference books and journal. With the guidance and support from peoples around me, I finally complete the project due to the time given. Here, I want to give credit to those who helped me to achieve what I had achieved in my final year project.

I would like to express my sincere and gratitude and respect towards my project’s supervisor, En. Khairul Azha Bin A.Aziz for his kind, encouragement and suggestions. Without his continued support and interest, the project would not be like what it likes today. May Allah bless and reward him for his sincere, endeavour and contribution in the way of knowledge.

I also want to thanks to my beloved parents because without them, I will not be able to do well in my final year project. They did give me a lot of support, both from money and moral support to help me continue for what I had started on.

Thank you to all lecturers, staffs, friends and all who has directly and indirectly involved on this project. Your helps and cooperation will never be forgotten. May Allah bless and reward them for their sincere, endeavour and contribution in the way of knowledge.


(9)

v

TABLE OF CONTENT

Abstrak i

Abstract ii

Dedication iii

Acknowledgement iv

Table of Content v

List of Tables vii

List of Figures viii

List Abbreviations, Symbols and Nomenclatures x

CHAPTER 1: INTRODUCTION 1

1.1 Background 1

1.2 Problem Statement 3

1.3 Objective 3

1.4 Scope of the project 3

1.4.1 The basic concept of android application 4

1.4.2 The basic movement of the wheelchair 4

1.5 Project Methodology 4

1.6 Thesis Structure 5

CHAPTER 2: LITERATURE REVIEW 6

2.1 Wheelchairs History 6

2.2 Previous Development of Wheel Chair Technology 7 2.2.1 Development of Autonomous Robotic Wheelchair Controller 7

Using Embedded Systems

2.2.2 Voice Activated Wheelchair Controller 7 2.2.3 Electronic Wheelchair Controller Designed For Operation By 8

Hand operated Joystick, Ultrasonic Non-Contact Head Control and Utterance from A Small Word-Command Vocabulary


(10)

vi Controller

2.2.5 System Design Consideration for Digital Wheelchair Controller 9 2.2.6 Electric Wheelchair Controller Based on Parameter 10

Self-Adjusting Fuzzy PID

2.2.7 Smart Assistive Technology: Intelligent Controller Design to 10 Mitigate Tremors Due to Multiple-Sclerosis in Controlling

Electric Wheelchairs

2.2.8 Wheelchair Obstacle Avoidance Based On Fuzzy Controller and 11 Ultrasonic Sensors

2.2.9 A Nonlinear Elastic Path Controller for a Robotic Wheelchair 12 2.2.10 Fuzzy Controller for Obstacle Avoidance In Electric Wheelchair 12

With Ultrasonic Sensors

2.2.11 Android-Based Wheelchair Controller 13

2.3 Comparison between different wheel chair technologies 13

2.4 History of Android System 16

CHAPTER 3: METHODOLOGY 20

3.1 Introduction 20

3.2 IOIO Firmware 22

3.2.1 Development of IOIO-OTG Firmware (Bluetooth Name) 23

3.2.2 IOIO-OTG Firmware (Bluetooth Pin) 24

3.2.3 Firmware Upgrade Instructions 27

3.3 IOIO Library 32

3.3.1 Creation of Modified IOIO library 32

3.4 Software Implementation 37

3.5 Relay Circuit for RF Transceiver Module 38

3.6 Steps to Control Speed of the Motor 40

CHAPTER 4: RESULT & DISCUSSION 41

4.1 Analysis of software part 41

4.1.1 Interface design 41

4.1.2 New Control Type Added 44


(11)

vii

4.1.2.2 Joystick 46

4.1.2.3 Voice Control 47

4.1.3 Improved Controlling Appliance 49

4.1.4 Improved and more friendly Qibla Direction 51

4.2 Hardware analysis 58

4.2.1 Movement of the motor 58

4.2.2 The Truth Table for Motor Driver 59

4.2.3 IOIO PWM output Analysis 60

4.2.4 Battery Monitoring 64

4.2.5 Ultrasonic Sensor Analysis 68

4.3 Discussion 72

CHAPTER 5: CONCLUSION & FUTURE WORK 75

5.1 Conclusion 75

5.2 Future Work 76

REFERENCES 77

APPENDICES

A Data sheet IOIO board B Gantt chart

C Data sheet RF-UART-434-100M


(12)

viii

LIST OF TABLES

2.1 Advantages and disadvantages of wheel chair that has been developed

13

2.2 Android version 16

4.1 Configuration data for RF module 50

4.2 Icon to indicate switch that is active and unactive 51

4.3 Qibla code for Malaysia state 52

4.4 Angle between north direction and Qibla direction in degree for

all states in Malaysia 53

4.5 Icon to indicate Qibla Switch active and unactive 55

4.6 Status of magnetic field 57

4.7 The Button Command for different movement of the wheel chair 58

4.8 The Truth Table of Motor Driver 60

4.9 PWM output from IOIO 61

4.10 Waveform and Measurement results of IOIO PWM output using


(13)

ix

LIST OF FIGURES

1.1 Block diagram of the overall project. 2

3.1 Flowchart for the overall project 21

3.2 IOIO main website 22

3.3 click download zip 22

3.4 MPLAB X 23

3.5 bt_connection.c 23

3.6 change to IBRAHIM 24

3.7 main.c 24

3.8 change 4545 to 8901 25

3.9 bt_connection.c 25

3.10 change 4545 to 8901 25

3.11 latency folder directory 25

3.12 change 4545 to 8901 26

3.13 Cygwin windows 26

3.14 IOIO-master directory 27

3.15 IOIOdudeGUI software 27

3.16 Jumper boot pin to ground 28

3.17 Connection to pc 28

3.18 Device manager 29

3.19 COM in IOIOdudeGUI 29

3.20 On IOIO with new firmware 30

3.21 IBRAHIM at bluetooth manager 31

3.22 IBRAHIM has been paired 31

3.23 Extract file from jar 32

3.24 Process of extracting file in bin 33

3.25 Editing the constant name 33

3.26 create jar files 34


(14)

x

3.28 location b4a library 35

3.29 b4a main screen 35

3.30 Success compile 36

3.31 Test application 36

3.32 Show LED has ON 37

3.33 Flowchart for software implementation 38

3.34 Schematic Diagram 39

3.35 Back View 39

3.36 Top View 39

4.1 Design of the previous built 42

4.2 Sample code up event for button forward previously used 42 4.3 Sample code down event for button forward previously used 43 4.4 Shows the new built that uses panel to replace the button 43

4.5 touch event for panel that is newly added 44

4.6 D-pad controller newly added 45

4.7 Sample code right button 46

4.8 Joystick controller newly added 46

4.9 sample code for Joystick direction 47

4.10 Voice controller newly added 47

4.11 Sample code of voice command 48

4.12 voice settings newly added 48

4.13 voice add/delete function that is newly added 49

4.14 Switch 1 sample code 50

4.15 Switch 1 and 2 interface is newly added 51

4.16 List of state in Malaysia that can be selected to find the Qibla

direction 52

4.17 Calibrate accelerometer sensor 54

4.18 Comparison of qibla direction shown by the qibla compass and

android compass 55

4.19 Qibla direction button 56

4.20 Reading when there is metal near to the phone 56 4.21 Reading when there is metal near to the phone 56 4.22 Warning message issued when the phone is in high magnetic field 57


(15)

xi 4.23 Direction of DC Motor for different current flow direction 59

4.24 Speed controller seek bar 60

4.25 Sample code for speed controller 61

4.26 Simulation Circuit in Proteus 64

4.27 Vout(s) Vs Vin(s) from the simulation data 64

4.28 Assembling in Breadboard 65

4.29 Measured Vout(m) and Vs Vin(m) displayed in the oscilloscope 65 4.30 Measured Vout(m) Vs Vin(m) output for 25 samples 66 4.31 Comparison of measured Vout in the simulation (Vout(s)) and

Vout measured (Vout (m) ) for different values of Vin 66

4.32 Testing of the battery circuit via IOIO 67

4.33 3 Samples tested by using IOIO when input voltage was varied. 67 4.34 Comparison reading between IOIO and multimeter 68 4.35 Measurement of ultrasonic sensor of voltage output 68 4.36 Ultrasonic output voltage obtained for different distance detected

by the object sensor 69

4.37 Ultrasonic output voltage obtained for 0-5 inch (Sample 1) 70 4.38 Ultrasonic output voltage obtained for 0-5 inch (Sample 2) 70 4.39 Ultrasonic output voltage obtained for 0-5 inch (Sample 3) 71 4.40 Ultrasonic output voltage obtained for 0-5 inch (Sample 4) 71 4.41 Ultrasonic output voltage obtained for 0-5 inch (Sample 5) 71 4.42 Ultrasonic sensor reading of the distance of an object displayed in

IOIO 72


(16)

xii

LIST OF ABBREVIATIONS, SYMBOLS AND

NOMENCLATURE

SDK - Software Development Kit

VB - Visual Basic

GUI - Graphic User Interface

API - Application Programming Interface RAM - Random Access Memory

ROM - Read Only Memory

UART - Universal Asynchronous Receiver/Transmitter

USART - Universal Synchronous Asynchronous Receiver/Transmitter RF - Radio Frequency

DC - Direct Current

AVD - Android virtual devices B4A - Basic for android USB - Universal serial port

PC - Personal computer

UI - User interface

PCB - Printed circuit board MCU - Multipoint control unit PWM - Pulse width modulation SPI - Serial peripheral interface

GND - Ground


(17)

1 This section basically guides the author in preparing the entire report content including the graphical illustrations which can be found in appendices. The REPORT CONTENT should be divided into appropriate chapters as guided here. Standard margins on this page, and on all text pages, are 4 cm left, 2.5 right, 2.5 top and 3 cm bottom.

1.1 Background

Wireless Android-Based Wheelchair Control and Systems a system where the DC motor is used to move the wheelchair. Nowadays, handicapped people face problem to control wheelchair by themselves. Sometimes they need other people to help them. This project will provide a new way to control the movement of wheelchair which are turn to the left, turn to the right, move forward and reverse. Electric appliances can also be switched on and off without using any wire. The overall wheelchair operation uses DC motor and motor driver module combined with microcontroller system which is IOIO board.

Wireless Android-Based Wheelchair Control and System consists of android device and a control box that can be attached to standard wheelchairs to control the movement by using a DC motor and send wireless signal to Radio Frequency Receiver by means of Radio Frequency Transmitter. Bluetooth communication protocol is used to communicate sensory and command information between the android device and the control box.

INTRODUCTION


(18)

2 There are 4 options for basic motions of a wheelchair to be applied by the user. The four conditions of the wheelchair can be described as:

(a) Moving forward (b) Moving backward (c) Turning to the right (d) Turning to the left

Figure 1.1: Block diagram of the overall project.

DC Motor DC Motor Radio Frequency module

Android Device


(19)

3

1.2 Problem Statement

Nowadays, the number or elderly people has increased. Some live with their children, some live in adult foster home and some even live by themselves. The problem arises when the elderly people lose their ability to move around. Not everyone can be present to help them at all time. Patients involved in physical injuries and disabilities with good mental strength struggle to get through places using the conventional hand powered wheelchair. A wheelchair is a chair with wheels, designed to be a replacement for walking. A wheelchair is a device used for mobility by people for whom walking is difficult or impossible, due to illness or disability. To face this problem, an android device that can control DC motor will be developed.

1.3 Objective

The project is implemented in order to achieve the following objectives which are:

(a) To develop a system that can control the movement of a wheelchair by using android.

(b) To design android control interfaces which are D-pad, Joystick and voice. (c) To design android system that can control electrical appliances.

1.4 Scope of Project

The scope of this project is to study the basic of android from several published papers and books as well as to study the code used to control the movement of the Android-based wheelchair controller. This project focus mainly on how to apply what that have been learned about the android application. The parameters for this project can be divided into several parts which are:


(20)

4

1.4.1 The basic concept of android application

In this project, android application is used to control the movement of the wheelchair. Android is a software bunch comprising not only operating system but also middleware and key applications. Android applications can control two electrical appliances and dc motor.

1.4.2 The basic movement of the wheelchair

The movement of the wheelchair is controlled by the android application. The wheelchair can move to the right and to the left as well as move forward and backward. All of these movements can be controlled by using android application.

1.5 Project Methodology

In order to produce a good project, there are several procedures that must be followed. Initially, information about the wheelchair problem must be identified. Then, more information about the wheelchair problem is gathered from the journals, internet, books and also articles. Besides that, the research continues with the search on the basic concept of android application and also search on coding for basic4android software to be programmed at the android device. Next, after finishing the research, the coding will be simulated in Android Visual Device (AVD) or android phone in order to identify whether the coding can be simulated without any error. After that, the hardware for the android-based wheelchair controller will be designed. Lastly, the hardware will be combined with the coding to get the complete android-based wheelchair controller that will be controlled by android device.


(21)

5

1.6 Thesis Structure

Chapter 1:

The first chapter introduces brief idea of the project. It focused on the overview of the project, detailing the objectives, the problem statement, scope and outcome of the project.

Chapter 2:

Projects background is discussed in this chapter. The method concept, theory, and some characteristic of component of hardware that are used in this project is discussed in this chapter. This chapter also defines terms used in this project and discussed the concept of the research and how it is related with the theory.

Chapter 3:

Chapter 3 describes the methodology used in this project. The schedule or steps that need to be completed and the detailed reports of studies that were done to achieve the aim of the project are presented.

Chapter 4:

Chapter four presents the result and discussion. All the simulations, data collection and analysis obtained will be discussed in detail. The results will be compared with the objectives outlined in order to arrive to some hypothesis and conclusion.

Chapter 5:

Chapter five states the conclusion and future work that can be undertaken. Some recommendations and suggestion on how to improve the performance of the system based on the desired results will be given.


(22)

6 This chapter presents literature review on the development of the wheelchair control as well as android system. The development of the different control system of the wheelchair that aim to help disable people to move freely is discussed. The advantages and disadvantages of each wheel chair development are also presented and compared. This chapter also presents the development of the android system as android system will be utilized in this project.

2.1 Wheelchairs History

To improve quality of life for the elderly and disabled people, electric-powered wheelchairs (EPWs) have been frequently deployed over the last 20 years. In response to the demands of wheelchair users for equal access, hand-propelled wheelchairs, electrically controlled wheelchairs, and automated-guided wheelchairs have been developed.

The development of wheelchair have begun over the past 1000 years and the designs of the wheelchair have been changed within recent decade.

LITERATURE REVIEW


(23)

7

2.2 Previous Development of Wheel Chair Technology

2.2.1 Development of Autonomous Robotic Wheelchair Controller Using Embedded Systems

Chung, Hung, Chin and Ko (2007) developed Autonomous Robotic Wheelchair Controller Using Embedded Systems. In general, an autonomous robotic wheelchair includes the techniques of obstacle sensing and avoidance, local path navigation, and friendly interactions with users when compared to conventional powered wheelchairs. Most of researches on autonomous robotic wheelchairs used the personal computer as the supervisory controller since its powerful computing capacity and familiar coding environment. Nevertheless, the personal computer is not feasible to the wheelchair users due to inefficient size, lower reliability and larger power consumptions.

By using the embedded computing architecture, the proposed robotic wheelchair controller performs characteristics of compact size, better reliability and lower power consumptions while the benefits of powerful computing capacity and familiar coding environment are maintained. Theses fuzzy logic based navigation functions are fused together to solve practical situations of the robotic wheelchairs.

2.2.2 Voice Activated Wheelchair Controller

Rockland (1998) has done simulation of voice activated wheelchair controller. The Voice Activated Wheelchair Controller (VAWC) project was designed to develop a feasibility model for activating a wheelchair using a low-cost speech recognition system. A microcontroller was programmed to provide user control over each command, as well as to prevent voice commands from being issued accidentally.


(24)

8 An AES-88 microcontroller trainer (AESCorporation) was used as the main CPU for the system. The output from the SRS came from the seven segment displays, since each word could be associated with a number. The microcontroller program contained a table, which associated each number with the specific word.

2.2.3 Electronic Wheelchair Controller Designed For Operation By Handoperated Joystick, Ultrasonic Non-Contact Head Control And Utterance From A Small Word-Command Vocabulary

CoFle (1995) has developed electronic wheelchair controller by handoperated joystick. The primary objective at the outset of the research and development undertaken in this project was to investigate use of non-invasive control mechanisms to assist seriously disabled wheelchair users. An entire range of 'contact' switches exists such as pneumatic chin operated switches, tilt and touchswitches. Although undoubtedly useful in certain situations.

The project microprocessor design was carried out using the Motorola M68705R3 controller. More recently this work has been updated and replaced using the popular Motorola microcontroller MC68HC 11.Control programmes were written in assembly language mnemonics and assembled and simulated using ASMHCI 1 and PCBUGI 11 respectively.The principal design programme processes information inputted on two lines assigned to apotentiometric joystick. Positional adjustment of the joystick results in two low level analogue voltage signals on output channels of the potentiometer. Digital signals on the microcontroller output lines are latched and passed through D to Aconverters (ZN559E) resulting in analogue voltages which are further scaled and fed to the controlling pins of the UC3637 PWM converters This in turn effects speed and directional movement of the wheelchair motors and wheels.


(1)

3 1.2 Problem Statement

Nowadays, the number or elderly people has increased. Some live with their children, some live in adult foster home and some even live by themselves. The problem arises when the elderly people lose their ability to move around. Not everyone can be present to help them at all time. Patients involved in physical injuries and disabilities with good mental strength struggle to get through places using the conventional hand powered wheelchair. A wheelchair is a chair with wheels, designed to be a replacement for walking. A wheelchair is a device used for mobility by people for whom walking is difficult or impossible, due to illness or disability. To face this problem, an android device that can control DC motor will be developed.

1.3 Objective

The project is implemented in order to achieve the following objectives which are:

(a) To develop a system that can control the movement of a wheelchair by using android.

(b) To design android control interfaces which are D-pad, Joystick and voice. (c) To design android system that can control electrical appliances.

1.4 Scope of Project

The scope of this project is to study the basic of android from several published papers and books as well as to study the code used to control the movement of the Android-based wheelchair controller. This project focus mainly on how to apply what that have been learned about the android application. The parameters for this project can be divided into several parts which are:


(2)

4

1.4.1 The basic concept of android application

In this project, android application is used to control the movement of the wheelchair. Android is a software bunch comprising not only operating system but also middleware and key applications. Android applications can control two electrical appliances and dc motor.

1.4.2 The basic movement of the wheelchair

The movement of the wheelchair is controlled by the android application. The wheelchair can move to the right and to the left as well as move forward and backward. All of these movements can be controlled by using android application.

1.5 Project Methodology

In order to produce a good project, there are several procedures that must be followed. Initially, information about the wheelchair problem must be identified. Then, more information about the wheelchair problem is gathered from the journals, internet, books and also articles. Besides that, the research continues with the search on the basic concept of android application and also search on coding for basic4android software to be programmed at the android device. Next, after finishing the research, the coding will be simulated in Android Visual Device (AVD) or android phone in order to identify whether the coding can be simulated without any error. After that, the hardware for the android-based wheelchair controller will be designed. Lastly, the hardware will be combined with the coding to get the complete android-based wheelchair controller that will be controlled by android device.


(3)

5 1.6 Thesis Structure

Chapter 1:

The first chapter introduces brief idea of the project. It focused on the overview of the project, detailing the objectives, the problem statement, scope and outcome of the project.

Chapter 2:

Projects background is discussed in this chapter. The method concept, theory, and some characteristic of component of hardware that are used in this project is discussed in this chapter. This chapter also defines terms used in this project and discussed the concept of the research and how it is related with the theory.

Chapter 3:

Chapter 3 describes the methodology used in this project. The schedule or steps that need to be completed and the detailed reports of studies that were done to achieve the aim of the project are presented.

Chapter 4:

Chapter four presents the result and discussion. All the simulations, data collection and analysis obtained will be discussed in detail. The results will be compared with the objectives outlined in order to arrive to some hypothesis and conclusion.

Chapter 5:

Chapter five states the conclusion and future work that can be undertaken. Some recommendations and suggestion on how to improve the performance of the system based on the desired results will be given.


(4)

6 This chapter presents literature review on the development of the wheelchair control as well as android system. The development of the different control system of the wheelchair that aim to help disable people to move freely is discussed. The advantages and disadvantages of each wheel chair development are also presented and compared. This chapter also presents the development of the android system as android system will be utilized in this project.

2.1 Wheelchairs History

To improve quality of life for the elderly and disabled people, electric-powered wheelchairs (EPWs) have been frequently deployed over the last 20 years. In response to the demands of wheelchair users for equal access, hand-propelled wheelchairs, electrically controlled wheelchairs, and automated-guided wheelchairs have been developed.

The development of wheelchair have begun over the past 1000 years and the designs of the wheelchair have been changed within recent decade.

LITERATURE REVIEW


(5)

7 2.2 Previous Development of Wheel Chair Technology

2.2.1 Development of Autonomous Robotic Wheelchair Controller Using Embedded Systems

Chung, Hung, Chin and Ko (2007) developed Autonomous Robotic Wheelchair Controller Using Embedded Systems. In general, an autonomous robotic wheelchair includes the techniques of obstacle sensing and avoidance, local path navigation, and friendly interactions with users when compared to conventional powered wheelchairs. Most of researches on autonomous robotic wheelchairs used the personal computer as the supervisory controller since its powerful computing capacity and familiar coding environment. Nevertheless, the personal computer is not feasible to the wheelchair users due to inefficient size, lower reliability and larger power consumptions.

By using the embedded computing architecture, the proposed robotic wheelchair controller performs characteristics of compact size, better reliability and lower power consumptions while the benefits of powerful computing capacity and familiar coding environment are maintained. Theses fuzzy logic based navigation functions are fused together to solve practical situations of the robotic wheelchairs.

2.2.2 Voice Activated Wheelchair Controller

Rockland (1998) has done simulation of voice activated wheelchair controller. The Voice Activated Wheelchair Controller (VAWC) project was designed to develop a feasibility model for activating a wheelchair using a low-cost speech recognition system. A microcontroller was programmed to provide user control over each command, as well as to prevent voice commands from being issued accidentally.


(6)

8 An AES-88 microcontroller trainer (AESCorporation) was used as the main CPU for the system. The output from the SRS came from the seven segment displays, since each word could be associated with a number. The microcontroller program contained a table, which associated each number with the specific word.

2.2.3 Electronic Wheelchair Controller Designed For Operation By Handoperated Joystick, Ultrasonic Non-Contact Head Control And Utterance From A Small Word-Command Vocabulary

CoFle (1995) has developed electronic wheelchair controller by handoperated joystick. The primary objective at the outset of the research and development undertaken in this project was to investigate use of non-invasive control mechanisms to assist seriously disabled wheelchair users. An entire range of 'contact' switches exists such as pneumatic chin operated switches, tilt and touchswitches. Although undoubtedly useful in certain situations.

The project microprocessor design was carried out using the Motorola M68705R3 controller. More recently this work has been updated and replaced using the popular Motorola microcontroller MC68HC 11.Control programmes were written in assembly language mnemonics and assembled and simulated using ASMHCI 1 and PCBUGI 11 respectively.The principal design programme processes information inputted on two lines assigned to apotentiometric joystick. Positional adjustment of the joystick results in two low level analogue voltage signals on output channels of the potentiometer. Digital signals on the microcontroller output lines are latched and passed through D to Aconverters (ZN559E) resulting in analogue voltages which are further scaled and fed to the controlling pins of the UC3637 PWM converters This in turn effects speed and directional movement of the wheelchair motors and wheels.