- 1、本文档共38页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 《毕业论文:单层砖柱厂房的抗震设计研究 》.doc
- 《毕业论文:工程造价双轨制的缺陷和对策研究 》.doc
- 《毕业论文:浅谈会计伦理何去何从-我国会计职业道德现状引起的思考 》.doc
- 《毕业论文:高校财务管理对策研究 》.doc
- 《毕业论文:大学生自主创业问题与对策研究 》.doc
- 《毕业论文:“华芝堂”中草药系列养生保健饮品生产项目可行性研究 》.doc
- 《毕业论文:高校财务管理中的问题与对策研究 》.doc
- 《毕业论文:从风险认识角度看财务风险成因及防范 》.doc
- 《毕业论文:高速公路财务管理模式研究 》.doc
- 《毕业论文:基于校园网ARP欺骗分析及防御技术 》.doc
- 第十一章 电流和电路专题特训二 实物图与电路图的互画 教学设计 2024-2025学年鲁科版物理九年级上册.docx
- 人教版七年级上册信息技术6.3加工音频素材 教学设计.docx
- 5.1自然地理环境的整体性 说课教案 (1).docx
- 4.1 夯实法治基础 教学设计-2023-2024学年统编版九年级道德与法治上册.docx
- 3.1 光的色彩 颜色 电子教案 2023-2024学年苏科版为了八年级上学期.docx
- 小学体育与健康 四年级下册健康教育 教案.docx
- 2024-2025学年初中数学九年级下册北京课改版(2024)教学设计合集.docx
- 2024-2025学年初中科学七年级下册浙教版(2024)教学设计合集.docx
- 2024-2025学年小学信息技术(信息科技)六年级下册浙摄影版(2013)教学设计合集.docx
- 2024-2025学年小学美术二年级下册人美版(常锐伦、欧京海)教学设计合集.docx
最近下载
- 2024年山西省中考语文试题(含答案解析).doc VIP
- 视美泰armpc硬件及小板原理图.pdf VIP
- 独股一箭20w实盘交割单.pptx
- 机场业态保洁服务标书模板A.docx VIP
- 小嘀人脸识别智能锁R5-产品说明书.pdf
- 2020-2021学年辽宁省辽阳市高三(上)联考地理试卷(9月份)(附答案详解).docx VIP
- 广东省广州市白云区2021-2022学年九年级上学期期末历史试题(word版 含答案).docx VIP
- 健康生活科普知识题库.doc VIP
- 珍爱网内心独白.docx
- 广东省广州市白云区2021-2022学年九年级上学期期末历史试题(word版 含答案).pdf VIP
文档评论(0)