Saturday, February 11, 2012

[android-developers] Re: control micro-controller or any Hardware

There are basically three ways:

1) If you can constrict it to Android devices with USB host capability
and Android > 3.1 (basically good android tablets), you can use the
USB APIs with the android device as Master (see
http://developer.android.com/sdk/android-3.1.html, section "USB
APIs").

2) If you don't have USB host capability in the android devices, you
can use the USB APIs with a "USB accessory" (see the same link as
above). However, this still requires at least Android 3.1 and "USB
accessory" basically means your USB hardware has to be designed &
programmed for this.

3) If you want to implement your solution for "all" (well, actually
most) android devices, even prior to Android 3.1, you need special USB
Host hardware. A simple way to go is the IOIO board. Basically, it's a
microprocessor board based on a PIC microprocessor with USB host
support and a (freely available) firmware & and an Android library
that can communicate with each other. This board can be connected to
the normal USB connector you use to connect your android device with a
PC.

Some links:
http://www.sparkfun.com/products/10748
https://github.com/ytai/ioio/wiki
https://github.com/ytai/ioio/wiki/Getting-To-Know-The%20Board


On 10 Feb., 18:32, abhijeet tomar <abhijeet...@gmail.com> wrote:
> How to control micro-controller or any Hardware through Andrroid Apps using
> USB Cable??

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment