Rs 232
Rs 232
IC MAX232
MAX232 ICs were invented by Maxim. These IC packages are used to convert
TTL/CMOS logics to RS232 logic directly! All we need are some passive
components, and we are done! Below is the circuit diagram of the MAX232 IC.
MAX232 is used to convert TTL to RS232, and vice-versa as shown in the above
circuit diagram. But these days, USB is the most used protocol! Everything runs on
USB – be it printer, scanner, displays or anything! But how to convert USB to
UART? One way is USB → TTL → UART. The other way is to use USB-UART
bridges which directly convert USB → UART. They are widely and easily available
these days. Here are some of the websites:Robokits, eXtreme
Electronics, Sparkfun, Adafruit etc.
All these devices work on CP210x based USB-UART conversions.
What is MAX232?
Max232 is designed by Maxim Integrated Products. This IC is widely used in RS232
Communication systems in which the conversion of voltage level is required to make
TTL devices to be compatible with PC serial port and vice versa. This chip contains
charge pumps which pumps the voltage to the Desired Level. It can be powered by a
single +5 volt power supply and its output can reach +_7.5 volts.MAX232 comes in
16 Pin Dip and many other packages and it contains Dual Drivers. It can be used as
a hardware layer convertor for 2 systems to communicate simultaneously.Max232 is
one of the versatile IC to use in most of the signal voltage level conversion problems.
Construction of MAX232:
Mostly MAX232 used in 16-pin DIP package. it consist of 3 major blocks .It can only
be powered by 5 volts to make it power supply compatible with most of the
embedded systems. First block is the voltage doubler in this ic switched capacitor
techniques is used to make the voltage double .Once the voltage is doubled second
block will converts that voltage to +10 and -10. The third block consists of 2
transmitters and 2 receivers which actually convert the voltage levels.
External components:
Max232 requires minimum 4 external capacitor. Their Value can range from 1uf to
10uf and16 volts or more rating. There are many different versions of this versatile ic
available each of them Require different capacitor value for proper working.
In the above circuit only one Driver is used and second driver can be used for other
purpose. TTL data is available on pin 12 and pin 11 and these pins can be attached
to Microcontroller or any system which accept TTL logic.
Types of MAX232:
1)“MAX232N” where “N” Represent PDIP package Style this package is easy to sold
and most widely used.
2) MAX232D where “D” indicates the SOIC package which is difficult to sold and
required a trained professional to be used correctly.
Common mistakes:
Capacitor voltage rating is less than 16.
Interchange Tx and Rx pins on one side of MAX232 at one time.
Distorted power supply. Use decoupling capacitor to remove distortion.
Check all the connections again.
Check the capacitor with capacitance meter.
Use Tantalum Capacitor for better performance.
IC MAX232
MAX232 ICs were invented by Maxim. These IC packages are used to convert
TTL/CMOS logics to RS232 logic directly! All we need are some passive
components, and we are done! Below is the circuit diagram of the MAX232 IC.
Level Conversion using MAX232
MAX232 is used to convert TTL to RS232, and vice-versa as shown in the above
circuit diagram. But these days, USB is the most used protocol! Everything runs on
USB – be it printer, scanner, displays or anything! But how to convert USB to
UART? One way is USB → TTL → UART. The other way is to use USB-UART
bridges which directly convert USB → UART. They are widely and easily available
these days. Here are some of the websites:Robokits, eXtreme
Electronics, Sparkfun, Adafruit etc.
Here’s how to add a 9-pin serial port to your Raspberry Pi, and it’ll
only take you 10 mins. Well, maybe a couple of weeks to wait for the part to arrive from
Here’s another view, showing the bottom of the module, indicating the +5V, GND, Tx
and Rx pins.
Simply attach the cable to the module, and connect to the 5V, GND, UART Rx and
UART Tx pins of the GPIO.
Rs232
Null Modem Cables and Null Modem Adaptors. If you connect two DTE devices (or
two DCE devices) using a straight RS232 cable, then the transmit line on each device will be
connected to the transmit line on the other device and the receive lines will likewise be
connected to each other.
RS-232 devices may be classified as Data Terminal Equipment (DTE) or Data Circuit-terminating
Equipment (DCE); this defines at each device which wires will be sending and receiving each
signal. According to the standard, male connectors have DTE pin functions, and female
connectors have DCE pin functions. Other devices may have any combination of connector
gender and pin definitions. Many terminals were manufactured with female connectors but were
sold with a cable with male connectors at each end; the terminal with its cable satisfied the
recommendations in the standard.
A minimal "3-wire" RS-232 connection consisting only of transmit data, receive data, and ground,
is commonly used when the full facilities of RS-232 are not required. Even a two-wire connection
(data and ground) can be used if the data flow is one way (for example, a digital postal scale that
periodically sends a weight reading, or a GPS receiver that periodically sends position, if no
configuration via RS-232 is necessary). When only hardware flow control is required in addition
to two-way data, the RTS and CTS lines are added in a 5-wire version
The RTS and CTS signals were originally defined for use with half-duplex (one direction at a
time) modems that disable their transmitters when not required, and must transmit a
synchronization preamble to the receiver when they are re-enabled. The DTE asserts RTS to
indicate a desire to transmit to the DCE, and in response the DCE asserts CTS to grant
permission, once synchronization with the DCE at the far end is achieved. Such modems are no
longer in common use. There is no corresponding signal that the DTE could use to temporarily
halt incoming data from the DCE. Thus RS-232's use of the RTS and CTS signals, per the older
versions of the standard, is asymmetric.
This scheme is also employed in present-day RS-232 to RS-485 converters.
The ICUSB232V2 1 Port USB to Serial Adapter converts a USB port into an RS232 DB9 serial port to
connect to, monitor, and control a serial device.
Supporting data transfer rates up to 921.6 Kbps, the USB to serial cable is a convenient and cost-
saving solution for providing serial connectivity to devices such as point-of-sale terminals, serial
modems, industrial equipment, and a wide variety of other RS232 peripherals.
The USB to RS232 converter is easy to install and offers broad operating system compatibility,
including Windows® 8, Linux and Mac OS®, for easy integration into mixed environments.
The Modem is manufactured with Automatic Pick and place machine with high quality
standard.The onboard Low dropout 3A Power supply allows you to connect wide range
unregulated power supply. Using this modem,you can make audio calls, SMS, Read SMS,
attend the incoming calls and internet etc through simple AT commands.
Controller based embedded systems there might not be a DB9 connector for the RS232
standard,but the output still comes at RS232 logic level so in such cases it is better to use
modem available with RMC connector with other end having simply loose wires which we
can either solder to board or else we can easily think of any other good idea to bring
connectivity to our system by simply having a glance at it!
The SIM900A is a complete Dual-band GSM/GPRS solution in a SMT module which can be
embedded in the customer applications allowing you to benefit from small dimensions and
cost-effective solutions.Featuring an industry-standard interface, the SIM900A delivers
GSM/GPRS 900/1800MHz performance for voice, SMS, Data, and Fax in a small form
factor and with low power consumption. With a tiny configuration of 24mm x 24mm x 3 mm,
SIM900A can fit almost all the space requirements in your applications, especially for slim
and compact demand of design.
Note:This Modem is meant for Asian countries only
Features:
The easiest way to connect two PC's is using an RS232 null modem cable. The only problem
is the large variety of RS232 null modem cables available. For simple connections, a three
line RS232 cable connecting the signal ground and receive and transmit lines is sufficient.
Depending of the software used, some sort of handshaking may however be necessary. Use
the RS232 null modem selection table to find the right null modem cable for each purpose.
For a Windows 95/98/ME Direct Cable Connection, the RS232 null modem cable with loop
back handshaking is a good choice.
RS232 null modem cables with handshaking can be defined in numerous ways, with loopback
handshaking to each PC, or complete handshaking between the two systems. The most
common null modem cable types are shown here.
Connector Connector
Function
1 2
2 3 Rx Tx
3 2 Tx Rx
5 5 Signal ground
RS232 null modem with loop back handshaking (Null modem explanation)