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

AVR单片机串行口的软件扩展技术
引用本文:刘亚平,邢济收,刘相权. AVR单片机串行口的软件扩展技术[J]. 北京机械工业学院学报, 2010, 0(4): 53-56
作者姓名:刘亚平  邢济收  刘相权
作者单位:北京信息科技大学智能机器人技术研究所,北京100192
基金项目:北京市属高等学校人才强教计划资助项目(PHR20090518)
摘    要:针对单片机通信时串口资源不足的问题,提出了一种用软件来实现串行口扩展的方法。该方法利用2个普通的I/O引脚和一个外部中断就可以实现串口的功能。结合实例详细介绍了该方法的实现过程,包括硬件接口电路以及软件的设计。实践证明,该方法简单可靠,灵活有效,且节约成本,为串行口扩展提供了一种实用的方案。

关 键 词:串行口扩展  模拟串口  串口通信  软件设计  AVR单片机

Software expansion technology of AVR singlechip's serial port
LIU Ya-ping,XING Ji-shou,LIU Xiang-quan. Software expansion technology of AVR singlechip's serial port[J]. Journal of Beijing Institute of Machinery, 2010, 0(4): 53-56
Authors:LIU Ya-ping  XING Ji-shou  LIU Xiang-quan
Affiliation:( Intelligent robotics institute, Beijing Information Science and Technology University, Beijiug 100192, China )
Abstract:As the serial port is not enough in the singlechip communicating, this article proposes a method that uses software to realize the serial port expansion. This method uses two common I/O pins and an external interrupt to realize the serial port' function. Tthe article introduces the detailed realization of this method combining with a specific design case, including hardware interface circuit and software design. Result proves that the method is simple, reliable, flexibl, effective, and cost-savings. It provides a practical solution for the expansion of the serial port.
Keywords:serial port expansion  simulating serial port  serial communication  software design  AVR singlechip
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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