controlling and monitoring external embedded device using android frameworks (aoa)
TRANSCRIPT
CONTROLLING AND MONITORING
EXTERNAL EMBEDDED DEVICE USING
ANDROID FRAMWORKS
1
OUTLINE
Introduction
Function of usb
USB
Introduction to AOA
Paper 1
Paper 2
Paper 3
Paper 4
Paper 5
Problems
Proposed System3
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
FUNCTION OF USB
5
Figure 1 Usb Function
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
INTRODUCTION TO AOA
7
Figure 2 basic working of 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
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
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
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
CONTINUED..
12
Figure 4 block diagram of system
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
CONTINUED..
14
Figure 5 diagram of system
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
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
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
CONTINUED..
18
Figure 7 model of how system work
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
CONTINUED..
20
Figure 8 how device connected
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
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
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
Thank you
24