Firewall.cx Newsletter

Receive Free notification on new articles!
***************

Firewall.cx Forums

Community Forums

Facebook Fans

Show your support for Firewall.cx!

Social Media Channels

Facebook-icon LinkedIn-icon Twitter-icon  rssfeed-icon
advert-banner-routing
advert-banner-voice

System Login



Login With Facebook

More Articles

Who's Online

We have 374 guests online

Statistics

Members : 5804
Content : 789
Web Links : 12
Content View Hits : 102171447

Top Website Visitors

37.4%United States United States
16.9%India India
7.3%United Kingdom United Kingdom
5.7%Australia Australia
4.3%Canada Canada
3.4%Germany Germany

Today: 1826
Yesterday: 3657
This Week: 44472
Last Week: 30636
This Month: 75785
Last Month: 245311
Total: 3336509

Gold Cisco Lab Partners

logo-gfi



logo-datavision

Serial Direct Cable Connection, DB9, DB25, COM Ports and Pinouts Print Email
(2 votes, average 5.00 out of 5)
Written by Administrator   
Monday, 25 April 2011 14:57
AddThis Social Bookmark Button

Introduction

This article covers the popular serial ports on workstations, servers and laptop computers. We cover serial data transfer, port pinouts, port speeds, interface types, null modem cables and much more.

The Serial Direct Connection is the one which utilizes the COM ports of your computers. Every computer has at least 2 COM ports, COM1 and COM2. The "COM" stands for "Communications". It's pinouts are a lot simpler when compared to the parallel port, but the speed is also a lot slower:)

To give you an idea of how fast (or slow) a serial port is, at its best you will get around 12 to 14 KB per second. That's pretty slow when you're used to a network connection, but let me show you how serial data is transferred so you can also understand why it's a lot slower:

cabling_dcc1

The above picture gives you an idea on how serial data is transferred. Each coloured block that is numbered is sent from PC 1 to PC 2. PC 2 will receive the data in the same order it was sent, in other words it will receive data block 1 first and then 2, all the way to block 7. This is a pretty good representation of data flow in a serial cable. Serial ports transmit data sequentially over one pair of wires (the rest of the wires are used to controll the transfer).

Another way you can think of it is like a one lane road where the road is wide enough to only fit one car at a time (one data block at a time in our example above), so you would imagine that the road cannont process several cars at one time.

The Serial port

Most new computers have two COM ports with 9 pins each, these are DB-9 male connectors. Older computers would have one DB-9 male connector and one DB-25 male connector. The 25 pin male connector is pretty much the same as the 9 pin, it's just bigger.

Let's have a look at a serial port to see what we are talking about:

cabling_dcc2

Different pinouts are used for the DB-9 and DB-25 connectors and we will have a look at them in a moment. Let's just have another quick look at the COM ports of a new computer:

cabling_dcc3

Notice the COM ports, they are both DB-9 connectors, there is no more DB-25 ! The connector above the two blue COM ports is an LPT or Parallel port.

The serial port of a computer is able to run at different speeds, thus allowing us to connect different devices which communicate at different speeds with the computer. The following table shows the speeds at which most computers' serial ports are able to run and how many KB/sec they translate to:

cabling_dcc4

Now we will have a look at the pin outs of both DB-9 and DB-25 connectors:

cabling_dcc8

The Cable

All that's left now is the pinouts required to allow us to use the serial cable for direct connection. There is a special term for this type of a cable, it's call a "null modem" cable, which basically means you need to have TX and RX crossed over. Because you can have different configurations, e.g DB-9 to DB-9, DB-9 to DB-25, and DB-25 to DB-25, I have created different tables to show you the pinouts for each one:

1) DB-9 to DB-9. You use this configuration when you need a cable with a DB-9 connector on each end:

cabling_dcc5

2) DB-9 to DB-25. You use this configuration when you need a cable with one DB-9 and one DB-25 connector on either end:

cabling_dcc6

3) DB-25 to DB-25. You use this configuration when you need a cable with a DB-25 connector on each end:

cabling_dcc7

Well, that pretty much covers everything about serial direct connection via a null modem cable.

If you're using third party software to connect your computers, you probably won't stumble into big problems, but if you're using Windows software be sure you have unique names for each of your computers because Windows will treat the direct connection as a "network" connection. This means you will be able to see the other computer via Network Neighborhood.

Last Updated on Sunday, 15 July 2012 19:52
 
Subscribe To Receive Free Article Updates!

SIMILAR TOPICS THAT MIGHT INTEREST