- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
用VB实现多点测温管理软件系统
摘 要 本文讨论了单片机与PC机的串口,通过指令和数据的传送来实现控制功能,并利用VB提供的MSComm通信控件非常方便地编写了Windows环境下的串口通信程序,且结合实例给出了具体说明。 上位机监控管理软件采用VB编制,用户可以通过向通讯控制总站发送命令,提取下位机温湿度数据,完成温度检测。 文中给出了通信协议设计,硬件设计和软件设计。协议中有6种通信命令,适用于各种数据交换。硬件方面设计了时钟电路和波特率配置。软件方面完成了中断子程序、数据交换子程序和上位机串行通讯程序的设计、编写和调试。 总体说来,本系统上位机软件功能齐全,系统实用性强,成本低,数据传输率高,容量大,可靠性好。它不仅可以应用于粮库的监控管理,而且也可推广到其他监控领域,因此具有广泛的应用前景。 关键词:Visual Basic 6.0;单片机;温度曲线;串行通信;MSComm控件 Abstract This paper discussed microcontroller and clusters of mouth of PC realize controlling function through order and conveyance of datum, Exploit o~ red by VB MSComm communication controlling part can write Windows bunches of mouthfuls of communication procedure of environment conveniently very much.Combine instance provide concrete to prove. The software for master is programmed with VB, and customers can send commands to the station to obtain the temperature data of granary. The paper designs the serial communication protocol, the hardware and software, There are six commands that can apply all kinds of data exchange in the serial communication protocol,In the hardware,the clock circuit is designed,and the baud rate is configuredIn the software, the programs, such as the interruption subroutine, data exchange subroutine and the host serial communication subroutine, are designed, compiled and debugged. In a word, this system possesses the merit of practicabilityhigh technology, low cost, high speed and long distance in data transmitting and high reliability. It can be used not only in granary management but other monitor management system. It has broad application potentiality and great meaning. Key words: Visual Basic 6.0; microcontroller; temperature curve; serial communication;controlling part 目 录 1 绪论 1 2 系统硬件简介 2 2.1 单片机技术简介 2 2.1.1 单片机技术的发展 2 2.1.2 单片机技术的应用 2 2.2 课题研究的目的和意义 4 2.3 主控单片机的选择 4 2.4 热电阻测量模块 4 2.5 通信部分 5 3 系统上位机软件设计 6 3.1 Visual Basic功能简介和发展 6 3.2 VB基本概念与VB编程环境 8 3.2.1 VB的基本概念 8 3.2.2 VB 6.0 的集成开发环境简介 10 3.2.3 利用VB开发应用程序的一般步骤 12 3.3 设计中VB6.0所采用的控件 13
您可能关注的文档
最近下载
- 中国移动2018年校园招聘考试笔试题目考试试卷-历年考试真题.doc VIP
- 基础会计洑建红习题答案(新税率).doc VIP
- 蟑螂防治_六_不同场所蟑螂的防治.docx VIP
- 人民大2023商务英语视听说(第1册)(第二版)PPTUnit 8 Work and Life.pptx VIP
- 医美皮肤美容产品芙语诺专业知识课件.pdf VIP
- 跨文化交际:中英文化对比 (14).ppt VIP
- 《乳腺癌术后康复锻炼课件》.ppt VIP
- 科研经费管理规定.docx VIP
- 鲁科版四年级上册劳动项目一 清洁与卫生——班级卫生大扫除(课件).pptx VIP
- 2025年秋学期人教版初中数学八年级上册教学计划教学进度表.docx VIP
文档评论(0)