详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于RS-485总线传输的接口电路原理图。根据组态王提供的通讯协议和单片机多机串口通讯的原理,给出程序设计流程与思路。 Abstract: In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.
上传时间: 2013-12-19
上传用户:tecman
介绍了基于单片机C8051F020的通用串口适配器的设计与实现方法,即由单片机控制的智能化一对多口收发信号转换器。通过采用C51对单片机进行编程,控制与RS-232(标准RS-232电平)、RS232(TTL电平)、RS-422接口的数据通信;采用C++ Builder作为开发平台,通过RS-232接口实现上位机对适配器各个通信端口的控制。 Abstract: Design and realization of a universal serial port adapter based on the MCU C8051F020 are introduced.The adapter is an intelligent one-to-more receiving and transmitting signal converter controlled by the MCU. By programming the MCU with the language C51,MCU control data communication between the MCU and RS-232(RS-232 level),RS-232(TTL level),RS-422 port; Using C++ Builder as the development plane, by one RS232 port, the upper PC can control each of the communication port of the adapter.
上传时间: 2013-11-19
上传用户:hebanlian
串口与单片机通讯问题
上传时间: 2013-11-12
上传用户:wbwyl
Linux下的驱动 串口驱动 LCD及VGA显示驱动 鼠标,键盘驱动 网络接口驱动 USB HOST驱动等
上传时间: 2013-10-31
上传用户:immanuel2006
配套学习板:WJ-V4.0 AVR+51开发板 课程简介串口应用简介开发板串行口简介串口相关功能寄存器功能讲解串行口工作方式串行口波特率的计算串行口应用流程实例练习课后作业
上传时间: 2013-10-25
上传用户:ecooo
C8051F单片机串口IAP原理
上传时间: 2013-11-17
上传用户:我们的船长
模拟串口就是利用51的两个输入输出引脚如P1.0和P1.1,置1或0分别代表高低电平,也就是串口通信中所说的位,如起始位用低电平,则将其置0,停止位为高电平,则将其置1,各种数据位和校验位则根据情况置1或置0。至于串口通信的波特率,说到底只是每位电平持续的时间,波特率越高,持续的时间越短。如波特率为9600BPS,即每一位传送时间为1000ms/9600=0.104ms,即位与位之间的延时为为0.104毫秒。单片机的延时是通过执行若干条指令来达到目的的,因为每条指令为1-3个指令周期,可即是通过若干个指令周期来进行延时的,单片机常用11.0592M的的晶振,现在我要告诉你这个奇怪数字的来历。用此频率则每个指令周期的时间为(12/11.0592)us,那么波特率为9600BPS每位要间融多少个指令周期呢?
上传时间: 2013-10-29
上传用户:zw380105939
在串口/并口基础上实现51内核单片机的在线编程摘要:详细说明利用并口模拟I2C总线协议,实现Myson MTV230芯片的在线编程(ISP)过程,以及利用PC机的串口通信实现Winbond W78E516B的在线编程(ISP)过程;阐述PC机的串口与并口在单片机开发中的应用。
上传时间: 2013-10-17
上传用户:离殇
本实验是基于EasyFPGA030 的串口接收设计。FPGA 除了需要控制外围器件完成特定的功能外,在很多的应用中还需要完成FPGA 和FPGA 之间、FPGA 和外围器件之间以及FPGA 和微机的数据交换和指令传输,称之为FPGA 数据传输。
上传时间: 2013-10-29
上传用户:zhyiroy
采用C8051F020单片机的串口通信应用资料
上传时间: 2013-11-24
上传用户:huyanju