FT311 – USB communication with Android devices without drivers

New USB chip from FTDI supports the Android open accessory mode, what enables a straightforward connectivity of USB devices and saves a battery of an Android device.
USB communication with Android devices without drivers
 To connect a device to a smartphone (tablet,…) or other Android OS device via a USB is at the time possible in 2 ways – by means of a USB OTG (On The Go) or via a so called „Android open Accessory“ mode. USB OTG was introduced to you in the article – USB OTG – rather to be a master than a slave. USB OTG functions very well with many external devices but this method has one substantial requirement – your smartphone must recognize a given external device – it must have a suitable driver installed (similarly like at PC). The problem is, that for many USB devices you mast a driver to your Android device, what can be problematic from various reasons – absence of a suitable driver, “locked” system (limited access rights) loss of warranty on an Android device, ….
As a solution of these problems the Android Open Accessory Mode arised, when the role changes upside down and an Android device communicates in the USB device (Slave) slave. It means that the Host role takes an external device, while eliminating a need to develop drivers and guarantees a trouble-free communication. It means that this mode is very suitable for development of new devices intended for operation with Android devices. At the same time, the USB bus is powered from a Host device at this mode, what saves the battery of an Android device. Usually an application in a given OS uses drivers to communicate with a USB device. However in this case no drivers are required – an Android device reads a set of strings describing a given device (producer, model, URL address …) what is able to automatically start an application after connection of a given device. USB communication itself uses 2 endpoints for input and output (Bulk IN and Bulk OUT). That´s why an Open Accessory mode is suitable for all kinds of devices – data producing (sensors, probes,…) but also for data receiving (printers, robots, …).
FT311D brings this solution into reality and functions as a bridge between an Android device and various serial interfaces. It is possible to choose from up to 6 interfaces what suits to perhaps all nowadays devices – UART, PWM, SPI Master, SPI Slave, GPIOS, I2C Master. A great advantage of FT311D is, that the producer – company FTDI provides an extensive development support, including the UMFT311EV development board, code examples and demo applications.
Detailed information will provide you the FT311 datasheet, FT311 WP_001 and FT311D Android programmer guide. Further files can be found on the http://www.ftdichip.com/Android.htm
In case of interest, please contact us at [email protected].
For more detail: FT311 – USB communication with Android devices without drivers

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top