首页 | 官方网站   微博 | 高级检索  
     

Delphi环境下实现与AVR单片机的串行通信
引用本文:李凯,左文香,夏国明,郭玉霞,张铁壁.Delphi环境下实现与AVR单片机的串行通信[J].河北机电学院学报,2012(6):454-456.
作者姓名:李凯  左文香  夏国明  郭玉霞  张铁壁
作者单位:[1]河北工程技术高等专科学校电力工程系,河北沧州061001 [2]河北工程技术高等专科学校自动化系,河北沧州061001 [3]河北工程技术高等专科学校土木工程系,河北沧州061001
基金项目:河北省水利厅现代水利科技创新资金项目(2011113)
摘    要:以材料试验机数据采集及控制系统为实例,介绍了PC机与AVR单片机串行通信的硬件实现方法。详细说明了在Delphi环境下,TComm串行通信组件的使用和软件编程方法。阐述了在AVRStudio+AVRGCC编程环境下,ATmegal6单片机串口通信的软件编程。实际应用表明,该方案稳定、可靠、易于实现,具有很好的工程实用价值。

关 键 词:串口通信  Delphi  TComm组件  AVR单片机  RS-232C

Serial communication between AVR single chip and PC under environment of Delphi
Authors:LI Kai  ZUO Wen-xiang  XIA Guo-ming  GUO Yu-xia  ZHANG Tie-bi
Affiliation:1. Department of Electric Power Engineering, Hebei Engineering and Technical College, Cangzhou Hebei 061001, China; 2. Department of Electrical Automation, Hebei Engineering and Technical College, Cangzhou Hebei 061001, China; 3. Depart- ment of Civil Engineering, Hebei Engineering and Technical College, Cangzhou Hebei 061001, China)
Abstract:With the data acquisition and control system of material testing machine as example, a hardware actualization meth od of serial communication between PC and AVR single chip processor was introduced. The using method and software pro gramming of TComm component under environment of Delphi were detailedly described. And serial communication program ming methods for ATmegal6 single chip microcomputer under enviromnent of AVR Studio+ AVR GCC was emphatically dis cussed. Physically application indicates that this scheme got powerful stability and credibility and has superior engineering value.
Keywords:serial communication  Delphi  TComm component  AVR single chip  RS-232C
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号