RS-接口与单片机串行通信程序设计.doc
文本预览下载声明
RS-232接口与单片机串行通信程序设计
This article is contributed by zzuzx
DOC documents may experience poor browsing on the WAP side. It is recommended that you first select TXT, or download the source file to the local view.
Design of serial communication program between RS-232 interface and single chip microcomputer
Author: mcu110 source: 51hei hits: 7377 update time: 2007 08 / 07 [font: large, medium and small]
The serial is very useful, we can put the data back to the computer system or computer for data transmission over the corresponding action by him, now I will introduce a computer RS-232 interface and serial communication program design method, there are so many articles to everyone search.
RS-232 introduction: in serial communication, requires both a standard communication interface, so that different devices can be easily connected to the communication interface of.RS-232-C (EIA RS-232-C) is the most commonly used as a serial communication interface (RS-232-C in -C but said the RS-232 version so RS-232 is the same as it is referred to as) in 1970 by the American Electronics Association (EIA) combined with the Baer system, modem manufacturers and computer terminal manufacturers jointly developed for serial communication standards. Its full name is data terminal equipment (DTE) and the data communications equipment (DCE) between the serial binary the data exchange interface technology standard DB-25 connector of the standard requires the use of a 25 foot, the signal content for each of the pin connector to be provided, but also to regulate the signal level Later, IBMs PC machine simplified RS232 as a DB-9 connector, thus becoming the de facto standard, while industrial controlled RS-232 ports generally use only three lines of RXD, TXD, and GND
Next, let us use the S51 enhanced MCU board to develop a simple serial communication test program, which is a serial communication experiment, all customer related accessories need to be completed with the package. Through this expe
显示全部