Interface circuit of RS-232 channel Cudahy WI

Swap circuit allows RS-232 channel

Local Companies

Thilmany
(920) 766-8432
Kaukauna, WI
Northpoint Technical Services
(715) 234-8315
Rice Lake, WI
Industrial Technical Services
(920) 863-8331
Denmark, WI
Innovative Technical Services Llc
(262) 369-1538
604 W North Shore Dr
Hartland, WI
Accurate Technical Services
(920) 748-8650
401 Watson St
Ripon, WI
Perot Systems
(262) 245-5920
510 Geneva National Ave
Lake Geneva, WI
M J Consulting & Net Services Llc
(715) 449-2625
N4596 Cornell St
Birnamwood, WI
First Response Technical Services Llc
(262) 626-8020
100 2nd St
Kewaskum, WI
Eagle Technical Services
(262) 594-2989
Eagle, WI
La Crosse County Library
(608) 526-3299
103 State St
Holmen, WI

Interface circuit of RS-232 channel

provided by: EDN

The hot-swap serial-interface circuit in Figure 1 allows two computers to see all of the communication between each computer and each device on the communication network for that serial port. This circuit allows each computer to determine what the other is doing and receive all of the data from the peripheral device. Only one device can transmit at a time; otherwise, the transmitted data becomes corrupted. This circuit allows two computers in a hot-swap configuration to know when to become the master computer. When the master computer fails, the slave computer stops receiving the data requests that the master supplies, and the slave then becomes the master. This approach allows for computer redundancy in applications in which a master computer that is communicating with an RS-232 device must always be operating. When you replace the failed computer, it ?hears? that a master computer is communicating with the device and operates in slave mode while waiting for the current master to fail.

This circuit allows two DTE (data-terminal-equipment) computers to use one DCE (data-communications-equipment) RS-232 peripheral device. This device is usually a communication interface, such as a UHF radio or an RS-232-to-RS-485 converter. The board requires 9 to 15V dc to operate. You must provide this voltage on Pin 9 of the peripheral RS-232 device.

The transmitted RS-232 signal from the peripheral device converts to a TTL signal through level converter IC2 and feeds into an AND gate. The output of this AND gate feeds into two inputs of another level converter, IC4. These RS-232 outputs travel to the input lines (Pin 2) of the two monitoring computers. When one of the computers transmits on Pin 3 of its serial port, its output converts to TTL levels with IC4. The TTL-converted outputs of both computer serial ports feed into an AND gate. The default, or off, level for a computer serial port is ?12V dc. The level converter inverts the signal as part of the conversion to TTL levels. This action makes the default a high level going to the AND gate, allowing the data on the other input of the AND gate to pass to the output of the AND gate.

The output of this AND gate goes to the second input of the AND gate that receives the output of the peripheral device as well as the input into the level converter going to the input of the peripheral device at Pin 3. This action enables the output of one of the two computers to return to the computer that transmitted the data as well as to the other computer and the peripheral device.



author: Jeff Patterson, All Weather Inc, Sacramento, CA

EDN. Copyright © 2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.

Featured Local Company

Zetta Medical Technologies

847-550-9990
363 Enterprise Parkway
Lake Zurich, IL
http://www.zettamed.com

Rate Article
     
Articles Insider

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Advertising Engineering Home Services Retail & Consumer Services
Business Services Entertainment Industrial Goods & Services Software
Career Family Insurance Technology
Cars Financial Services Internet Telecommunications
Computer Hardware Food & Beverage Legal Transportation & Logistics
Construction Health Pets Travel
Education Home Electronics Real Estate Wedding