Skip to main content

Modems and Serial Ports

Modems
Modems are used to for low-speed long-distance connections over telephone lines. Modems convert parallel digital data to serial analog data and vice versa.

There are two main types of modems:

- Internal
Expansion cards (e.g. ISA, PCI) or 'On-board' (integrated in mainboard)

- External
Modems that connect to the serial RS-232 or USB port and often have their own power supply.
PCMCIA/PCcard modems can also be considered external modems but these are becoming less common since most modern portables are equipped with an integrated modem.

Installing and Connecting Modems

Install an internal modem by inserting the expansion card in to an ISA or PCI expansion bus, and if the OS or the modem is not PnP assign an IRQ and I/O address.

External modems connect to an RS-232 or USB port on the computer. Most modern PCs are equipped with one or two 9-pin serial ports (DB-9), also commonly known as COM ports, older PCs often also have a 25-pin serial port (DB-25)

The following picture is an example of a serial cable used to connect an external modem to a COM port on the PC:


As you can see one end of the cable is a female DB-9, which connects to a male COM port:


The other end that connects to the external modem is often a DB-25 (male) connector connecting to the female DB-25 on the modem:

The following table lists the signals of the pins of a RS-232 DB-9 connector:
Pin Signal
1 Data Carrier Detected (DCD)
2 Receive Data (RD)
3 Transmit Data (TD)
4 Data Terminal Ready (DTR)
5 System Ground
6 Data Set Ready (DSR)
7 Request To Send (RTS)
8 Clear To Send (CTS)
9 Ring Indicator (RI)
 
COM ports
COM ports are predefined combinations of IRQs and I/O addresses.

The following table lists the COM ports resource assignments:
(be sure to memorize these for the exam)
Port IRQ I/O address
COM1 4 3F8
COM2 3 2F8
COM3 4 3E8
COM4 3 2E8
 
RJ-11

A telephone line is connected to the modem using a RJ-11 connector displayed below:




Modem speed
Although the baud rate does dictate how fast modem can transmit data and older modems do use the baud rate to measure their speed, the speed of modern modems is measured in bits per second (bps). This is where the difference between Baud and bps comes in:

the baud rate indicates how many frequency changes per second can occur, with early modems the baud rate equaled the bits per seconds. For example a 2400 bps modem ran at 2400 baud, but so does a 14,400 bps modem, the difference is that with 14,400 bps modems use 6 times as many different frequencies, simultaneously passing 4 bits per change.

The following table lists the modem speeds designated by the CCITT:
CCITT Term Speed in bps
V.21 300
V.22 1200
V.22bis 2400
V.23 1200--> 75<--
V.29 9600
V.32 4800 and 9600
V.32bis 14,400
V.32fast 28,800
V.34 28,800
V.42bis 38,400
V.90 56,600
 
FAX
Most modems today have built-in fax capabilities, these so called fax modems allow you to use the modem as a fully capable fax machine.

Troubleshooting Modems
The first thing you should do when troubleshooting modems is check the telephone cable connection and with external modems also the serial cable. Be sure the Line in (telephone line) and the Line out (a telephone or fax for example) are not mixed up.
Another common problem, especially with older non-pug and play modems with jumpers/dip switches, is having IRQ conflicts. Reserve the IRQ in the BIOS if you encounter problems with modems that require a particular IRQ.
If the modem is installed correctly and all cables are connected properly but the mode still isn't working, check basic configuration settings such as: Tone/Pulse, (Hardware/Software compression), modem speed.
And last but not least, always make sure you have the latest drivers from the manufacturer.

AT Modem Commands
Modems can be manually operated using AT commands, the following table list a couple of common ones:
Command Description
AT Responds with OK of the modem is turned on and connected.
ATA Answers an incoming call
ATD Dial (e.g. ATDT555-4321 the T following the ATD stands for Tone, can also be P for Pulse)
ATH, ATH0 Hangs up, disconnect
ATM0 Mute the speaker
ATM1 Turns on the speaker
ATE0 Do not echo commands.
ATE1 Echo commands back to the terminal as they are entered.
ATZ Reset Modem Configuration.
 

Comments

Popular posts from this blog

ഫെയ്‌സ്ബുക്ക് മെസഞ്ചറില്‍ ഇനി ശബ്ദസന്ദേശങ്ങള്‍ ടെക്സ്റ്റാക്കി അയക്കാം

ഫെയ്‌സ്ബുക്ക് മെസഞ്ചറില്‍ ഇനി ശബ്ദം ടെക്സ്റ്റ് മെസേജായി (Voice to Text) അയയ്ക്കാം. ഇതിനൊപ്പം വോയ്‌സ് മെസേജും ഉപയോക്താവിന് കേള്‍ക്കാന്‍ സൗകര്യമുണ്ടാകും. തിരക്കിട്ട സമയങ്ങളില്‍ വോയ്‌സ് മേസേജ് കേള്‍ക്കാന്‍ സമയമില്ലാത്തവര്‍ക്ക് ഉപകാരപ്രദമാകുന്നതാണ് പുതിയ ഫീച്ചര്‍. ഫെയ്‌സ്ബുക്ക് മെസഞ്ചര്‍ വഴി വോയ്‌സ് മെസേജ് അയയ്ക്കുന്നതിന് മുന്നോടിയായി, ശബ്ദസന്ദേശം റിക്കോര്‍ഡ് ചെയ്യാന്‍ മൈക്രോഫോണ്‍ ഐക്കണില്‍ ടാപ്പ് ചെയ്യണം. നിങ്ങള്‍ മെസേജ് അയച്ചുകഴിഞ്ഞാല്‍, ഫെയ്‌സ്ബുക്ക് ആ ശബ്ദസന്ദേശം ടെക്സ്റ്റാക്കി മാറ്റും. വോയ്‌സ് മെസേജിനരികിലുള്ള ഐക്കണില്‍ ടാപ്പ് ചെയ്താല്‍, ശബ്ദസന്ദേശത്തെ ടെക്സ്റ്റില്‍ കാട്ടിത്തരും. സ്പീച്ച് റിക്കഗ്നിഷന്‍ കമ്പനിയായ Wit.ai യെ ഫെയ്‌സ്ബുക്ക് അടുത്തയിടെ സ്വന്തമാക്കിയിരുന്നു. ഇവരുടെ സാങ്കേതികവിദ്യയുടെ അടിസ്ഥാനമാക്കിയാണ് ഫെയ്‌സ്ബുക്ക് മെസഞ്ചറിലെ പുതിയ ഫീച്ചര്‍ വന്നിരിക്കുന്നതെന്നാണ് നിരീക്ഷകര്‍ പറയുന്നത്. പുതിയ ഫീച്ചര്‍ ഇപ്പോള്‍ പരീക്ഷണാടിസ്ഥാനത്തിലാണ്. അധികം വൈകാതെ ഏവര്‍ക്കും ലഭിക്കും. ശബ്ദസന്ദേശം നല്‍കുന്നയാളുടെ ഉച്ഛാരണം, സംസാര രീതി, സംസാര വ്യക്തത തുട...

What is a computer?

What is a computer? A computer is an electronic device that manipulates information, or data. It has the ability to store , retrieve , and process data. You probably already know that you can use a computer to type documents , send email , play games , and browse the Web . You can also use it to edit or create  spreadsheets , presentations , and even videos . Hardware vs. software Before we talk about different types of computers, let's talk about two things all computers have in common: hardware and software . Hardware is any part of your computer that has a physical structure , such as the keyboard or mouse. It also includes all of the computer's internal parts, which you can see in the image below. Software is any set of instructions that tells the hardware what to do. It is what guides the hardware and tells it how to accomplish each task. Some examples of software include web browsers, games, and word processors. ...

A Brief History of Computers

Trying to trace the history of computers, how far should we go? Computer Science is the youngest discipline among human repository of knowledge. We know, the Internet became popular among general public since 1990s; Mark I, the first computer, was built in 1944; computers have never gone earlier than 20th century? That’s true, but, because computers are elegant devices for calculation , and if we skip the development of calculating devices, we’ll just puzzle how computers came into existence! And to understand how these devices emerged, you should know the need to calculate and count. Oh! ‘ the counting devices ‘? How did people start to count? It’s strange at first to see every book on history of computers points to the ancient times – the time when mankind just developed from Stone Age. Uhh? That’s the beginning of mankind! Does the history of computers go that distant? Yes. The First Problem – Counting Life in jungle must be enjoying. Though,...