首页 | 本学科首页   官方微博 | 高级检索  
     

基于C++Builder的PC机与单片机串口通信的实现
引用本文:张利利,李晓京,胡文东,李娅. 基于C++Builder的PC机与单片机串口通信的实现[J]. 微型电脑应用, 2012, 28(9): 53-55
作者姓名:张利利  李晓京  胡文东  李娅
作者单位:1. 第四军医大学,西安,710032
2. 第四军医大学航空航天医学系医学装备教研室,西安,710032
基金项目:国家自然科学基金资助项目(60879007)
摘    要:串口通信是人体重心实时监控软件的主要功能之一.介绍了串口通信协议的设计,研究了在C++ Builder环境下如何利用API函数开发上位机的通信程序,从而实现PC机与单片机的串口通信.经过试验测试和实际运行,通信程序能够准确、快速地完成通信任务.

关 键 词:串口通信  SerialPort  单片机

Realization of Serial Communication between PC and Singlechip Based on C++ Builder
Zhang Lili , Li Xiaojing , Hu Wendong , Li Ya. Realization of Serial Communication between PC and Singlechip Based on C++ Builder[J]. Microcomputer Applications, 2012, 28(9): 53-55
Authors:Zhang Lili    Li Xiaojing    Hu Wendong    Li Ya
Affiliation:(Key Laboratory of Aerospace Medicine Ministry of Education,The Forth Military Medicine University,Xi’an710032,China)
Abstract:Setial communication is one of main functions of real-time control software used in gravity center.This paper introduced communication protocols in detail,researched how to develop the serial communication program of upper computer by API function.Based on these work,serial communication between PC computer and singlechip micro-computer.By communication block in experiment test and practical work,communication task can be completed correctly and fast.
Keywords:Serial Communication  SerialPort  Singlechip Microcomputer
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号