FTDriver is no more supported.
====
We are developing a new USB Serial Driver **"Physicaloid Library".**
Physicaloid Library is FTDriver + Arduino Writer + CP210x Driver and has simple APIs.
[https://github.com/ksksue/PhysicaloidLibrary](https://github.com/ksksue/PhysicaloidLibrary)
Android USB Serial Driver
=====
USB Serial Driver using Android USB Host API
- Java source code
- **no root**
- baudrate : 9600 - 230400 (be able to setting immediate baudrate number)
- support FTDI chips (FT232RL, FT232H, FT2232C/D/HL, FT4232HL FT230X, REX-USB60F/MI(FT232BL) checked)
- support any channels (FT2232X:2ch, FT4232X:4ch)
- support CDC-ACM(beta)
- like Arduino library's interface
Connection
Android [USB A port] --- [USB B port] FTDI Chip
- requirement
- Android : version 3.1 or upper and have an USB host port
- Board : FTDI Chip or CDC-ACM(beta)
Projects
-----
- Library Project
**FTDriver** : Driver for connecting an FTDI chip to Android USB host port
- Sample Projects
**FTSampleTerminal** : very simple terminal
**FTSerialCSV** : serial communication with a Genet educational board ([www.genet-nara.jp](www.genet-nara.jp "genet")) in CSV format (Thanks for Heima Hayashida)
![genet](https://lh3.googleusercontent.com/-nj_EGL5D-nY/Tsu-OodpQJI/AAAAAAAABaY/zh6p2mhpg24/s400/DSC_0444.JPG "genet")
Fig. Connecting an Android tablet to a Genet board(FT232RL) by a USB cable.(ET2011 Forum in Japan)
Interfaces
----------------
new
mSerial = new FTDriver((UsbManager)getSystemService(Context.USB_SERVICE));
open
mSerial.begin(FTDriver.BAUD9600);
+ baud rate (bps)
BAUD9600
BAUD14400
BAUD19200
BAUD38400
BAUD57600
BAUD115200
BAUD230400
and be able to setting immediate baud rate (no check).
read n bytes
byte[] rbuf = new byte[n];
len = mSerial.read(rbuf);
read n bytes from channel p
byte[] rbuf = new byte[n];
len = mSerial.read(rbuf, n, p)
write n bytes
byte[] wbuf = new byte[n];
...(set wbuf)
len = mSerial.write(wbuf,n);
write n bytes to channel p
byte[] wbuf = new byte[n];
...(set wbuf)
len = mSerial.write(wbuf,n,p);
close
mSerial.end();
About me
---
![twitter](http://d.hatena.ne.jp/images/icon-twitter.png "twitter") [@ksksue](http://twitter.com/#!/ksksue "twitter @ksksue")
![画像1](http://a1.twimg.com/profile_images/549237316/twt_bigger.jpg "icon")
Web page : Geekle Board - [http://ksksue.com/wiki/](http://ksksue.com/wiki/ "Geekle Board")
License
----------
Copyright © 2011 @ksksue
Licensed under the [Apache License, Version 2.0][Apache]
[Apache]: http://www.apache.org/licenses/LICENSE-2.0
没有合适的资源?快使用搜索试试~ 我知道了~
Android3.xUSB主机串行驱动程序Java_下载
共74个文件
png:27个
xml:22个
java:5个
需积分: 0 0 下载量 24 浏览量
2022-08-31
10:23:31
上传
评论
收藏 385KB ZIP 举报
温馨提示
(更多详情、使用方法,请下载后细读README.md文件) \n我们正在开发一种新的 USB 串行驱动程序“Physicaloid Library”。\nPhysicaloid 库是 FTDriver + Arduino Writer + CP210x 驱动程序,并具有简单的 API。\n://github./ksksue/PhysicaloidLibrary\nAndroid USB 串行驱动程序\n使用 Android USB Host API 的 USB 串行驱动程序\nJava源代码\n无根\n波特率:9600 - 230400(可以设置即时波特率)\n支持FTDI芯片(FT232RL, FT232H, FT2232C/D/HL, FT4232HL FT230X, REX-USB60F/MI(FT232BL) 勾选)\n支持任意通道(FT2232X:2ch, FT4232X:4ch)\n支持CDC-ACM(beta)\n像 Arduino 库的界面\n联系\nAndroid [USB A port] --- [USB B port] FTDI Chi
资源详情
资源评论
资源推荐
收起资源包目录
Android3.xUSB主机串行驱动程序.zip (74个子文件)
FTDriver-master
tutorial
reference.png 130KB
FTDriverTutorial1
bin
res
drawable-ldpi
ic_launcher.png 861B
drawable-hdpi
ic_launcher.png 1KB
ic_action_search.png 409B
drawable-xhdpi
ic_launcher.png 2KB
ic_action_search.png 491B
drawable-mdpi
ic_launcher.png 1KB
ic_action_search.png 311B
FTDriverTutorial1.apk 154KB
AndroidManifest.xml 808B
res
drawable-ldpi
ic_launcher.png 734B
values-v11
styles.xml 90B
menu
activity_ftdriver_tutorial1.xml 240B
drawable-hdpi
ic_launcher.png 1KB
ic_action_search.png 3KB
drawable-xhdpi
ic_launcher.png 2KB
ic_action_search.png 3KB
values
strings.xml 267B
styles.xml 85B
drawable-mdpi
ic_launcher.png 959B
ic_action_search.png 3KB
layout
activity_ftdriver_tutorial1.xml 1KB
proguard-project.txt 781B
ic_launcher-web.png 19KB
gen
jp
ksksue
tutorial
ftdrivertutorial1
BuildConfig.java 178B
src
jp
ksksue
tutorial
ftdrivertutorial1
FTDriverTutorial1.java 4KB
.project 820B
.classpath 356B
project.properties 606B
AndroidManifest.xml 808B
NOTICE.txt 120B
sample
FTSerialCSV
res
drawable-ldpi
ic_launcher.png 2KB
drawable-hdpi
indicator_button_capacitive_off_noglow.png 3KB
ic_launcher.png 4KB
indicator_button_capacitive_on_noglow.png 2KB
values
colors.xml 154B
strings.xml 234B
attrs.xml 193B
styles.xml 3KB
drawable-mdpi
ic_launcher.png 3KB
layout
main.xml 3KB
templightcontainer.xml 3KB
xml
device_filter.xml 806B
proguard.cfg 1KB
src
jp
ksksue
sample
FTSerialCSVActivity.java 11KB
.project 811B
.classpath 356B
project.properties 426B
AndroidManifest.xml 1KB
FTSampleTerminal
res
drawable-ldpi
ic_launcher.png 2KB
drawable-hdpi
ic_launcher.png 4KB
values
strings.xml 157B
drawable-mdpi
ic_launcher.png 3KB
layout
main.xml 1KB
xml
device_filter.xml 904B
proguard.cfg 1KB
src
jp
ksksue
sample
FTSampleTerminalActivity.java 5KB
.project 819B
.classpath 356B
project.properties 426B
AndroidManifest.xml 1KB
FTDriver
res
drawable-ldpi
ic_launcher.png 2KB
drawable-hdpi
ic_launcher.png 4KB
values
strings.xml 158B
drawable-mdpi
ic_launcher.png 3KB
layout
main.xml 387B
proguard.cfg 1KB
src
jp
ksksue
driver
serial
FTDriver.java 35KB
.project 811B
.classpath 356B
project.properties 382B
AndroidManifest.xml 390B
.gitignore 157B
README.md 3KB
共 74 条
- 1
m0_57781768
- 粉丝: 8922
- 资源: 403
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0