检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李晓丽[1]
机构地区:[1]中煤北京煤矿机械有限责任公司技术管理部,北京102400
出 处:《仪表技术》2010年第7期45-47,共3页Instrumentation Technology
摘 要:基于工厂单片机控制系统与上位机进行数据交换,设计一个采用异步串行通信方式的通信系统。文中给出了上位机RS-232接口和单片机TTL逻辑电平分析,利用三极管设计了一个简单实用的RS-232转TTL电平电路,并对该电路原理作了详细讨论。单片机程序用C语言编写,上位机程序采用Visual Basic 6.0开发。实验证明该系统可以很好地实现上位机和单片机之间的串行通信,并达到准确交换数据的目的。A serial communication system is designed,because the MCU control system in factory needs exchange data with PC.It uses the approach of asynchronous serial communication.In the paper,the RS-232 interface and the TTL logical electrical level are discussed,and then the circuit that realizes the logical electrical level conversion between RS-232 and TTL is designed by using dynatron.At the same time,the principle of the circuit is discussed in detail.The C language is used in the single chip computer,while the Visual Basic 6.0 is adopted on PC.The experiment results indicate that the system could run successfully and the data could be exchanged correctly.
分 类 号:TP336[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.145.52.101