《毕业论文:基于单片机的小型数据采集卡的制作 》.doc

《毕业论文:基于单片机的小型数据采集卡的制作 》.doc

  1. 1、本文档共38页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 数据采集技术是信息科学的一个重要分支,它研究信息数据的采集、存贮、处理以及控制等作业。在智能仪器、信号处理以及工业自动控制等领域,都存在着数据的测量与控制问题。 本文介绍了一款基于单片机的小型数据采集卡的制作过程。用8位模数转换芯片ADC0809采集外部模拟信号,它能够采集8路0---5V的模拟信号。单片机接收AD转换的数据,由串行口送入PC。串行通信采用RS-232C协议,波特率设定为9600,通过设置与该卡匹配的串行通讯格式,在PC的虚拟终端中可以显示接收到的数据。硬件电路采用Keil和Proteus两款软件联合仿真,用以保证原理、程序和硬件连接的正确性。制作印刷电路板还是采用常用软件Protel。 为了能更方便更形象地接收显示数据,在Visual C++平台上,使用Microsoft Communications Control (简称MSComm)控件接收串行口的数据,并在此基础上开发了一个虚拟示波器软件。用VC中的对话框制作了一个示波器面板,并将串行口接收的数据转化为示波器面板上对应的点清晰地显示出来,并且实现了实际示波器具有的一些功能。经测试,整个系统能够采集外部信号并能显示出波形,运行稳定。 关键词:数据采集,串行口,RS-232C协议,MSComm ABSTRACT Data Acquisition technique is an important branch of information science, which researches data acquiring, saving, processing and controlling problems. In the realm of intelligence instruments, signal processing and industrial automatically control, the problem of data measuring and control always exists. This paper introduces the process of manufacturing a single-chip computer based small scale data acquisition card. With an 8 bit analog-digital conversion chip ADC0809 to acquit exterior analogical signal, it can acquit analogical signal range from 0v to 5v on eight roads. The single-chip computer System receives the data converted by A/D converter, and handles to PC through COM port. Serial communicating following RS-232C agreements sets bit ratio to 9600bit/s, and with the matching COM port format, displays the data in the computer’s virtual terminal. In order to ensure the correction of principal, programs and hardware junction adopt Keil and Proteus to simulate hardware circuit, and the popular software Protel to draw PCB (print circuit board). With the purpose of receiving and displaying the data more conveniently and more clearly, I use active X Microsoft Communications Control (brief for MSComm) to receive COM port’s data on Visual C++, and develop a virtual oscilloscope, also make an oscilloscope panel dialog box in VC, and convert the data acquit from COM port to a point which shows on the panel of the os

您可能关注的文档

文档评论(0)

14576 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档