Mitesh N Doshi, Dept of Instrumentation Technology, Rvce
Mitesh N Doshi, Dept of Instrumentation Technology, Rvce
Mitesh N Doshi,
Dept of Instrumentation Technology,
RVCE
Why Serial Communications?
Serial communication is the most
simplistic form of communication
between two devices.
It’s what started networking!
So What is RS-232?
RS-232 is a standard by which two
serial devices communicate:
The connection must be no longer than 50
feet.
Transmission voltages are –15V and +15V.
It is designed around transmission of
characters (of 7 bits of length).
RS-232 (cont.)
One important aspect of RS-232 is that
it is an asynchronous form of
communication.
Transmitter and receiver do not explicitly
coordinate each data transmission.
Transmitter can wait arbitrarily long between
transmissions .
Logical Voltages
RS-232 is a little non-intunitave at first.
Logical 1 is –15VDC.
Logical 0 is +15VDC.
When the connection is idle, the
hardware ties the connection to logical
1.
How Can You Transmit Data?
RS-232 communication is dependent on
a set timing speed at which both pieces
of hardware communicate. In other
words, the hardware knows how long a
bit should be high or low.
RS-232 also specifies the use of “start”
and “stop” bits.
Sending One Character
Every time a character is sent, the same
communication occurs:
1. Start bit sent.
2. Seven data bits sent.
3. Stop bit sent.