controlling and monitoring external embedded device using android frameworks (aoa)

24
CONTROLLING AND MONITORING EXTERNAL EMBEDDED DEVICE USING ANDROID FRAMWORKS 1

Upload: dhruvilkumar-patel

Post on 17-Jul-2015

1.386 views

Category:

Engineering


3 download

TRANSCRIPT

Page 1: Controlling and monitoring external embedded device using android frameworks (AOA)

CONTROLLING AND MONITORING

EXTERNAL EMBEDDED DEVICE USING

ANDROID FRAMWORKS

1

Page 2: Controlling and monitoring external embedded device using android frameworks (AOA)

Presented by

Dhruvilkumar Patel

[email protected]

2

Page 3: Controlling and monitoring external embedded device using android frameworks (AOA)

OUTLINE

Introduction

Function of usb

USB

Introduction to AOA

Paper 1

Paper 2

Paper 3

Paper 4

Paper 5

Problems

Proposed System3

Page 4: Controlling and monitoring external embedded device using android frameworks (AOA)

INTRODUCTION

What is AOA??

(ANDROID OPEN ACCESSORY)

Simple USB protocol for communication between

peripherals and Android devices

Accessory is the host, Android is the device

Bi-directional communication over two bulk

endpoints

Protocol for associating Android applications with

the hardware they support

4

Page 5: Controlling and monitoring external embedded device using android frameworks (AOA)

FUNCTION OF USB

5

Figure 1 Usb Function

Page 6: Controlling and monitoring external embedded device using android frameworks (AOA)

USB

Host

Controls the entire bus

Keeps track of all attached devices and hubs

Initiates communication with the devices

Is a power source

Devices

Communicates only with the host through

endpoints

Implements standard or vendor specific functions

Can draw power from the host6

Page 7: Controlling and monitoring external embedded device using android frameworks (AOA)

INTRODUCTION TO AOA

7

Figure 2 basic working of AOA

Page 8: Controlling and monitoring external embedded device using android frameworks (AOA)

NEED FOR AOA PROTOCOL/ADK HOST

Peripheral support of typical android gadget

Adding more peripherals like temperature

sensor,CANBus support,SPI,I2C,PWM etc?

With/without rooting of android device

Android USB Host capabilities

USB device capabilities of android gadget

Alternatives for USB – Bluetooth,WiFi etc.

Designing rich UI for your hardware control.

8

Page 9: Controlling and monitoring external embedded device using android frameworks (AOA)

INITIALIZATION

Attempt to start the device in accessory mode

Wait for and detect connected devices

Determine the device’s accessory mode support

9

USB

DEVICE USB

HOST

Vender id

Product id

GET #51 Protocol

AOA 1.0 /2.0START STRING #52

START ACCESSORY #53

Establish communications

Figure 3 Basic working and communication establishment step

Page 10: Controlling and monitoring external embedded device using android frameworks (AOA)

ADK HOST

In this protocol android gadget is kept in device

mode and external hardware will be chosen in host

mode.

Any hardware with USB host capabilities and

capable of supplying a power of 5V@500mA to the

android

device can be chosen for this purpose, which is

called as Android Accessory Development Kit(ADK)

or Accessory Host Simple USB communication with

two bulk end

points10

Page 11: Controlling and monitoring external embedded device using android frameworks (AOA)

PAPER 1:-HOME AUTOMATION AND SECURITY

SYSTEM USING ANDROID ADK

• The system proposed in design a home automation

and security using android ADK(accessory

Development kit).

• The system has

– A standalone embedded system board android ADK.

– Home appliances are connected to ADK and android

mobile devices or tablet.

– All sensor’s are connected to input/output port of

embedded system board

11

Page 12: Controlling and monitoring external embedded device using android frameworks (AOA)

CONTINUED..

12

Figure 4 block diagram of system

Page 13: Controlling and monitoring external embedded device using android frameworks (AOA)

PAPER 2:-WIRELESS MONITORING AND

CONTROL SYSTEM VIA ANDROID

Industrial remote monitoring and control systems

are usually based on PC, but it can hardly be

applied to fields that need mobile communication.

Along with the developing of wireless

communication technology and mobile device,

using mobile devices to realize wireless remote

monitoring and control becomes possible and has

vast development space.

13

Page 14: Controlling and monitoring external embedded device using android frameworks (AOA)

CONTINUED..

14

Figure 5 diagram of system

Page 15: Controlling and monitoring external embedded device using android frameworks (AOA)

PAPER 3:- THE SMARTPHONE ACCESSORY

HEART RATE MONITOR

Smartphone accessory that aims to determine the

human heart rate, especially for cardiac patients

who need to monitor their heart rate.

15Figure 6 block diagram of system

Page 16: Controlling and monitoring external embedded device using android frameworks (AOA)

CONTINUED..

• that can provide patients suffering from cardiac

diseases with a portable heart rate monitor which is

a Smartphone accessory that can be connected via

USB to the phone and help them continuously in

tracking their medical condition and to be alert of

any possible life threatening heart complications in

addition to sharing the resulted heart rate with their

physician by sending an SMS to seek medical help

and supervision with a press of a single button.

16

Page 17: Controlling and monitoring external embedded device using android frameworks (AOA)

PAPER 4:-PERSONAL HEALTH

MONITORING WITH ANDROID BASED

MOBILE

In this paper they developed an android based

mobile data acquisition solution.

Which collects all personalized health information of

the end user store analyze and visualize it on

Smartphone.

The smart phone can collect data form wired

network (USB) and wireless network (Wi-Fi and

Bluetooth)

17

Page 18: Controlling and monitoring external embedded device using android frameworks (AOA)

CONTINUED..

18

Figure 7 model of how system work

Page 19: Controlling and monitoring external embedded device using android frameworks (AOA)

PAPER 5:-DESIGN OF WIRELESS OPTICAL

ACCESS SYSTEM USING LED BASED

ANDROID MOBILE

In this system they demonstrate a directional

wireless visible light communication system based

on android mobile

Two android device transmit there data

simultaneously

The design of hardware is based on usb port.

19

Page 20: Controlling and monitoring external embedded device using android frameworks (AOA)

CONTINUED..

20

Figure 8 how device connected

Page 21: Controlling and monitoring external embedded device using android frameworks (AOA)

PROBLEMS

Using Android accessory protocol we use mainly

ardiuno board as ADK in all above system.

And they are do only specific task

And it dependent on ardiuno software.

21

Page 22: Controlling and monitoring external embedded device using android frameworks (AOA)

PROPOSED SYSTEM

developing the device driver for android open

accessory based system

I mainly focus on Linux based system

In which we can easily interface the device with any

Linux based board.

Using device driver we can access all

bus’s like (can , i2c , spi)

GPIO’s (for input and output)

PWM , different type of sensors

Remote Linux shell access22

Page 23: Controlling and monitoring external embedded device using android frameworks (AOA)

REFERENCE

[1]Javale Deepali, M. M. (March 2013). Home Automation and Security System Using . International Journal of Electronics Communication and Computer Technology (IJECCT) , 382-385.

[2]Lipeng Fan, L. D. (2013). Design of Wireless Optical Access System using LED Based Android Mobile. IEEE .

[3]Lunn, G. (n.d.). Extending the Scope of Android Platforms via USB connectivity.

[4]Maximilian Nicolae, L. L. (2013). Embedding Android devices in automation systems. International Symposium for Design and Technology in Electronic Packaging IEEE .

[5]Personal health monitoring with Android based mobile devices. (2013). MIPRO ,Croatia .

[6]Rajesh Sola, R. (2014). Android Open Accessory Protocol Turn Your Linux machine as ADK. Opensourse for you .

[7]The Smartphone accessory heart rate monitor. (2013). International Conference , 1,5.

[8]Zhen Huang, Y. L. (3ca 2013). Wireless Monitoring and Control System Via Android Tablet PC. 2nd International Symposium on Computer, Communication, Control and Automation , 449-452.

23

Page 24: Controlling and monitoring external embedded device using android frameworks (AOA)

Thank you

24