Professional Documents
Culture Documents
Microcontrollers Lab
HOME PROJECTS TUTORIALS
What are you looking for?
communication
Microcontrollers Lab 15 Hours Ago No Comments
In 1962, RS232 was introduced by Radio Sector of EIA. With the invention of electronic
devices such as printers, computers and laptops etc., the researchers felt that some device
should be manufactured so the communication between these devices can be carried out.
So RS232 was adopted as a standard to carry out digital communication as well as data
exchange. With the help of RS232, the data can be exchanged more reliably over the
analog channels. The voltage levels are de ned in the standard thus making it immune to
noise disturbances as well as reduction in data exchange error. RS232 has many JOIN 32,112
SUBSCRIBERS
applications in microcontroller based projects and embedded systems projects.
projects
1 INTRODUCTION to RS232
2 IMPLEMENTATION OF RS232 SUBSCRIBE TO BLOG VIA
EMAIL
3 RS232 SPECIFICATIONS
4 ELECTRICAL CHARACTERISTICS OF RS232
Enter your email address to
5 FUNCTIONAL CHARACTERISTICS OF RS232 subscribe to this blog and receive
noti cations of new posts by
email.
INTRODUCTION to RS232
Email Address
To carry out communication, RS232 is used as a standard in order to link computer as well
as its peripheral devices that allow the serial data exchange. The basis working of RS232 Subscribe
is to de ne the voltages for the path that is to be used for data exchange purposes among
various devices. Signal level as well as common voltages, con guration of common pin
and the control signals are speci ed. This standard was basically designed for modem
http://microcontrollerslab.com/introduction-rs232-serial-communication/ 1/6
1/16/2019 INTRODUCTION TO RS232 Serial communication
and teletypewriter. Thus it don’t provide support to several elements like framing of
HOME PROJECTS TUTORIALS PROJECT IDEAS CONTACT ADVERTISE
character, character encoding and error detection protocols etc. that are mandatory
whenever data transfer is going to take place. Without providing support to such devices,
HOME PROJECTS TUTORIALS PROJECT IDEAS CONTACT ADVERTISE
this standard cannot be adopted to carry out data transfer. So, in order to overcome this
issue, an integrated circuit known as UART i.e. “Universal Asynchronous Receiver
Transmitter” is used with RS232.
IMPLEMENTATION OF RS232
The RS232 interface works in conjunction with UART that is integrated in the controller or
processor. The bytes are being taken and thus individual bits are being transmitted in
sequential manner inside a frame. Frame can be thought as de ned structure that carries
meaningful bytes or bits sequence of data. The data ow starts with the start bit that is
further followed by eight data bits, stop bit as well as a parity bit. Once the data has been
aligned in this way, the separate line drivers play their role in conversion of UART logic
family to the RS232 logic. In the nal phase, the signals are transmitted at the speci ed
voltage level of RS232. The transfer of bits is carried out in sequential manner i.e. bits are
being sent one after another and this mode of data transfer needs that the receiver side
should be aware that when the actual bits of data are going to be received so that it can
get synchronized with the coming data.
CATEGORIES
http://microcontrollerslab.com/introduction-rs232-serial-communication/ 2/6
1/16/2019 INTRODUCTION TO RS232 Serial communication
Between the +3 and -3 voltages is the dead area i.e. it is designed for absorption area. The
low voltage area is considered as ON state i.e. logic 1 and the high voltage area are
considered as OFF state i.e. logic 0. The low voltage areas are referred as Marking and
high voltage are referred as Spacing. The maximum slew rate that is allowed in RS232 is
30 volts per micro second thus the fall as well as rise time is slowed down and cross talk is
signi cantly reduced. The following gure represents the logic speci cations of RS232:
As the mechanical interface of RS232 is concerned, initially 25 pin connector was being
used. The minimum connector size speci ed by RS232 is capable of accommodating all
the signals. Every pin is pre-de ned in order to check the compatibility among the
peripheral systems as well as the host. The male connector is used by the data terminal
equipment and for female connector; the data communication equipment is used. The type
of gender is another important concept regarding the connector. In mechanical as well as
electrical trade, each connector comes as pair i.e. one female and one male connector. The
http://microcontrollerslab.com/introduction-rs232-serial-communication/ 3/6
1/16/2019 INTRODUCTION TO RS232 Serial communication
pins of male connector are sticking out while in case of female connector, it has holes so
HOME PROJECTS TUTORIALS PROJECT IDEAS CONTACT ADVERTISE
that it can hold the male connector.
Previously, a 25 pin connector was widely used but presently, 9 pin connectors are being
used in many applications.
Loop Back:
Back It allows user to test to ensure that their network is properly functioning.
Off Hock:
Hock This condition is occurred mostly during the communicating or dialing
phase. It prevails whenever separate receiver was used that was hangs on the hook
switch till the time when needed by user
Secondary Channel:
Channel Secondary channels are regarded as data channels. For instance,
secondary received data, secondary carrier data and Secondary transmitted data.
Presently, many new developments are made but RS232 is still used in many applications.
The reason of using RS232 lies in the simplicity of this standard that allows user to use it
for direct communication from its serial ports. Various elds like automation, laboratory as
well as surveying plays vital role in sustaining the demand of RS232. Along with RS232,
serial ports are being used for communicating with the headless system i.e. a server
having no installation of keyboard during the boot process that signi es the importance of
RS232. That’s all for this article. Feel free to ask any question regarding this article in the
comment section below.
RELATED POSTS
http://microcontrollerslab.com/introduction-rs232-serial-communication/ 4/6
1/16/2019 INTRODUCTION TO RS232 Serial communication
Internet
HOME of things
PROJECTS Controller
area
TUTORIALS difference
PROJECT between
IDEAS CONTACT ADVERTISE
IOT network protocol, different
HOME PROJECTS features
Microcontrollers Lab history
TUTORIALS Generations
PROJECTof IDEAS CONTACT ADVERTISE
and working Raspberry Pi
March 23, 2016
Models
Microcontrollers Lab
March 5, 2017
Contact me if you want to hire me for your projects Send me your project details at my
email address: admin@microcontrollerslab.com
ADD COMMENT
Comment Text*
Name*
Email*
Website
Notify me of follow-up comments by email.
Notify me of new posts by email.
http://microcontrollerslab.com/introduction-rs232-serial-communication/ 5/6
1/16/2019 INTRODUCTION TO RS232 Serial communication
http://microcontrollerslab.com/introduction-rs232-serial-communication/ 6/6