Android Open Accessory 相關資訊整理
Android Open Accessory 介紹
●Open Accessory 可以使外部周邊設備(accessory)透過USB 即可與Android
Device 做溝通及連結,並且提供相關Java API 使Android application 可以與外接設備端做溝通
●僅支援Android 2.3.4 以上版本→稍微舊的版本不被Open Accessory 支
●手機方面僅能執行Accessory Mode,表示如果透過擁有Android 2.3.4 以上
的OS 的手機來搭配外接設備時,手機僅能當作USB Client,則外接設備為USB Host。而Android 3.1 以上的OS 的平板裝置則可以當作USB Host 來與外接設備做串接
●目前僅支援外接一個設備
●此溝通之協定主要透類似Handshakeing 之方式實行
●僅支援Arduino
ADB (Android Debug Bridge) 介紹
●內建於所以Android OS device 中,是Android 內建的Debug 工具,當機
器上有打開USB debug mode 時,使用者即可通過adb 進行各種debug 、底層(linux user space)的Android 功能。
●比較常用的功能:
⏹Debug tool
⏹安裝Android Application
⏹連接外接設備,提供有用的服務。例如file-system 存取、Linux shell 存
取及比較值得注意的是可監聽TCP socket,這個可以讓Android
Application 透過特定的port 來接收從外接設備以連結的資料
ADB's main advantages over OpenAccessory are:
●Available on any Android device.
●Provides useful features, such as file-system access (IOIO uses this for firmware
eclipse android
upgrades).
●More mature, does not suffer from some problems currently existing in
OpenAccessory.
●Simpler to work with on the Android application side - just listen on a TCP
socket.
OpenAccessory's main advantages over ADB are:
●Better throughput and latency.
●Does not require the user to enable USB debugging.
●More secure (IOIO takes its own measures to guarantee that the power of ADB
cannot be exploited by a malicious firmware).
●Allows applications to be notified upon connection of the accessory. The user
can choose which application to launch when the accessory connects. This might be doable with ADB too, but IOIO doesn't do that.
目前網路上常見支援ADK 的開發板
1.Microchip $79.9
The Microchip PIC24F Accessory Development Start Kit for Android™ is a standalone board used for evaluating and developing electronic accessories for Google’s Android operating system for smar tphones and tablets.
This starter kit bundles five major components:
●16-bit PIC24F Development Board
●PICkit 3 In-Circuit Debugger (PG164130)
●RJ-11 to ICSP Adapter (AC164110)
●9V Power Supply (AC002014)
●Royalty Free, No Fee Licensed Software Library
Board Features:
●PIC24F 16-bit PIC® MCU with USB OTG
●Type A USB connector
●User interface buttons
●LEDs and potentiometer
●Device charger circuitry up to 500mA
●Arduino footprint compatible for prototyping
2.DIYDRONES $99
PhoneDrone Board for Android
SPECIFICATIONS:
• 8 Input&output PWMs
• Native USB host master (MAX3421)
• Native USB slave (Atmega32-au)
• Arduino Compatible
• Atmega2560 as main controller
• Atmega32-u2 as FTDI substitute and PPM encoder
• Three spare serial ports to communicate with other boards (including APM)
• Build-in 5V-2A switched power regulator (input range 6V - 36V)
• Build-in 3.3V LDO power regulator
• Android
• All Atmega2560 pins exposed.
• High quality PCB is ROHS/lead free, Gold immersed.
• Dimensions: 4" x 1.6"...
3.MODERN DEVICE $65
Freeduino USB Host Board
Specifications:
●  1.5A linear regulator for external power jack
●6-9 volts external power, with 6 volts being ideal.
●Power negotiation with USB
●USB hosting via MAX3421 chip
●Arduino (TM) UNO form factor minus one mounting hole
●board size 3.4" x 2.1"
●green prototypes, production boards will be white
●CC share alike / open hardware license

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。