Go to file
mike wakerly 3812fbcb55 cdc: Remove spurious readAmt line from previous commit. 2012-10-12 09:04:27 -07:00
UsbSerialExamples Update device support; change interface to abstract base class. 2012-10-10 22:52:02 -07:00
UsbSerialLibrary cdc: Remove spurious readAmt line from previous commit. 2012-10-12 09:04:27 -07:00
arduino Add example arduino program. 2012-08-30 17:08:44 -07:00
.gitignore Add gitignore. 2012-10-10 21:45:48 -07:00
CHANGELOG.txt Initial commit. 2011-12-28 16:29:17 -08:00
LICENSE.txt Initial commit. 2011-12-28 16:29:17 -08:00
README.md Initial commit. 2011-12-28 16:29:17 -08:00

README.md

usb-serial-for-android

Library for talking to Arduinos and other USB serial devices on Android, using USB Host mode and Android 3.1+

Homepage: http://code.google.com/p/usb-serial-for-android

About

This project provides an Android userspace driver for USB serial devices. You can use it to talk to your Arduino, or any other supported serial devices.

Usage

Download the sources. Inside you will find two Eclipse projects:

  • UsbSerialLibrary - the main library code, an "Android Library" project.
  • UsbSerialExamples - a demo Android application

In Eclipse, open "File", "Import", and then select "General, "Existing Projects into Workspace".

Navigate to the directory you just checked out and import both projects. Then run the demo application.

Compatible Serial Devices

Supported and tested:

  • FT232R

Possibly supported (untested):

  • FT232H
  • FT2232D
  • FT2432H

Unsupported (send patches!):

  • Arduino Uno (CDC)

Compatible Android Devices

Supported and tested:

  • Motorola Xoom, Android 3.1/3.2

Possibly supported (untested):

  • Samsung Galaxy Tab 10.1

This library is licensed under LGPL Version 2.1. Please see LICENSE.txt for the complete license.

Copyright 2011, Google Inc. All Rights Reserved.

Portions of this library are based on libftdi (http://www.intra2net.com/en/developer/libftdi). Please see FtdiSerialDriver.java for more information.

Contributing

Patches are welcome. We're especially interested in supporting more devices. Please open a bug report.

Credits

Author/maintainer: mike wakerly opensource@hoho.com

Contributors: