Method of transferring signals between a TTL microcontroller and a RS232 device
First Claim
1. A method of communicating between a first device utilizing a first logic family and a second device utilizing a second logic family different from the first logic family, the method comprising the steps of:
- forming an electrical connection between a first node of a switch and a transmit data terminal of the first device;
forming an electrical connection between the first node and a transmit data terminal of the second device;
forming an electrical connection between the first node and a receive data terminal of the second device;
forming an electrical connection between a second node of the switch and a power supply of the first device;
forming an electrical connection between a control node of the switch and a receive data terminal of the first device;
transmitting a first power supply voltage from the receive data terminal of the first device to the control node, such that the switch is placed into a first state and a second power supply voltage is conveyed from the transmit data terminal of the second device to the transmit data terminal of the first device;
transmitting the first power supply voltage from the receive data terminal of the first device to the control node, such that the switch is placed into the first state and a third power supply voltage is conveyed from the transmit data terminal of the second device to the receive data terminal of the second device; and
transmitting a fourth power supply voltage from the receive data terminal of the first device to the control node, such that the switch is placed into a second state and the first power supply voltage is conveyed from the first device to the receive data terminal of the second device, the second device interpreting the received first power supply voltage traversing a receiver threshold value as a first logic state.
0 Assignments
0 Petitions
Accused Products
Abstract
A switching transistor is placed between a serial port of a RS232 device and a parallel port of a TTL microcontroller. Selective activation of the switching transistor permits a high voltage signal to be transmitted from the power supply rail of the TTL microcontroller to the RXD pin of the RS232 device, where the signal is interpreted as a logical low. This step takes advantage of the fact that the RS232 standard interprets any voltage received at the RXD pin greater than a receiver threshold value to be a logical low. Selective deactivation of the switching transistor isolates the RS232 port from the non-RS232 device, permitting negative voltage signal output by the TXD pin of the idling RS232 port to be conveyed back to the RS232 port at the RXD pin. This negative voltage signal is interpreted by the RS232 port as a logical high signal.
38 Citations
5 Claims
-
1. A method of communicating between a first device utilizing a first logic family and a second device utilizing a second logic family different from the first logic family, the method comprising the steps of:
-
forming an electrical connection between a first node of a switch and a transmit data terminal of the first device; forming an electrical connection between the first node and a transmit data terminal of the second device; forming an electrical connection between the first node and a receive data terminal of the second device; forming an electrical connection between a second node of the switch and a power supply of the first device; forming an electrical connection between a control node of the switch and a receive data terminal of the first device; transmitting a first power supply voltage from the receive data terminal of the first device to the control node, such that the switch is placed into a first state and a second power supply voltage is conveyed from the transmit data terminal of the second device to the transmit data terminal of the first device; transmitting the first power supply voltage from the receive data terminal of the first device to the control node, such that the switch is placed into the first state and a third power supply voltage is conveyed from the transmit data terminal of the second device to the receive data terminal of the second device; and transmitting a fourth power supply voltage from the receive data terminal of the first device to the control node, such that the switch is placed into a second state and the first power supply voltage is conveyed from the first device to the receive data terminal of the second device, the second device interpreting the received first power supply voltage traversing a receiver threshold value as a first logic state. - View Dependent Claims (2, 3, 4, 5)
-
Specification