Skip to content

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

License

Notifications You must be signed in to change notification settings

sdikiy/usb-serial-for-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

License and Copyright

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 [email protected]

Contributors:

About

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.6%
  • Other 1.4%