0
Development, debug anddeployhardware/softwaresolutions based onAndroid and Arduino                                      Il...
Arduino
Introduction into ArduinoArduino is…Open-source electronicsprototyping platformOpen-source developmentenvironmentA lot ...
Hardware           Microcontroller          ATmega2560           Operating Voltage        5V           Input Voltage      ...
Development environment                Cross-platform Java-base IDE                Simple C++ base language             ...
… and something more   Connection by Digital I/O    •   PWD    •   UART    •   I2C/TWI    •   SPI devices    •   DC motor...
Hey, bro!What about Android?
Android Open AccessorySupport in…and higherAndroid SDK 3.1 (API 12)Google API add-on lib for Android 2.3.4(API 10)      ...
How it is work?1.   Wait for and detect connected devices2.   Determine the devices accessory mode support     •   The att...
AOA 2.0                                         New products Ids…                                         AOA 1.0        ...
Trouble…Limitations…High API levelSome Android devices do not supportAccessory/Host ModeAndroid Emulator do not support...
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,...
Proteus Design Suit                      16
LabVIEW 2012               17
Workshop
Find out more…                 http://developer.android.com/tools/adk/                 http://www.arduino.cc/             ...
Q&A
Thank you!
Development, debug and deploy hardware/software solutions based on Android and Arduino
Upcoming SlideShare
Loading in...5
×

Development, debug and deploy hardware/software solutions based on Android and Arduino

499

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
499
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Development, debug and deploy hardware/software solutions based on Android and Arduino "

  1. 1. Development, debug anddeployhardware/softwaresolutions based onAndroid and Arduino Ilya Rodin Senior Android Engineer Lohika Systems
  2. 2. Arduino
  3. 3. Introduction into ArduinoArduino is…Open-source electronicsprototyping platformOpen-source developmentenvironmentA lot of electronics circuitelements, Arduino-baseschemes and kitse.t.c 3
  4. 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. 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. 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
  7. 7. Hey, bro!What about Android?
  8. 8. Android Open AccessorySupport 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. 9. How it is work?1. Wait for and detect connected devices2. Determine the devices 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 needed4. Establish communication with the device if it supports the Android accessory protocol 9
  10. 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. 11. Trouble…Limitations…High API levelSome Android devices do not supportAccessory/Host ModeAndroid Emulator do not support USB Resolving… Try use MicroBridge Mode Try use MicroBridge Mode ×Actually not resolved 11
  12. 12. ok, it is clear… ADK ?! O_o
  13. 13. Android Development Kit ADK 2011 ADK 2012 13
  14. 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. 15. Proteus Design Suit 16
  16. 16. LabVIEW 2012 17
  17. 17. Workshop
  18. 18. Find out more… http://developer.android.com/tools/adk/ http://www.arduino.cc/ https://github.com/ytai/ioio/ http://code.google.com/p/microbridge/
  19. 19. Q&A
  20. 20. Thank you!
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×