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:

RS232_adapter.PNG

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:

interface_schematic.gif

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:

interface_4066.gif

And of course NAND and NOR circuits:

interface_4001.gif

interface_4011.gif

And don’t forget to Power the logic IC’s with 5V.

21 Comments:

  1. Pingback: Electronics-Lab.com Blog » Blog Archive » Alternatives circuits of MAX232

  2. 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/

  3. 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

  4. Pingback: Alternatif pengganti IC converter MAX232 yang murah « Weblog gw

  5. Great all-in-one-place article!

    I was about to use a Max232 to “translate” old vintage computer current-loop to RS-232. This is called a 20ma current loop digital interface. NOT to be confused with more contemporary 4-20ma current loop analog interface. (Did I get that right?).

    Is there a simple sans-Max232 circuit for this (adapting 20ma current loop to RS-232)?

    Scott

  6. The MAX232 schematic is wrong (at least it didn’t work for me)!!!
    I used this schematic
    http://www.captain.at/electronic-atmega-mmc.php

  7. Max232 works for me. Could be other factors that cause failure.

  8. Pingback: Remake an IC with components. - Electronic Circuits Projects Diagrams Free

  9. Pingback: Handy Link from scienceprog: MAX232 Alternatives | Solder In The Veins

  10. Hi, I’m building an unlocker cable for my cellphone but I don’t have access to a MAX232 which is required. Can I use any of the above alternatives instead ??

    Thanks.

  11. Sure you can try. Most computer will work fine with any converter. But some may be sensitive to different RS232 signal level. Just give a try.

  12. Hi

    What is different between MAX232N and MAX232 ?

    Thanks

  13. Pingback: Arduino na Protoboard – Parte 1 « Leandro Nunes

  14. Your transistor based solution has a problem, it will echo what ever is received on Tx Line via Rx line coz of resistor R3.

  15. Hi, Good project. I had a question: the zener diode you use is 1W or 1/2W?

    Thanks.

  16. Pingback: PUC-GO - Engenharia de Controle e Automação - Mecatrônica » Sensor de Direção do Vento

  17. I agree with sundar. I think R3 should not go to the Tx line but to ground!

  18. Hi, i build the circuit with max232 but testing it by hyperterminal and connecting together ttl tx and rx on screen comes a lot of copy of same symbols like a home. Where can i be wrong?
    Thank you

  19. manufacturer only

Leave a Reply

Your email address will not be published. Required fields are marked *