Alternatives of MAX232 in low budget projects
Sometimes when you work on low budget projects of don’t want to go shopping for max232 or similar IC you can save your time and money by using other TTL to RS232 converter. We usually used to use MAX232 chip like this:
Max232 IC is a specialized circuit which makes standard voltages as required by RS232 standards. This IC provides best noise rejection and very reliable against discharges and short circuits. If your project is more advanced and has to reliable you must use specialized RS232 to TTL converter IC’s. As I said Specialized are more expensive than other solutions.
One of such solution is Transistor based interface:

Transistors can be any general purpose transistors. This circuit is very easy and works without problems. It is cheapest solution as it require couple of transistors and four resistors. Two transistors does a trick to get a negative voltage as required by some PCs. When the PC does not transmit data, its TX pin is stuck to a negative voltage. The negative voltage is picked up from the TX pin and brought back - through resistor R3 - to the PC’s RD pin.
RS232 alternatively can be interfaced using Logic gates. This is handy when your application is using logic elements and there are couple gates left on some IC. As almost every PC can vork with positive-only signals logic gates can provide necessary inversions. For instance using CD4066B CMOS IC:

And of course NAND and NOR circuits:


And don’t forget to Power the logic IC’s with 5V.
Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post | TrackBack URI for this post
New on WinAVR Tutorial
Running TX433 and RX433 RF modules with AVR microcontrollers,Sometimes in embedded design you may want to go wireless. Might be you will want to log various readi …Programming AVR ADC module with WinAVR,Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solut … |
New on WinARM Tutorial
What are differences between WinARM and WinAVR,Everyone who is working with AVR microcontrollers knows this powerful tool – WinAVR (http://win …LPC2000 watchdog timer,As in all microcontrollers watchdog timers purpose isto reset microcontroller after reasonable amount … |

August 25th, 2007 at 12:39 am
[...] circuits of MAX232 - [Link] Filed in [...]
August 28th, 2007 at 9:47 am
uCHobby has an article describing how the two transistor RS232 converter works. You might find it interesting to reference.
http://www.uchobby.com/index.php/2007/06/11/ttl-to-rs232-adaptor-explained/
February 12th, 2008 at 11:51 am
Hi,
Good to know about this article. However if you need the full 5-pin interface and are working with long RS232 cables at high speed it may still be useful to use a MAX232 IC.
You can get the following quite cheap:
http://www.tronisoft.com/4201.php
The thing like is the PSU is built in so you can power the circuit and you Microchip PIC projects in one go. Great for breadboarding!
Dan