RS-232 INTERFACE
Số trang: 4
Loại file: pdf
Dung lượng: 22.72 KB
Lượt xem: 18
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
The RS-232 interface is the Electronic Industries Association (EIA) standard for the interchange of serial binarydata between two devices.
Nội dung trích xuất từ tài liệu:
RS-232 INTERFACE RS-232 INTERFACEIntroduction: The RS-232 interface is the Electronic Industries Association (EIA) standard for the interchange of serial binarydata between two devices. It was initially developed by the EIA to standardize the connection of computers with telephoneline modems. The standard allows as many as 20 signals to be defined, but gives complete freedom to the user. Threewires are sufficient: send data, receive data, and signal ground. The remaining lines can be hardwired on or offpermanently. The signal transmission is bipolar, requiring two voltages, from 5 to 25 volts, of opposite polarity.Communication Standards: The industry custom is to use an asynchronous word consisting of: a start bit, seven or eight data bits, an optionalparity bit and one or two stop bits. The baud rate at which the word sent is device-dependent. The baud rate is usually150 times an integer power of 2, ranging from 0 to 7 (150, 300, 600 ,...., 19,200 ). Below 150 baud, many system-uniquerates are used. The standard RS-232-C connector has 25 pins, 21 pins which are used in the complete standard. Many ofthe modem signals are not needed when a computer terminal is connected directly to a computer, and Figure 1 illustrateshow some of the spare pins should be linked if not needed. Figure 1 also illustrates the pin numbering used in the originalDB-25 connector and that now commonly used with a DB-9 connector normally used in modern computers Specifying compliance to RS-232 only establishes that the signal levels in two devices will be compatible and thatif both devices use the suggested connector, they may be able to be connected. Compliance to RS-232 does not imply thatthe devices will be able to communicate or even acknowledge each others presence. RS-232 Interface Frame (Chassis) Ground 1 1 Transmit data Transmit data 2 3 2 3 Receive data Receive data 3 2 3 2 Signal Ground 7 5 7 5 Request to send Request to send 4 4 7 7 TERMINAL COMPUTER Clear to send Clear to send 8 5 5 8 Carrier detect Carrier detect 1 8 8 1 Data set ready Data set ready 6 6 6 6 Ring indicator Ring indicator 22 9 9 22 Data terminal ready Data terminal ready 20 4 4 20 Figure 1. Direct-to-computer RS-232 Interface 9-2.1Table 1 shows the signal names, and functions of the RS-232 serial port pinout. Table 2 shows a complete pin description Table 1. RS-232 Serial Port Pinout Name Pin Signal Name Function AA 1 PG This line is connected to the chassis ground of the GPIB-232CV. Since the Protective Ground GPIB-232CV chassis ground is not connected to earth ground, pin 1 should be connected on both serial devices. BA 2 TxD This line carries serial data from the GPIB-232CV to the serial host. Transmit Data BB 3 RxD This line carries serial data from the serial host to the GPIB-232CV. Receive Data CA 4 RTS This signal line is driven by the ...
Nội dung trích xuất từ tài liệu:
RS-232 INTERFACE RS-232 INTERFACEIntroduction: The RS-232 interface is the Electronic Industries Association (EIA) standard for the interchange of serial binarydata between two devices. It was initially developed by the EIA to standardize the connection of computers with telephoneline modems. The standard allows as many as 20 signals to be defined, but gives complete freedom to the user. Threewires are sufficient: send data, receive data, and signal ground. The remaining lines can be hardwired on or offpermanently. The signal transmission is bipolar, requiring two voltages, from 5 to 25 volts, of opposite polarity.Communication Standards: The industry custom is to use an asynchronous word consisting of: a start bit, seven or eight data bits, an optionalparity bit and one or two stop bits. The baud rate at which the word sent is device-dependent. The baud rate is usually150 times an integer power of 2, ranging from 0 to 7 (150, 300, 600 ,...., 19,200 ). Below 150 baud, many system-uniquerates are used. The standard RS-232-C connector has 25 pins, 21 pins which are used in the complete standard. Many ofthe modem signals are not needed when a computer terminal is connected directly to a computer, and Figure 1 illustrateshow some of the spare pins should be linked if not needed. Figure 1 also illustrates the pin numbering used in the originalDB-25 connector and that now commonly used with a DB-9 connector normally used in modern computers Specifying compliance to RS-232 only establishes that the signal levels in two devices will be compatible and thatif both devices use the suggested connector, they may be able to be connected. Compliance to RS-232 does not imply thatthe devices will be able to communicate or even acknowledge each others presence. RS-232 Interface Frame (Chassis) Ground 1 1 Transmit data Transmit data 2 3 2 3 Receive data Receive data 3 2 3 2 Signal Ground 7 5 7 5 Request to send Request to send 4 4 7 7 TERMINAL COMPUTER Clear to send Clear to send 8 5 5 8 Carrier detect Carrier detect 1 8 8 1 Data set ready Data set ready 6 6 6 6 Ring indicator Ring indicator 22 9 9 22 Data terminal ready Data terminal ready 20 4 4 20 Figure 1. Direct-to-computer RS-232 Interface 9-2.1Table 1 shows the signal names, and functions of the RS-232 serial port pinout. Table 2 shows a complete pin description Table 1. RS-232 Serial Port Pinout Name Pin Signal Name Function AA 1 PG This line is connected to the chassis ground of the GPIB-232CV. Since the Protective Ground GPIB-232CV chassis ground is not connected to earth ground, pin 1 should be connected on both serial devices. BA 2 TxD This line carries serial data from the GPIB-232CV to the serial host. Transmit Data BB 3 RxD This line carries serial data from the serial host to the GPIB-232CV. Receive Data CA 4 RTS This signal line is driven by the ...
Tìm kiếm theo từ khóa liên quan:
Tự động hóa Cơ khí chế tạo máy Điện – điện tử Kiến trúc xây dựng kỹ thuật viễn thôngGợi ý tài liệu liên quan:
-
Đề cương chi tiết học phần Trí tuệ nhân tạo
12 trang 434 0 0 -
Đề cương chi tiết học phần Vi xử lý
12 trang 294 0 0 -
Đồ án tốt nghiệp: Thiết kế hệ thống điều khiển máy phay CNC 3 trục
88 trang 251 0 0 -
79 trang 225 0 0
-
33 trang 222 0 0
-
Đồ án: Kỹ thuật xử lý ảnh sử dụng biến đổi Wavelet
41 trang 218 0 0 -
Báo cáo thực tập tại Nhà máy in Quân Đội 1
36 trang 206 0 0 -
Đồ án tốt nghiệp: Điều khiển cầu trục giàn RTG dùng PLC S71200
90 trang 204 1 0 -
127 trang 192 0 0
-
Luận văn Thạc sĩ Kỹ thuật: Ứng dụng Blockchain trong bảo mật IoT
90 trang 189 1 0