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

Delphi环境下PC机与AVR单片机的串行通讯
引用本文:廖平,陈峰,马洪秋. Delphi环境下PC机与AVR单片机的串行通讯[J]. 现代电子技术, 2008, 31(2): 123-125
作者姓名:廖平  陈峰  马洪秋
作者单位:中南大学,机电工程学院,湖南,长沙,410083
摘    要:提出基于AVR单片机的下位机数据采集系统与Delphi环境下PC机的串行通讯的软硬件实现方法.简要介绍系统的工作流程和通讯控制原理,详细介绍单片机与PC机通讯的硬件控制电路、通讯协议以及上下位机软件实现过程,重点介绍Delphi语言中SPComm控件的使用方法.采用软硬件相结合的方法进行仿真和调试,成功实现了功能要求.实际应用表明,这种通讯方案稳定可靠且控制简单,具有很强的工程实用性和广泛的应用前景.

关 键 词:AVR单片机  RS 232  串行通讯  Delphi  SPComm  Delphi  环境  单片机  串行通讯  Environment  Single Chip  Communication  前景  工程实用  硬件控制电路  稳定  通讯方案  应用  功能要求  仿真  结合  软硬件  使用  控件  SPComm
文章编号:1004-373X(2008)02-123-03
收稿时间:2007-08-07
修稿时间:2007-08-07

Serial Communication between PC and AVR Single Chip under Environment of Delphi
LIAO Ping,CHEN Feng,MA Hongqiu. Serial Communication between PC and AVR Single Chip under Environment of Delphi[J]. Modern Electronic Technique, 2008, 31(2): 123-125
Authors:LIAO Ping  CHEN Feng  MA Hongqiu
Abstract:This paper introduces the hardware and software actualization method of serial communication between computer under environment of Delphi and the data collecting system based on AVR single chip processor. Simply introduces the workflow of the system and the control principle of communication. Detailedly introduces the hardware circuit chart,communication agreement and actualization method of software of serial communication between computer and single chip. It specially places emphasis on the Operation of SPComm component in the programme language of Delphi, adoptes combining software and hardware to carry out emulation and debugging and succeeded to realize the required function. Physically application indicates that this proposal of communication got powerful stability and credibility and simple control, possess of strong engineering practicability and extensive market foreground.
Keywords:AVR single chip   RS 232   serial communication   Delphi    SPComm
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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