- 1、本文档共34页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
四川师范大学成都学院本科毕业设计
基于USB的数据采集卡设计
学生姓名 杜学成 学 号 2009101038 所 在 系 通信工程系 专业名称 通信工程 班 级 2009级1班 指导教师
段纯爽
四川师范大学成都学院
二○一三年三月
基于USB的数据采集卡设计
学生:杜学成 指导教师:段纯爽
内容摘要:本论文所设计的数据采集卡是在单片机AT89C5131控制下进行数据采集,主要核心部分是微控制器和USB控制器,通过两者结合实现上位机和下位机之间的USB通信,使用AT89C5131单片机采集到数据通过USB数据线传输给PC机,在从PC机上的USB数据采集界面,可显示出采集数据的波形图功能,最后实现数据采集功能。
在数据采集系统中,传统外接设备与主机通信口一般采用ISA、PCI、1394等标准,但是基于这些接口的产品,要不安装麻烦,要不就是价格昂贵,还受到计算机插槽数量和地址中断资源的限制,并且可扩展性差,但USB的出现很好地解决了以上所有问题。作为一种新型串口通信标准,它不但具有较高的传输速率,而且可扩展性好、采用总线供电,因此使用起来更加灵活。USB数据采集共有4种传输模式:同步传输、控制传输、批量传输、中断传输,以此用来适应不同设备的需求。同时信息技术与电子技术发展迅猛,也使得计算机和计算机外围设备得到飞速发展和应用。过去人们单纯追求计算机与外设之间的数据传输速度,而现在操作安装的简易性和纠错能力也成为人们关注的问题。USB通讯技术出现后,使高传输速度、强纠错能力、易扩展性、即插即用等优点有机的结合在一起,使得USB数据采集发展前景更为广阔。
关键词:数据采集 USB接口 控制器
Design of data acquisition card based on USB
Abstract:The data acquisition system designed is under the control of SCM data acquisition in AT89C5131. The micro controller and the USB controller as the core part, implementation of USB communication between upper machine and lower machine through the combination of the two, there to the data line via the USB data is transmitted to the PC through the AT89C5131 collection. And the development of applications on PC, from the USB data acquisition interface on PC machine, can display the waveform function of data acquisition, data acquisition function.
In data acquisition system, communication host and peripherals traditional mouth generally use the ISA, PCI, 1394 standards, these interface products, based on the installation of trouble, the price is expensive, and the slot number, address and interrupt resources constraints, poor scalability, USB, is a good solution to the above problem. USB is a kind of serial communication standard model, the transmission rate is high, good scalability, the bus power supply, the use of flexible. It has a total of 4 transmission modes: control transfer, interrupt transfer, synchronous transmission, mass transfer, in order to adapt to the nee
文档评论(0)