Skip to the content
2 layers24 × 18 mmUsb2serial autovtg, the printed circuit board in 3D

Usb2serial autovtg

znuh/usb2serial-autovtg9

USB to serial converter with automatic target voltage detection, buffered IOs, 1.8V to 5V support and backflow current protection

Size
24 × 18 mm
Copper layers
2
Thickness
1.6 mm
Parts
38
Nets
31
Pads
125
Tracks, vias
233, 28
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
30 Oct 2023
Updated
25 Sep 2026

Overview

Usb2serial autovtg is an open-source printed circuit board by znuh, from the znuh/usb2serial-autovtg repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 2-layer board of 24 × 18 mm with 38 parts on 31 nets, routed with 233 tracks and 28 vias.

It is built around the 74LVC1G17GW, LMV358AIDGKRG and FT234XD-R, with the BAT54AW and ESD5V3U2U-03F among its other parts. Its parts include 15 resistors, 9 capacitors, 4 ICs, 4 diodes and 2 connectors. It belongs with the sensors and measurement and interfaces and adapters boards of this library.

Main components

5

README

README.md

USB2serial-AutoVtg


USB to serial adapter with automatic target voltage detection, buffered IOs, 1.8V to 5V support and backflow current protection

Why yet another USB to serial adapter?

This adapter adds several convenience & protection features most existing adapters do not have.

I'll use an analogy to explain this: For voltage measurements you can either use a naked analog-to-digital converter (ADC) or a digital multimeter/oscilloscope. Digital multimeters/oscilloscopes have analog frontends to support different voltage ranges and take a bit of abuse (i.e. overvoltage, etc.) with no permanent damage, while an ADC by itself does not have these features.
When it comes to USB to serial converters the situation is similar. The converter chip by itself usually doesn't support multiple voltage ranges and can be damaged by overvoltage and overcurrent.

However, an even bigger problem is that adapters can also damage the target system when set to the wrong voltage, or through backflow current when connected to an unpowered target. (See below for a detailed explanation.)
To address these issues, this adapter uses buffered IOs with backflow current protection and automatic target voltage detection.

Adapter Specifications

IC:FTDI FT234XD
Signals:GND, Rx, Tx, (Vtg - optional Vtarget reference voltage input)
IO Voltage:1.8V - 5V (automatic detection or via reference pin)
Baudrates:
Buffered IOs:74LVC1G17 Buffers
These buffers prevent potentially damaging backflow current when only the target or the USB to Serial Adapter is powered.
IO Protection:120Ω series resistors on Rx/Tx.
These resistors protect both the USB to Serial Adapter and the target by limiting the short-circuit current when the adapter is connected to the target incorrectly (e.g. adapter Tx connected to target Tx).
Current limits:
  • @1.8V: <15mA
  • @3.3V: <28mA
  • @5V: <42mA
Connector:USB-C
LED:Rx/Tx (single LED for both)

[blocked]

What is backflow current protection?

The most common USB to Serial Adapters have unbuffered IOs. This means the in- and outputs of the converter IC are directly connected to the target. When such an adapter is not connected to USB, but to a powered target, current flows from the output of the target into the input of the converter IC and to Vdd through the clamping diode.

backflow

The same problem occurs when the USB to Serial Adapter is connected to USB and an unpowered target. Current from the converter output flows into the target input and to Vdd of the target through the input clamping diode. This penomenon is called back powering.

Backflow current often exceeds the maximum ratings of the ICs involved. This can permanently damage both the (expensive) target and the USB to Serial Adapter. Modern 1.8V devices are more prone to permanent damage through backflow current because their IOs are significantly less robust than old 5V IOs.
Suitable IO buffers (such as the 74LVC1G17) prevent this by limiting the backflow current to a few µA. With these buffers having an unpowered adapter connected to a powered board - and vice versa - no longer poses a risk.

[blocked]

How does the automatic target voltage detection work?

Connecting a 3.3V USB to Serial Adapter to a 1.8V target (or a 5V adapter to a 3.3V target) can permanently damage the target, because the excessive voltage can result in a high current through the clamping diode and an overvoltage on the Vdd supply of the target.

Therefore buffered USB to Serial Adapters usually have a Vtarget (or Vtg/Vref) sense input for the target IO voltage. The sense input is used to match the IO voltage of the adapter to the target. This adapter also has such a Vtarget sense input, but in most cases connecting it is optional, because the adapter can detect the target IO voltage automatically by deriving it from the target Tx signal.

This is done with a peak detector circuit based on a common Operational Amplifier (a LMV358A). The automatic detection is designed to work with baud rates ranging from 4800 Baud up to 250kBaud. For lower or higher baudrates (and for unidirectional use-cases where the target does not have a Tx signal) a regular Vtarget sense pin is also available.

The following oscilloscope screenshots show the target TX signal (red) and the recovered IO voltage (blue) at 115.2kBaud and 1.8V. The target is sending 0x00 bytes only - the positive startbits are sufficient to recover the IO voltage.
115k2_1V8_rx_zeroes_rxon
Target IO voltage is detected shortly after the first startbit is sent.

115k2_1V8_rx_zeroes_rxoff
When the target TX signal stays at 0V for a few milliseconds (target is powered off or transmitter shutdown), the recovered IO voltage also drops down to zero.

(115.2kBaud / 5V measurements can be found here.)

License

Designed by Benedikt Heinz <hunz at mailbox.org>

Creative Commons Attribution/Share-Alike, all text above must be included in any redistribution. See license.txt for additional details.

Parts

38
QtyValueFootprintReferences
5120Resistor_SMD:R_0402_1005MetricR5, R8, R10, R11, R15
3FiducialFiducial:Fiducial_0.5mm_Mask1mmFID1, FID2, FID3
20.1u/10VCapacitor_SMD:C_0402_1005MetricC8, C10
210kResistor_SMD:R_0402_1005MetricR3, R6
210n/10VCapacitor_SMD:C_0402_1005MetricC6, C9
227Resistor_SMD:R_0402_1005MetricR1, R2
2270kResistor_SMD:R_0402_1005MetricR7, R12
24.7u/10VCapacitor_SMD:C_0402_1005MetricC3, C4
247pCapacitor_SMD:C_0402_1005MetricC1, C2
25.1kResistor_SMD:R_0402_1005MetricR13, R14
274LVC1G17GWPackage_SO:TSOP-5_1.65x3.05mm_P0.95mmU3, U6
10.1uCapacitor_SMD:C_0402_1005MetricC5
11kResistor_SMD:R_0402_1005MetricR4
12.2MResistor_SMD:R_0402_1005MetricR9
1600RInductor_SMD:L_0603_1608MetricFB1
1BAT54AWPackage_TO_SOT_SMD:SOT-323_SC-70D2
1BZX84C2V4LT1Package_TO_SOT_SMD:SOT-23D4
1Conn_01x04conn:PinHeader_1x04_P2.54mm_VerticalJ2
1ESD5V3U2UPackage_TO_SOT_SMD:Infineon_PG-TSFP-3-1D3
1FT234XDPackage_DFN_QFN:DFN-12-1EP_3x3mm_P0.45mm_EP1.66x2.38mmU1
1LEDLED_SMD:LED_0603_1608MetricD1
1LMV358AIDGKRPackage_SO:VSSOP-8_3.0x3.0mm_P0.65mmU5
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ3

Similar boards

  • 6 layers150 × 87 mmPOWERCORE V2.0 MOTHERBOARD, the printed circuit board in 3D

    POWERCORE V2.0 MOTHERBOARD

    Rack-Robotics/Powercore-V2.0

    Open-Source wire EDM power supply by Rack Robotics, Inc.

    254 parts258
  • 2 layers90 × 150 mmEnc hid kicad v10, the printed circuit board in 3D

    Enc hid kicad v10

    znuh/kicad-frontpanel-generator

    Frontpanel Generator for KiCad PCBs

    98 parts2MIT
  • 2 layers17.8 × 43.2 mmStm32c0-nano, the printed circuit board in 3D

    Stm32c0-nano

    znuh/stm32c0-nano-hw

    STM32C0-Nano Board Hardware Design Files

    31 parts2CC-BY-SA-4.0
  • 8 layers40 × 94 mmFD MAIN-01, the printed circuit board in 3D

    FD MAIN-01

    Fairank/FieldDock

    Compact iPhone companion hardware: editable PCB, mechanical CAD and portable firmware. Engineering prototype; original work available for noncommercial use.

    424 parts
  • 2 layersSAM21, the printed circuit board in 3D

    SAM21

    jayadevakash/SAM21

    IoTHive

    122 parts
  • 4 layers74.1 × 32 mmNfc rfid, the printed circuit board in 3D

    Nfc rfid

    KarkeNeko/ClipperOne

    159 parts3
  • 4 layers170 × 100 mmLeviathan V1.3, the printed circuit board in 3D

    Leviathan V1.3

    MotorDynamicsLab/Leviathan

    Leviathan Main Controller for Voron 2 / Trident 3D Printers

    420 parts124GPL-3.0
  • 4 layers57.9 × 59.4 mmGW4302, the printed circuit board in 3D

    GW4302

    garrettsworkshop/GW4302

    Prototype RAM cartridge compatible with Commodore 1700/1750/1764 RAM Expansion Unit (REU)

    100 parts11

Questions

How big is the Usb2serial autovtg PCB?

It measures 24 × 18 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Usb2serial autovtg use?

38 parts, built around the 74LVC1G17GW, LMV358AIDGKRG, FT234XD-R and BAT54AW. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Usb2serial autovtg KiCad files?

From the znuh/usb2serial-autovtg repository on GitHub, at the commit this page was made from: the board is kicad/usb2serial-autovtg.kicad_pcb and its schematic kicad/usb2serial-autovtg.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Usb2serial autovtg design in my own project?

Its repository publishes it under the CC-BY-SA-4.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).