Saturday, March 23, 2013

Communication between two PC’s through the Serial Port:


                                         
Hello Everyone,

We set up a half duplex communication between two PC’s through the serial port. The CPU needs a serial port for communicating with each other . To connect these serial ports we need:

  1. Two DSUBSCF female jacks and
  2. Three equal length wires.


DSUBSCF1 Txd (3rd pin) is soldered with a wire to the DSUBSCF2 Rx (2nd pin). Similarly the DSUBSCF1 Rx (2nd pin) is soldered  with a wire to the DSUBSCF1 Txd (3rd pin) and the 5th pin is grounded. Join these two pins with a wire or don't use the pin.  Make sure that all the three wires are of same length. Now your cable is ready, and you can connect the two female jacks to the respective PC’s.Hence they can communicate with each other.

To transmit or receive the data we need to follow few  simple steps which are given below:

  1. Open the Hyper Terminal as shown in the below picture.

     2.  Give any icon name (E.g.:- test).



     3.  Select the communication port as COM1.



     4.  Select the Baud rate or Bits per second as 19200 or 19.2K, Data bits ­­­- 8, Parity - None, 
           Stop bits – 1, Flow control – None. Then click APPLY and later OK.
       
           

     5.  Finally you will see the blank screen.



     6.  Follow the same steps from (1 to 5) for the other PC also.


NOTE:For sending the data click on send button, For transmitting click on the BROWSE button and also select any one of the protocol..


For receiving the data follow the same protocol as in transmitting one.



No comments:

Post a Comment