In many microcontroller-based projects, you may need to communicate with PC. There are several ways to do this like RS232 COM port, USB port, parallel port, WIFI, Bluetooth, etc. You cannot directly connect computer to your microprocessor, you need wireless modules for WIFI and Bluetooth, voltage convertors for RS232 and parallel port and a protocol engine for USB. Here I am going to show you how to make a simple and compact RS232 voltage convertor for your projects that gets its power from the PC. If you are interested in making one yourself follow me.

Step 1: Things You Need

  • 1x Female DB9 connector
  • 1x 3.5mm stereo audio male connector
  • 1x MAX232 IC
  • 1x 7805 regulator
  • 2x 1N4148 diodes
  • 1x 47uF electrolyte capacitor
  • 1x 100uF electrolyte capacitor
  • 4x 4.7uF electrolyte capacitors
  • About 1-5 meters 4-wire cable
  • Some small pieces of wire
  • Soldering tools (iron, wire and oil)
  • Circuit diagram (you can find it in the pictures)
<p>Hi, thank you for this</p><p>Can you advise how to set RTS and DTR to high?</p><p>Regards</p><p>Nick</p>
You must set RTS or DTR by the program that uses the serial port.
Thank you

About This Instructable



Bio: I'm a mechanical engineer, and I like computer programming, mechanics, electronics and specially the robotics.
More by vahidyou:Serial Port over WiFi Cheap Logic Analyzer Cheap STK500 AVR programmer for Atmel Studio 
Add instructable to: