| 130 | 4,769 | 375 |
阅读 |
下载 |
被引 |
在功能比较复杂的自动控制系统中,通常以工控机为上位机,单片机为下位机,RS 232串口通信是工控机和单片机之间信息传递的枢纽,采用MAX232实现TTL逻辑电平和RS 232电平之间的相互转换,如此连接,既可体现出单片机的灵活控制功能,又可发挥出PC机强大的计算和显示功能,有利于对现场信号的实时采集、处理和监控,确保了良好的人机界面的交互性。
Abstract:In function relatively-complicated automatic control system,IPC is usually used as a upper computer,MCU as a lower computer,RS232 serial port as a messaging hub of communication between IPC and SCM,and MAX232 is adopted to implement the mutual conversion between TTL logic level and RS232 level.Such a connection can embody the flexible control function of SCM,express the powerful computation and display functions of PC,and is of benefit to signal real-time acquisition,processing,and monitoring on site,so as to ensure the perfect interactivity of man-machine interface.
[1]李朝青.单片机原理及接口技术[M].3版.北京:北京航空航天大学出版社,2005.
[2]陈传波,杜鹃,张智杰.WIN32下基于RS232协议的通信方法及应用研究[J].南昌大学学报,2005,27(3):70-75.
[3]金卫民.VC下利用串口进行数据通信的研究[J].计算机工程和设计,2003,24(12):120-123.
[4]喻桂兰,彭宇宁,赵开开.VB6.0与RS232在多机通信技术中的应用[J].实验科学与技术,2009,8(4):54-57.
[5]崔玮.Protel99SE电路原理图与电路板设计教程[M].北京:海洋出版社,2005.
[6]杨恢先.单片机原理及应用[M].长沙:国防科技大学出版社,2003.
基本信息:
DOI:10.16652/j.issn.1004-373x.2012.13.059
中图分类号:TP273
引用信息:
[1]潘方.RS 232串口通信在PC机与单片机通信中的应用[J].现代电子技术,2012,35(13):69-71.DOI:10.16652/j.issn.1004-373x.2012.13.059.
阅读
下载
被引