Projects / Pocket USB-serial debug tool

Pocket USB-serial debug tool

Beginner30 minGuided buildReviewed

Build it step by step

0 of 7 done
  1. Check the jumper

    3.3 V or 5 V.

  2. Label the leads

    TX, RX, GND.

  3. HEAT

    Add heat shrink

    Cover the exposed ends.

  4. Do the loopback test

    Type and see it echo.

  5. Test on a real board

    Print a message.

  6. Mark the case

    Jumper position on the lid.

  7. Keep it in your kit

    With a driver note.

In short

How do you build a pocket USB-serial debug tool?

A USB-serial adapter with switchable 3.3 V or 5 V, labelled leads and status LEDs in a small case. You need FTDI FT232RL USB to TTL adapter, Jumper wires female to female (40 pcs), Heat shrink tubing assortment and ABS project box (100 × 60 × 25 mm). It takes 7 steps and about 30 minutes.

Level
Beginner
Time
About 30 min
Parts
4

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
Adapter TXDTarget RXCrossed on purpose
Adapter RXDTarget TXCrossed on purpose
Adapter GNDTarget GNDAlways connect first
Adapter VCCTarget power (low current only)Optional
Logic jumper3.3 V or 5 V positionMatch the target
Loopback testAdapter TXD to adapter RXDSelf-test

No code needed

This build has no code. A USB-serial adapter lets your computer talk to the serial port of a board, such as an ESP32, an Arduino without USB, a router or a GPS module. Set the logic jumper before you connect anything: 3.3 V for ESP32 and most modern chips, 5 V for classic Arduinos; a 5 V adapter on a 3.3 V target can damage it. Connect ground first, then cross the data lines, so the adapter's TXD goes to the target's RX and the adapter's RXD to the target's TX. Make a loopback test by joining TXD to RXD on the adapter, open a terminal at 9600 baud, and anything you type should appear back. Label each lead with heat shrink or coloured tape for TX, RX and GND, and keep the adapter in a small case with the jumper position marked on the outside. Use the adapter's VCC pin only for very small boards, since USB limits the current, and never connect two power supplies to the same target.

Test checklist

What you should see at each check. If a reading is far off, stop and use the troubleshooting list.

CheckExpected
LoopbackTyped characters appear back
Real boardMessages appear at the right baud rate
Jumper at 3.3 VPin measures about 3.3 V
LabelsReadable and correct

If it does not work

Nothing appears

Swap TX and RX.

Garbage

Match the baud rate.

Port not found

Install the FTDI driver or try another cable.

Board resets

Remove the VCC lead and power the board separately.

Still stuck? Find the fault step by step with your multimeter →

Ask Lark AI

Common questions

What parts do I need for the pocket USB-serial debug tool?

FTDI FT232RL USB to TTL adapter, Jumper wires female to female (40 pcs), Heat shrink tubing assortment and ABS project box (100 × 60 × 25 mm).

How long does the pocket USB-serial debug tool take to build?

About 30 minutes for a beginner maker, in 7 steps.

How do I know the pocket USB-serial debug tool works?

Loopback: Typed characters appear back. Real board: Messages appear at the right baud rate. Jumper at 3.3 V: Pin measures about 3.3 V.

Nothing appears: what should I check?

Swap TX and RX.

Garbage: what should I check?

Match the baud rate.

Port not found: what should I check?

Install the FTDI driver or try another cable.

Board resets: what should I check?

Remove the VCC lead and power the board separately.