Serial Ports

preview_player
Показать описание
In this video from ITFreeTraining, I will look at serial ports. Serial ports have been around since the first personal computers, but are largely obsolete nowadays. If you are fixing or working with some old equipment you may still come across them.

Serial Ports
0:16 A serial interface is an interface that transfers data one bit at a time. In the early days of computing, pretty much every computer came with one or two serial ports - generally, one small and one large one.

There are many devices in a computer that use serial communication. A good example of this is the Universal Serial Bus or USB. There is, however, only one type of connection that is referred to as a serial port. Serial ports, like the one shown, use what is referred to as the RS-232 standard. This standard defines how data is sent over the port. For this reason, you may hear a serial connection referred to as an RS-232 connection. They are also commonly referred to as communication ports or com ports for short.

The serial ports themselves are called DE-9 and DB-25. The D refers to the shape of the connector. The letters E and B refers to the size of the connector. The number at the end refers to the number of pins in the connection.

To fully meet the RS-232 standard, the serial port required 25 pins. Both connectors shown use serial communication. Since serial communication is used, this essentially means that only two pins are required for data transfer - one to transmit data and one to receive data. Thus, both connectors have the same number of pins used for data. What is different, however, is the larger connector has more pins that are used for signaling.

Even back when serial ports were being used, there were very few devices on the market that required the extra pins for signaling. For this reason, generally as time passed, only the smaller serial ports were used. To implement the larger serial port cost more money and, if the functionality was not being used, it was a waste of time.

As time passed, some computers would have two smaller serial ports. Later still, the serial ports on computers started to decline, so only one of the smaller serial ports was included. Nowadays, you won’t find a serial port on a computer. Some motherboards will have a header where a serial port can be added, otherwise they won’t have anything. As time goes on, it is expected that the serial port will disappear from the computer all together.

Nowadays, generally the only time you will use a serial port is when working with old equipment or accessing certain hardware devices. Let’s have a look at how you may go about doing this.

Serial Port Access
2:50 If your motherboard has a serial port header, you can purchase a bracket with a cable that will plug into the header on the motherboard. It is just a matter of installing the bracket in a free expansion slot on the motherboard.

You can also purchase a USB to serial port cable. This is the easy option nowadays. Given that the administrator will rarely need access to a serial port, the USB cable is something the administrator can keep around for when they need it. Often a technician will use a serial port to access equipment. This will often be done just out of convenience using a laptop. A bracket cannot be installed in a laptop so the USB to serial cable is a good option.

In some cases, you may need to change the serial port from one type to another. To do this, you can use an adapter. This adapter will convert DE-9 to DB-25. You can also get adapters that change the gender of the connection. Sometimes this may be useful. Nowadays, generally the USB to serial cable will work in most cases.

Now let’s have a look at how you would access a device using the serial port.

Demonstration
3:58 There are many different software programs that can be used to access the serial port. In this demonstration I will use some free software called Putty. Putty can always be used for secure shell, telnet and serial connections. It has a lot of features and is free, so it is good software for the administrator to have.

Serial connections are not automatically configured like a lot of modern computer components. In most cases, a serial connection is a last resort. If you have another way of accessing the device, I would use that.

References
“The Official CompTIA A+ Core Study Guide (Exam 220-1001)” Chapter 3 Lesson 10592-10785
“CompTIA A+ Certification exam guide. Tenth edition” Pages 391-392

Credits
Рекомендации по теме
Комментарии
Автор

Very good information! I was in IT back in the 1980s and these things still give me nightmares. Modems, printers, scanners, computer to computer.... There was the way manuals said it would work, and the way it actually worked. We made "breakout boxes" with wires from DB25 ribbon cables soldered wire by wire to breadboards. LEDs in the proper places could show us what was really happening.

tsbrownie
Автор

Nice to see someone knows that DE-9 is the correct term for a 9 pin connector, not DB-9. I've been working with serial ports for over 50 years and at one point in my career had to order lots of connectors.
BTW, the 9 pin connector came in with the IBM AT computer. The IBM PC & XT used 25 pins. Until then I had never seen a 9 pin serial port.

James_Knott
Автор

Very well explained. Definitely you got parallel bus port called talent. Smooth and crispy 👏😃

MrSkywalks
Автор

Thanks for this! It is really informative. I am doing Google IT learning and needed further explanation! Thanks so much!

owlprincess
Автор

Working on a pc of my own rn. Thanks! You helped me here.

mazarinee
Автор

U deserve million subs. Keep doing u r such a useful work .

vignesh
Автор

Two pieces of information I learned from this is serial ports are also referred to as RS-232. The other is the smaller plug configuration is called a DE-9. I thought it was called a DB-9

Velo
Автор

*"...largely obsolete..."* Only for home users but if you're in a headend or a datacentre they are everywhere with the biggest challenge being getting your USB converter to talk to the equipment :-)

trollobite
Автор

i need to download some files to a usb stick from an older laptop that only has an rs232 port can and how can this be done cheers

johnmaloney
Автор

Thank you. One question: if I buy an adapter from DE-9 to DB-25, then 9 of 25 DB-25 pins will be used, right? So what would other free 16 pins on the DB-25 side do? Would they just sit there and do nothing?

rimantasri
Автор

Is there any tutorial about the booting up between win-OS putty and serial-COM devices? ...maybe a generic one. 😯

urielpelaezcdmx
Автор

Thank you. I had a question, I hope it get answered please. What if the device I'm trying to connect to is USB but the software is the old software and only communicates via serial. Is it possible to use the old software running a device that uses USB

AB-yutj
Автор

Hi! I bought a device with a software which only works with a usb key. I would like to know what that usb key sends to the PC and try to replicate it. Do you have some tip how to read it? Can the Putty help me in this situation?

aleksandarsocin
Автор

Does anyone know the pinout for a 26 pin header on an old multi I/O card in IBM PC?... They have changed to 10 pin a long time ago (connecting the controller to either DB9 or DB25), but I have a REALLY OLD one: a Microforce PLB-85, in my IBM 5150... Next to nothing about this card in the net (it's RAM + RTC + parallel + serial + game), and for serial it has a 26 IDC header (just like for parallel) - labelled "ASYNC 1".... Wouldn't want to "try and fry".

LoftBits
Автор

what's the use of male vga(the ones that's in vga wires) when they're in the motherboard?

grinnazeed
Автор

I have some old digital cameras that needs serial cable to connect to a computer.

MylarBalloonLover
Автор

Thank you. Working on my A+, and even though I had other content to refer myself to, I found this very useful. Now I understand what a COM port is in the first place. I am still wondering why there are only 4 Communication ports? Subscribed.

dude
Автор

2:22 I have a motherboard that has a serial port and lga 1151

LNNXX
Автор

The fact you say that serial ports are largely obsolete is not true at all, still often used in embedded and industrial fields a LOT. Also sorry to say it but this video is not any more helpful than the first paragraph of the wikipedia page in my opinion.

mr_whyy