USB to TTL Converter - 3.3V/ 5V

SKU: SW2003
USB-C to TTL serial converter board with 3.3V/5V slide switch and a loose 5-pin header, angled view
Top view of the USB to TTL converter showing the USB Type-C port, level switch and GND, RX, TX, 3V3, 5V pins
USB to TTL converter board measuring 32 mm by 13 mm with 5V, 3V3, TX, RX and GND pin labels

USB to TTL Converter - 3.3V/ 5V

SKU: SW2003
Default
Regular price $9.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • In stock, ready to ship
  • Inventory on the way

Add $97.01 more for free shipping

Tax included. Shipping calculated at checkout.

You'll also need

Choose a quantity and add it to your cart.

Breadboard 400 holes
$4.4910+ in stock
Breadboard Jumper Wire - 140pcs
$11.9910+ in stock

A compact USB Type-C to TTL serial (UART) converter with a 3.3 V / 5 V logic level switch.

It gives your computer a serial port for talking to Arduino, ESP32, Raspberry Pi Pico and other UART devices. Slide the switch to match your board’s logic voltage, connect TX, RX and GND, and read the output in any serial terminal.

USB
Type-C
Logic level
3.3 V / 5 V switch
Pins
5V, 3V3, TX, RX, GND
Size
32 × 13 mm

Why choose it

  • One board, two logic levels — a slide switch selects 3.3 V or 5V, so the same converter suits an Arduino UNO and an ESP32.
  • USB-C connector — plugs straight into modern laptops and phone chargers with a data cable.
  • Activity LEDs — two LEDs show TX and RX traffic, so you can see at a glance whether data is moving.

Specifications

Core
Function USB to TTL serial (UART) converter
Host connector USB Type-C
Logic level 3.3 V or 5 V, selected with a slide switch
Indicators TX and RX activity LEDs
Header pins
Pins 5V, 3V3, TX, RX, GND (5 pads)
Power Powered from USB
Physical
Dimensions Approx. 32 × 13 mm (board, from product photo)

Compatibility

Platform Works Notes
Arduino UNO / Nano (5 V) ✓ Yes Set the switch to 5V
ESP32 / ESP8266 (3.3 V) ✓ Yes Set the switch to 3V3
Raspberry Pi / Pico (3.3 V) ✓ Yes Set the switch to 3V3; connect to the UART pins, not USB
Software ✓ Yes Any serial terminal, e.g. the Arduino IDE Serial Monitor, Thonny or PuTTY

In the box

Included
  • 1 × USB to TTL Converter – 3.3V/5V
  • 1 × 5-pin right-angle pin header strip

Applications

  • Reading serial debug output from Arduino, ESP32 and Raspberry Pi Pico projects
  • Talking to UART modules such as GPS, Bluetooth and radio modules
  • Serial console access to boards that expose TX and RX pins

Tutorial

What you’ll build: a serial link between a microcontroller board and your computer. The board sends “Hello 1, Hello 2…” through its UART pins, the converter carries it over USB, and you read it in a serial terminal. Whatever you type comes back as “Got: …”. · About 20 minutes.

Choose your board

Board Logic / switch Pins used Language Best for
Arduino UNO 5 V / 5V D10, D11, GND C++ (Arduino IDE) First-timers
ESP32 3.3 V / 3V3 GPIO16, GPIO17, GND C++ (Arduino IDE) Wi-Fi and Bluetooth projects

New to this? Start with the Arduino UNO.

How it works

A microcontroller talks over a UART using two wires. This converter turns that UART into USB, so your computer sees it as a serial port.

  • TX and RX — TX is where a device sends, RX is where it listens. Always cross them: board TX → converter RX, board RX → converter TX.
  • GND — the return path. Both devices must share it.
  • Logic level — the voltage that means “1”. The slide switch must match your board: 5V for an Arduino UNO, 3V3 for an ESP32.
  • Baud rate — the speed of the conversation (9600 here). Both ends must use the same number.
Arduino UNO Tutorial

You need: Arduino UNO R3, its USB cable, this converter with a USB-C data cable, 3 jumper wires.

Arduino UNO R3 D11D10GND USB to TTL Converter RXTXGND 5V, 3V3: not used board TX → converter RX converter TX → board RX common ground Slide switch: 5V

■ GND   ■ UART data (TX / RX)   The 5V and 3V3 pins are left unconnected in this tutorial. Check the pin labels printed on your boards.

# Arduino UNO pin Converter pin Wire Notes
1 D11 (SoftwareSerial TX) RX Blue Board sends to converter
2 D10 (SoftwareSerial RX) TX Blue Board receives from converter
3 GND GND Black Always join the grounds

Watch out: Slide the converter switch to 5V to match the UNO’s 5 V logic. Pins D0 and D1 are used by the UNO’s own USB connection, so this example uses D10 and D11 instead.

1
Install the Arduino IDE
Download and install the Arduino IDE (free). Uses the built-in SoftwareSerial library (SoftwareSerial reference) – nothing else to install.
2
Wire it up
Unplug the UNO. Connect the three wires from the table. Set the converter’s switch to 5V.
3
Upload the sketch
Plug in the UNO. In the Arduino IDE choose Tools → Board → Arduino UNO, pick its port under Tools → Port, paste the example below and click Upload.
▸ Example 1 — Hello over a serial link (Arduino UNO)
// Wiring: D11 -> converter RX, D10 <- converter TX, GND -> GND
#include <SoftwareSerial.h>

const int RX_PIN = 10;                 // Arduino receives here (from converter TX)
const int TX_PIN = 11;                 // Arduino sends here (to converter RX)

SoftwareSerial link(RX_PIN, TX_PIN);   // (RX, TX)
int counter = 0;
unsigned long lastSend = 0;

void setup() {
  link.begin(9600);                    // you can change this, but the terminal must match
  link.println("OK - epartners.co.nz test");   // sent once at start-up
}

void loop() {
  // Send a counter once per second
  if (millis() - lastSend >= 1000) {   // you can change this (milliseconds)
    lastSend = millis();
    counter++;
    link.print("Hello ");
    link.println(counter);
  }
  // Echo back anything typed in the terminal
  while (link.available()) {
    char c = link.read();
    link.print("Got: ");
    link.println(c);
  }
}
4
Read it on the converter
Plug the converter into your computer with a USB-C data cable. If no new port appears, install the USB driver for your board and try another cable. In the Arduino IDE choose File → New Sketch (a second window), pick the converter’s port under Tools → Port, open Tools → Serial Monitor, set 9600 baud and line ending No Line Ending.

✓ Check: The terminal shows Hello 1, Hello 2, Hello 3… once per second. Press the board’s reset button to see OK - epartners.co.nz test again. Type a and press Send: the board answers Got: a.

ESP32 Tutorial

You need: ESP32 DevKitC board (ESP32-WROOM-32), its USB cable, this converter with a USB-C data cable, 3 jumper wires.

ESP32 DevKitC GPIO17 / TX2GPIO16 / RX2GND USB to TTL Converter RXTXGND 5V, 3V3: not used board TX → converter RX converter TX → board RX common ground Slide switch: 3V3

■ GND   ■ UART data (TX / RX)   The 5V and 3V3 pins are left unconnected in this tutorial. Check the pin labels printed on your boards.

# ESP32 pin Converter pin Wire Notes
1 GPIO17 (TX2) RX Blue Board sends to converter
2 GPIO16 (RX2) TX Blue Board receives from converter
3 GND GND Black Always join the grounds

Watch out: Slide the converter switch to 3V3 before connecting. ESP32 pins are 3.3 V only – never feed them a 5 V signal.

1
Install the Arduino IDE and the ESP32 package
Install the Arduino IDE. Open File → Preferences and add https://espressif.github.io/arduino-esp32/package_esp32_index.json to Additional boards manager URLs. Then Tools → Board → Boards Manager, search “esp32” and install esp32 by Espressif Systems (official guide).
2
Wire it up
Unplug the ESP32. Connect the three wires from the table. Set the converter’s switch to 3V3.
3
Upload the sketch
Plug in the ESP32. Choose Tools → Board → esp32 → ESP32 Dev Module, pick its port under Tools → Port, paste the example below and click Upload. If the upload fails, set Tools → Upload Speed → 115200 and upload again. If it sticks on “Connecting…”, hold the BOOT button until uploading starts. This sketch uses the second hardware serial port, Serial2 (Serial API).
▸ Example 1 — Hello over a serial link (ESP32)
// Wiring: GPIO17 (TX2) -> converter RX, GPIO16 (RX2) <- converter TX, GND -> GND
const int RX_PIN = 16;                 // ESP32 receives here (from converter TX)
const int TX_PIN = 17;                 // ESP32 sends here (to converter RX)

int counter = 0;
unsigned long lastSend = 0;

void setup() {
  Serial2.begin(9600, SERIAL_8N1, RX_PIN, TX_PIN);   // 9600 baud: you can change this, the terminal must match
  Serial2.println("OK - epartners.co.nz test");      // sent once at start-up
}

void loop() {
  // Send a counter once per second
  if (millis() - lastSend >= 1000) {   // you can change this (milliseconds)
    lastSend = millis();
    counter++;
    Serial2.print("Hello ");
    Serial2.println(counter);
  }
  // Echo back anything typed in the terminal
  while (Serial2.available()) {
    char c = Serial2.read();
    Serial2.print("Got: ");
    Serial2.println(c);
  }
}
4
Read it on the converter
Plug the converter into your computer with a USB-C data cable. If no new port appears, install the USB driver for your board and try another cable. In the Arduino IDE choose File → New Sketch (a second window), pick the converter’s port under Tools → Port, open Tools → Serial Monitor, set 9600 baud and line ending No Line Ending.

✓ Check: The terminal shows Hello 1, Hello 2, Hello 3… once per second. Press the board’s reset button to see OK - epartners.co.nz test again. Type a and press Send: the board answers Got: a.

Troubleshooting

Board Problem Likely cause Fix
All No new serial port appears for the converter Charge-only cable, or the USB driver is missing Use a USB-C data cable and install the USB driver for your board
All Nothing appears in the terminal TX and RX not crossed, or wrong port selected Connect board TX to converter RX and board RX to converter TX; select the converter’s port, not the board’s
All Garbled characters Baud rate mismatch Set the terminal to 9600 baud, the same as the code
All Only part of the first line appears The terminal was opened after the board started Reset the board, or wait for the next “Hello” line
Arduino UNO Nothing appears Wires on D0/D1, or D10 and D11 swapped Use D11 → converter RX and D10 ← converter TX
ESP32 Upload fails or stops part-way Upload speed too high for the USB cable or USB chip Tools → Upload Speed → 115200, then upload again
ESP32 Stuck on “Connecting…” Board not in upload mode Hold the BOOT button until uploading starts
ESP32 Nothing appears, or the board gets hot Switch set to 5V Unplug, set the switch to 3V3, and check the wiring

Try next: Connect a UART module such as a GPS receiver to your board and print its output on the screen, or use this converter as a serial console for another board.

Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.

Good to know
  • Set the slide switch to your board’s logic level before you connect TX and RX. 5V into a 3.3 V board can damage it.
  • There is no DTR pin, so the module cannot auto-reset boards such as the Arduino Pro Mini during upload.
  • TX and RX must be crossed: converter RX goes to the board’s TX, and converter TX goes to the board’s RX.

Resources

Which one should I choose?

Product Key difference Best for
This product (USB to TTL Converter – 3.3V/5V) USB-C, 3.3 V / 5V slide switch, 5 pads: 5V, 3V3, TX, RX, GND; about 32 × 13 mm Compact serial adapter you can plug straight onto a header
USB to TTL Converter (red board with DTR pin) Different USB-to-serial chip; its page lists a DTR pin for auto-reset, a self-resetting fuse and 43 × 17 mm size Boards that need a DTR pin to auto-reset

FAQ

▸ Can I use it with a 3.3 V board such as an ESP32 or Raspberry Pi Pico?

Yes. Slide the switch to 3V3 before you connect the TX and RX pins. Leaving it on 5V can damage 3.3 V pins.

▸ Which wires do I connect?

Three: converter RX to the board’s TX, converter TX to the board’s RX, and GND to GND. Power the board from its own USB cable.

▸ Why does nothing appear in the terminal?

Most often TX and RX are not crossed, the baud rate does not match, or the terminal is open on the board’s port instead of the converter’s. The Troubleshooting table above lists each fix.

▸ Does it auto-reset an Arduino Pro Mini during upload?

No. The module has no DTR pin, so you need to press the reset button yourself at the right moment, or use a converter that has a DTR pin.

▸ No new port appears when I plug it in. What now?

Try a USB-C data cable (some cables only charge) and install the USB driver for your board.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed