Arduino usb to TTL converter Three ways to use

Arduino USB to TTL converter : In this article we will learn how to use Arduino as USB to TTL converter. There are many people who looking for USB to TTL solutions on internet. Because new personal computers and especially laptops do not come with COM port. So use of USB to TTL converter is increasing day by day among engineers. Mostly those people who are related to embedded systems field. They want to use USB to TTL converter. There are many USB to TTL converters available in market. You can also purchase them for this purpose. But if you have arduino uno R3 or any other Arduino Board , you can use it as a USB TTL converter. There are three ways to use it. Each of them is explained below:

  1. Use Serial communication code of Arduino: In this method you will upload following code to arduino and connect your device with serial  communication pins of Arduino and you can send and receive data on serial monitor of IDE. This method requires code. you can change baud rate of code according to your requirement.
    #include <SoftwareSerial.h> 
    SoftwareSerial mySerial(10, 11); // RX, TX
    void setup() {
     // Open serial communications and wait for port to open:
     Serial.begin(9600);
     while (!Serial) {
     ; // wait for serial port to connect. Needed for native USB port only
     }
     Serial.println("Goodnight moon!");
    
    // set the data rate for the SoftwareSerial port
     mySerial.begin(4800);
     mySerial.println("Hello, world?");
    }
    
    void loop() { // run over and over
     if (mySerial.available()) {
     Serial.write(mySerial.read());
     }
     if (Serial.available()) {
     mySerial.write(Serial.read());
     }
    }

2. Disconnect microcontroller from Arduino: In second method you will disconnect microcontroller from Arduino board. Now you arduino will be used only as USB to TTL converter. But make sure to connect Tx pin of Arduino with Tx pin of device to which you want to connect with Arduino and computer.

Arduino USB to TTL converter

3. Connect Reset pin of Arduino with ground: In this method you will connect reset pin of Arduino with ground and now microcontroller will completely bypass and you can use it as USB TTL converter only. For more information check following video:

So this is all about USB to TTL converter design from very popular development board and this method is very easy and inexpensive to use. I hope you liked this article and keep visiting our website for more information. If you need any assistance feel free to comment on this post. We will try our best to answer your question as soon as possible.

1 thought on “Arduino usb to TTL converter Three ways to use”

Leave a Comment