0% found this document useful (0 votes)
266 views4 pages

Serial RS-232 (V.24) Communication Works With Voltages - 15V To +15V For High

The document discusses the need for a converter chip when connecting a microcontroller's serial ports to an RS-232 serial interface due to the different voltage levels used. It describes how the MAX232 chip is commonly used to convert between TTL logic and RS-232 levels, requiring only external capacitors, and provides this functionality in a smaller package compared to alternative solutions like the DS275.

Uploaded by

ratheeshbr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
266 views4 pages

Serial RS-232 (V.24) Communication Works With Voltages - 15V To +15V For High

The document discusses the need for a converter chip when connecting a microcontroller's serial ports to an RS-232 serial interface due to the different voltage levels used. It describes how the MAX232 chip is commonly used to convert between TTL logic and RS-232 levels, requiring only external capacitors, and provides this functionality in a smaller package compared to alternative solutions like the DS275.

Uploaded by

ratheeshbr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

A standard serial interfacing for PC, RS232C, requires negative logic, i.e.

, logic '1'
is -3V to -12V and logic '0' is +3V to +12V. To convert TTL logic, say, TxD and
RxD pins of the uC chips, thus need a converter chip. A MAX232 chip has long
been using in many uC boards. It provides 2-channel RS232C port and requires
external 10uF capacitors. Carefully check the polarity of capacitor when soldering
the board. A DS275, however, no need external capacitor and smaller. Either
circuit can be used without any problems.

Serial RS-232 (V.24) communication works with voltages -15V to +15V for  high
and low. On the other hand, TTL logic operates between 0V and +5V . Modern
low power consumption logic operates in the range of 0V and +3.3V or even
lower.
Thus the RS-232 signal levels are far too high TTL electronics, and the negative
RS-232 voltage for high can’t be handled at all by computer logic. To receive
serial data from an RS-232 interface the voltage has to be reduced.  Also the low
and high voltage level has to be inverted.

MAX232:

This module is primary of interest for people building their own electronics with
an RS-232 interface. Serial RS-232 communication works with voltages (-15V ...
-3V for high ) and +3V ... +15V for low) which are not compatible with normal
computer logic voltages. On the other hand, classic TTL computer logic operates
between 0V ... +5V (roughly 0V ... +0.8V for low, +2V ... +5V for high). Modern
low-power logic operates in the range of 0V ... +3.3V or even lower.

So, the maximum RS-232 signal levels are far too high for computer logic
electronics, and the negative RS-232 voltage for high can't be grokked at all by
computer logic. Therefore, to receive serial data from an RS-232 interface the
voltage has to be reduced, and the low and high voltage level inverted. In the other
direction (sending data from some logic over RS-232) the low logic voltage has to
be "bumped up", and a negative voltage has to be generated, too.
RS-232 TTL Logic

-----------------------------------------------

-15V ... -3V <-> +2V ... +5V <-> high

+3V ... +15V <-> 0V ... +0.8V <-> low

All this can be done with conventional analog electronics, e.g. a particular power
supply and a couple of transistors or the once popular 1488 (transmitter) and
1489 (receiver) ICs. However, since more than a decade it has become standard
in amateur electronics to do the necessary signal level conversion with an
integrated circuit (IC) from the MAX232 family (typically a MAX232A or some
clone). In fact, it is hard to find some RS-232 circuitry in amateur electronics
without a MAX232A or some clone.

The MAX232 from Maxim was the first IC which in one package contains the
necessary drivers (two) and receivers (also two), to adapt the RS-232 signal
voltage levels to TTL logic. It became popular, because it just needs one voltage
(+5V) and generates the necessary RS-232 voltage levels (approx. -10V and
+10V) internally. This greatly simplified the design of circuitry. Circuitry
designers no longer need to design and build a power supply with three voltages
(e.g. -12V, +5V, and +12V), but could just provide one +5V power supply, e.g.
with the help of a simple 78x05 voltage converter.

You might also like