SlideShare a Scribd company logo
1 of 21
Development, debug and
deploy
hardware/software
solutions based on
Android and Arduino
                                      Ilya Rodin
                         Senior Android Engineer
                                 Lohika Systems
Arduino
Introduction into Arduino

Arduino is…

Open-source electronics
prototyping platform

Open-source development
environment

A lot of electronics circuit
elements, Arduino-base
schemes and kits

e.t.c



                                3
Hardware
           Microcontroller          ATmega2560

           Operating Voltage        5V

           Input Voltage
                                    7-12V
           (recommended)

           Input Voltage (limits)   6-20V

                                    54 (of which 15 provide
           Digital I/O Pins
                                    PWM output)

           Analog Input Pins        16

           DC Current per I/O
                                    40 mA
           Pin
           DC Current for 3.3V
                                    50 mA
           Pin

                                    256 KB of which 8 KB used
           Flash Memory
                                    by bootloader


           SRAM                     8 KB

           EEPROM                   4 KB

           Clock Speed              16 MHz




                                                          4
Development environment
                Cross-platform Java-base IDE

                Simple C++ base language                         •Begin
                 •    Well known language constructions
                      (class, variables, loops, operators,
                      methods, etc…)

                 •    You can use already created library         setup()
                      (LiquidCrystal, EEPROM, Servo,
                      TinyGPS, erc…)

                 •    You can create new library, if it needed…

                Simple application life circle
                                                                  loop()
                Port Monitor toolkit

                etc…




                                                                            5
… and something more
   Connection by Digital I/O

    •   PWD

    •   UART

    •   I2C/TWI

    •   SPI devices

    •   DC motors

    •   etc..

   Connection by Analog port

    •   Microphone

    •   Sensors

    •   AC drive

    •   etc…




                                6
Hey, bro!
What about
 Android?
Android Open Accessory
Support in…and higher
Android SDK 3.1 (API 12)
Google API add-on lib for Android 2.3.4
(API 10)




                                           Implemented…
                                           USB Host Mode
                                           Accessory Mode




                                                             8
How it is work?

1.   Wait for and detect connected devices

2.   Determine the device's accessory mode support

     •   The attached device supports Android accessory mode and
         is already in accessory mode.

     •   The attached device supports Android accessory mode, but
         it is not in accessory mode.

     •   The attached device does not support Android accessory
         mode.


3.   Attempt to start the device in accessory mode if needed

4.   Establish communication with the device if it supports the
     Android accessory protocol




                                                                    9
AOA 2.0


                                         New products Ids…
                                         AOA 1.0

                                            •   0x2D00 – accessory


                                            •   0x2D01 – accessory+ADB


                                         AOA 2.0

                                            •   0x2D02 – audio

    New features…                           •   0x2D03 – audio+ADB


    Audio output by USB (only for          •   0x2D02 – accessory+audio
    Android 4.1 (API 16) and higher)
                                            •   0x2D03 – accessory+audio+ADB
    Support multi-connection with HID
    devices




                                                                               10
Trouble…
Limitations…
High API level
Some Android devices do not support
Accessory/Host Mode

Android Emulator do not support USB




                                       Resolving…
                                       Try use MicroBridge Mode
                                       Try use MicroBridge Mode

                                       ×Actually not resolved




                                                                   11
ok, it is clear…
 ADK ?! O_o
Android Development Kit


        ADK 2011          ADK 2012




                                     13
IOIO



  Spark Fun IOIO it is…
  Low cost PIC24FJ256-DA206 base
  platform

  Support connection by Digital Input/Output,
  PWM, Analog Input, I2C, SPI, and UART.

  Support Android 1.5 and higer




                                                 14
Proteus Design Suit




                      16
LabVIEW 2012




               17
Workshop
Find out more…

                 http://developer.android.com/tools/adk/


                 http://www.arduino.cc/


                 https://github.com/ytai/ioio/


                 http://code.google.com/p/microbridge/
Q&A
Thank you!

More Related Content

What's hot

Arduino Programming Software Development
Arduino Programming Software DevelopmentArduino Programming Software Development
Arduino Programming Software DevelopmentSanjay Kumar
 
Smartphone++
Smartphone++Smartphone++
Smartphone++mharkus
 
Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming Pawan Dubey, PhD
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the ArduinoCharles A B Jr
 
Developing a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT EditionDeveloping a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT EditionIntel® Software
 
IoT Devices, Which One Is Right for You to Learn?
IoT Devices, Which One Is Right for You to Learn?IoT Devices, Which One Is Right for You to Learn?
IoT Devices, Which One Is Right for You to Learn?Agustaf Ryadi
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Monitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMonitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMR Selamet
 
My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentationSham Arsenal
 
MicroEJ OS for IoT devices
MicroEJ OS for IoT devicesMicroEJ OS for IoT devices
MicroEJ OS for IoT devicescharlotte75009
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things HardwareDaniel Eichhorn
 
Arduino Uno Board - Robomart
Arduino Uno Board - RobomartArduino Uno Board - Robomart
Arduino Uno Board - Robomartraspberrypib
 

What's hot (18)

Arduino Programming Software Development
Arduino Programming Software DevelopmentArduino Programming Software Development
Arduino Programming Software Development
 
Smartphone++
Smartphone++Smartphone++
Smartphone++
 
Report
ReportReport
Report
 
Arduino day
Arduino dayArduino day
Arduino day
 
Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming
 
Arduino
ArduinoArduino
Arduino
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 
Developing a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT EditionDeveloping a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT Edition
 
IoT Devices, Which One Is Right for You to Learn?
IoT Devices, Which One Is Right for You to Learn?IoT Devices, Which One Is Right for You to Learn?
IoT Devices, Which One Is Right for You to Learn?
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Ardunio
ArdunioArdunio
Ardunio
 
Monitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMonitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data Recording
 
My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentation
 
Road to RIoT 2017 Medan
Road to RIoT 2017 MedanRoad to RIoT 2017 Medan
Road to RIoT 2017 Medan
 
MicroEJ OS for IoT devices
MicroEJ OS for IoT devicesMicroEJ OS for IoT devices
MicroEJ OS for IoT devices
 
Arduino
ArduinoArduino
Arduino
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things Hardware
 
Arduino Uno Board - Robomart
Arduino Uno Board - RobomartArduino Uno Board - Robomart
Arduino Uno Board - Robomart
 

Similar to Develop, debug and deploy Android and Arduino hardware/software solutions

4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdfRynefelElopre2
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1Felipe Belarmino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoRichard Rixham
 
Multipilot pres-ufficiale def
Multipilot pres-ufficiale defMultipilot pres-ufficiale def
Multipilot pres-ufficiale defRoberto Navoni
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduinozvikapika
 
Arduino overview - introducing
Arduino overview - introducingArduino overview - introducing
Arduino overview - introducingajiew
 
2015 02 28 DotNetSpain IoT Fight
2015 02 28 DotNetSpain IoT Fight2015 02 28 DotNetSpain IoT Fight
2015 02 28 DotNetSpain IoT FightBruno Capuano
 
Arduino training day 1
Arduino training day 1Arduino training day 1
Arduino training day 1Binod Thapa
 
Aurdidino1 anurag preetirajesh-sgsits
Aurdidino1  anurag preetirajesh-sgsitsAurdidino1  anurag preetirajesh-sgsits
Aurdidino1 anurag preetirajesh-sgsitsanurag278
 
aoa-adk-osidays-rajeshsola
aoa-adk-osidays-rajeshsolaaoa-adk-osidays-rajeshsola
aoa-adk-osidays-rajeshsolaRajesh Sola
 
Overview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitOverview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitIntel® Software
 
Android Based Robots
Android Based RobotsAndroid Based Robots
Android Based Robotsrobotics25
 
Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011Roberto Navoni
 

Similar to Develop, debug and deploy Android and Arduino hardware/software solutions (20)

What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
Indroduction arduino
Indroduction arduinoIndroduction arduino
Indroduction arduino
 
Indroduction the arduino
Indroduction the arduinoIndroduction the arduino
Indroduction the arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Getting started with arduino uno
Getting started with arduino unoGetting started with arduino uno
Getting started with arduino uno
 
Multipilot pres-ufficiale def
Multipilot pres-ufficiale defMultipilot pres-ufficiale def
Multipilot pres-ufficiale def
 
arduinoedit.pptx
arduinoedit.pptxarduinoedit.pptx
arduinoedit.pptx
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
 
Arduino overview - introducing
Arduino overview - introducingArduino overview - introducing
Arduino overview - introducing
 
2015 02 28 DotNetSpain IoT Fight
2015 02 28 DotNetSpain IoT Fight2015 02 28 DotNetSpain IoT Fight
2015 02 28 DotNetSpain IoT Fight
 
Arduino
ArduinoArduino
Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino training day 1
Arduino training day 1Arduino training day 1
Arduino training day 1
 
Aurdidino1 anurag preetirajesh-sgsits
Aurdidino1  anurag preetirajesh-sgsitsAurdidino1  anurag preetirajesh-sgsits
Aurdidino1 anurag preetirajesh-sgsits
 
aoa-adk-osidays-rajeshsola
aoa-adk-osidays-rajeshsolaaoa-adk-osidays-rajeshsola
aoa-adk-osidays-rajeshsola
 
Overview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitOverview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer Kit
 
Android Based Robots
Android Based RobotsAndroid Based Robots
Android Based Robots
 
Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011
 

Recently uploaded

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 

Recently uploaded (20)

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 

Develop, debug and deploy Android and Arduino hardware/software solutions

  • 1. Development, debug and deploy hardware/software solutions based on Android and Arduino Ilya Rodin Senior Android Engineer Lohika Systems
  • 3. Introduction into Arduino Arduino is… Open-source electronics prototyping platform Open-source development environment A lot of electronics circuit elements, Arduino-base schemes and kits e.t.c 3
  • 4. Hardware Microcontroller ATmega2560 Operating Voltage 5V Input Voltage 7-12V (recommended) Input Voltage (limits) 6-20V 54 (of which 15 provide Digital I/O Pins PWM output) Analog Input Pins 16 DC Current per I/O 40 mA Pin DC Current for 3.3V 50 mA Pin 256 KB of which 8 KB used Flash Memory by bootloader SRAM 8 KB EEPROM 4 KB Clock Speed 16 MHz 4
  • 5. Development environment  Cross-platform Java-base IDE  Simple C++ base language •Begin • Well known language constructions (class, variables, loops, operators, methods, etc…) • You can use already created library setup() (LiquidCrystal, EEPROM, Servo, TinyGPS, erc…) • You can create new library, if it needed…  Simple application life circle loop()  Port Monitor toolkit  etc… 5
  • 6. … and something more  Connection by Digital I/O • PWD • UART • I2C/TWI • SPI devices • DC motors • etc..  Connection by Analog port • Microphone • Sensors • AC drive • etc… 6
  • 8. Android Open Accessory Support in…and higher Android SDK 3.1 (API 12) Google API add-on lib for Android 2.3.4 (API 10) Implemented… USB Host Mode Accessory Mode 8
  • 9. How it is work? 1. Wait for and detect connected devices 2. Determine the device's accessory mode support • The attached device supports Android accessory mode and is already in accessory mode. • The attached device supports Android accessory mode, but it is not in accessory mode. • The attached device does not support Android accessory mode. 3. Attempt to start the device in accessory mode if needed 4. Establish communication with the device if it supports the Android accessory protocol 9
  • 10. AOA 2.0 New products Ids… AOA 1.0 • 0x2D00 – accessory • 0x2D01 – accessory+ADB AOA 2.0 • 0x2D02 – audio New features… • 0x2D03 – audio+ADB Audio output by USB (only for • 0x2D02 – accessory+audio Android 4.1 (API 16) and higher) • 0x2D03 – accessory+audio+ADB Support multi-connection with HID devices 10
  • 11. Trouble… Limitations… High API level Some Android devices do not support Accessory/Host Mode Android Emulator do not support USB Resolving… Try use MicroBridge Mode Try use MicroBridge Mode ×Actually not resolved 11
  • 12. ok, it is clear… ADK ?! O_o
  • 13. Android Development Kit ADK 2011 ADK 2012 13
  • 14. IOIO Spark Fun IOIO it is… Low cost PIC24FJ256-DA206 base platform Support connection by Digital Input/Output, PWM, Analog Input, I2C, SPI, and UART. Support Android 1.5 and higer 14
  • 15.
  • 19. Find out more… http://developer.android.com/tools/adk/ http://www.arduino.cc/ https://github.com/ytai/ioio/ http://code.google.com/p/microbridge/
  • 20. Q&A