文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学的各位小编整理了电子通信毕业设计-智能仪器的USB接口设计的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
论文编号:CK106 论文字数:11943,页数:41
摘 要
随着计算机技术和移动技术的不断发展,不论是计算机还是仪器仪表,都朝着精简和通用的方向发展。尤其在接口方面,USB接口凭借其接口简洁,通讯速率快等特点,迅速成为计算机最常用的外部接口之一。传统的智能仪器一般多用串口或并口作为其与外部通信的接口,但是目前市场上面的PC机的接口越来越精简,笔记本电脑上基本已经没有串口和并口,有部分台式电脑甚至也出现这种趋势。因此传统智能仪器的普及正在或即将因为其接口而受到限制。本文设计的智能仪器USB接口将能从微处理器接收数据并通过USB接口进行存储,或将智能仪器和计算机通过USB接口进行通信。此系统可以摆脱接口多样化而造成产品使用不方便的困扰,具有普遍的现实意义和实用价值。
关键词:USB接口、智能仪器、通讯接口
Abstract
With the development of the computer and mobile technology, no matter the instrumentation or computer, their interface are going to become more and more simple and current. Particularly in the area of the interface, the USB interface is rapidly becoming one of the most popular interfaces in the computer because of its simple configuration and fast speed. The traditional intelligent devices usually use the serial or parallel to communicate with others. However, in current market, the PC interface is becoming more and more simplify. There is almost no serial or parallel on the laptops. Some desktops are also reducing their interfaces. So the spreading of the traditional intelligent instrumentation is or will be in trouble because of its interface. This paper offers the way of the MCU sending the data into flash memory and saving data and the MCU communicate with the PC using an interface chip. This design can shack off the trouble of variety of interfaces. So it has universal relevance and applied value.
Keywords:USB interface, intelligent instrumentation, communication interface
目 录
摘要…………………………………………………………………………………………………… I
1 绪论………………………………………………………………………………………………… 1
2 总体设计方案…………………………………………………………………………………… 2
2.1 系统总体结构……………………………………………………………………………… 2
2.2 系统硬件结构……………………………………………………………………………… 2
2.3 系统总体软件流程………………………………………………………………………… 3
3 系统硬件设计…………………………………………………………………………………… 5
3.1 LPC2103系统硬件概况 ………………………………………………………………… 5
3.2 接口芯片CH375…………………………………………………………………………… 10
4 软件设计……………………………………………………………………………………… 17
4.1 主机模式…………………………………………………………………………………… 17
4.2 设备模式…………………………………………………………………………………… 20
5 结论 …………………………………………………………………………………………… 21
致谢 ………………………………………………………………………………………………… 22
参考文献…………………………………………………………………………………………… 23
附录1 主机模式程序…………………………………………………………………………………25
附录2 设备模式程序…………………………………………………………………………………34
附录3 硬件实物图……………………………………………………………………………………37