Douglas Krantz - Technical Writer - Describing How It Works
Go to the Fire Alarm Home Page of Douglas Krantz -- Describing How It Works
Go to the Fire Alarm Operation Map Page of Douglas Krantz - Technical Writer
Go to the General Electrical Map Page of Douglas Krantz - Technical Writer
Go to the Fire Alarm Description Map Page of Douglas Krantz - Technical Writer
Go to the Fire Alarm Installing Map Page of Douglas Krantz - Technical Writer
Go to the Fire Alarm Maintaining Map Page of Douglas Krantz - Technical Writer
Go to the Fire Alarm Testing Map Page of Douglas Krantz - Technical Writer
Go to the Fire Suppression Map Page of Douglas Krantz - Technical Writer
Go to the Science Article Map Page of Douglas Krantz - Technical Writer
Go to the Writer Home Page of Douglas Krantz -- Describing How It Works

General Electronics

RS232 is a wiring method used between 2 pieces of electronic equipment
With RS232 connections, the trick isn't so much landing wires; the trick is landing them knowing that they are connected correctly so troubleshooting the rest of the system is easier.
Douglas Krantz -- Fire Alarm Engineering Technician, Electronic Designer, Electronic Technician, Writer






How Does One Connect RS232?

By Douglas Krantz

So two pieces of equipment can send data to each other, RS232 carries the data. When connecting the equipment using RS232, there's guessing the RS232 is wired correctly, and then there's knowing that the RS232 is wired correctly.

When troubleshooting equipment, just making the RS232 connection no time to start guessing whether or not the RS232 is wired correctly.

How Does One Know?

When troubleshooting, have you ever wished that the RS232 communication wasn't the issue? I mean when you're trying to find out if a piece of equipment is working, how do you know if it's merely a problem with your RS232 connections or a real problem with the equipment you're working on?

RS232

Knowing a little about how the RS232 works is helpful.

Wires

RS232 is a two direction data transmission system, and there are only three wires. One wire transmits data one direction; another wire transmits data the other direction. A third wire is used as the ground/return for both data transmissions.

Both of the data carrying wires will normally be a negative 5 to 12 volts as compared to the ground/return wire. (The exact voltage isn't important with RS232.)

Equipment to be Connected Together using Data along the RS232 Wires

Each of the two pieces of equipment has a transmitter connection (TX) to transmit data to the other piece of equipment. Each of the two pieces of equipment also has a receiver connection (RX) to receive data from other piece of equipment. Each of the two pieces of equipment has a common or ground/return connection which is used for both the transmitter and receiver.

The RS232 Transmitter (TX) Supplies the Voltage

The transmitter (TX) on each piece of equipment supplies negative voltage (minus 5 to 12 volts normally), which carries the data. The receiver (RX) on each piece of equipment has no voltage when nothing is connected to it.

Connecting the Common

Compared to any other wire, the common wire or terminal is always going to be positive. Even if it's not marked as common, if it's positive compared to any other wire or terminal, it is the common.

The commons on both pieces of equipment should be connected together.

Connect TX to RX

Now, for both directions of data transmission, connect the wire or terminal with the negative voltage to the other piece of equipment's connection without voltage. That's connecting the TX (transmitter) to RX (receiver).

Confirm the Wiring

To confirm the RS232 is correct, on one piece of equipment, check voltage (compared to the common terminal) on both the RX and TX terminals. Compared to the common terminal, there should be voltage (-5 to -11 volts) on both.

Was this
helpful?
Yes   No

That's actually voltage supplied by both transmitters (TX) on each of the 2 pieces of equipment.

Don't worry about exact voltage, if the voltage is somewhere between 5 and 12 volts, it's fine. If not, if there is voltage on one terminal but not the other (TX and RX), reverse the wires to the TX and RX connections on one piece of equipment and check again.

Try It, You'll Like It

Using this technique, one doesn't have to know details about which one transmits and which one receives. Just make sure that there is negative voltage on both RX and TX (compared to the common terminal) and the RX232 is wired correctly.

When confirmed this way, the RS232 isn't the issue and troubleshooting the rest of the system becomes easier.







Douglas Krantz

Describing How It Works
writer@douglaskrantz.com
Text
612/986-4210

View Douglas Krantz's profile on LinkedIn



Ask
The
Technician

Readers Questions



Short Circuit
Free Subscription
I'll Send You the
Twice-Monthly
Fire Alarm
Newsletter

Get Short Circuit


Articles

How Does Class A Fire Alarm Wiring Work?-- Fire alarm systems save lives and protect property. Fire alarm systems also break down because... Read More

Just What Is a Signaling Line Circuit (SLC)? -- The SLC (Signaling Line Circuit) is another way of saying Data and Power Circuit. Along with added power to run the sub-computers and their input and output circuits, it's a computer data-buss ... Read More

How is a Buffer Relay Wired Into a Door Holder Circuit? -- Like a door stop, a door holder keeps a fire door open. When smoke is detected, the door holder releases, allowing the door to shut. The door holder looks simple and innocuous enough... Read More

How Does One Find a Soft Ground Fault? -- Normally, we think of resistance like that of a resistor. The amount of resistance is built-in; no matter what voltage is used to drive the electrical... Read More

Can a Magnet Really be Used to Test a Smoke Detector? -- Smoke detectors usually have two ways of being tested. Smoke (smoke particles in the air, or some sort of canned smoke), and magnets (the activation of an internal magnetic... Read More



Electrical Flow


On this website, most references to electrical flow are to the movement of electrons.

Here, electron movement is generally used because it is the electrons that are actually moving. To explain the effects of magnetic forces, the movement of electrons is best.

Conventional current flow, positive charges that appear to be moving in the circuit, will be specified when it is used. The positive electrical forces are not actually moving -- as the electrons are coming and going on an atom, the electrical forces are just loosing or gaining strength. The forces appear to be moving from one atom to the next, but the percieved movement is actually just a result of electron movement. This perceived movement is traveling at a consistent speed, usually around two-thirds the speed of light. To explain the effects of electrostatic forces, the movement of positive charges (conventional current) is best.

See the explanation on which way electricity flows at www.douglaskrantz.com/
ElecElectricalFlow.html
.