USB to TTL (Serial) Adapters
Contents
-
USB to TTL (Serial) Adapters
- D-SUN "USB to TTL" (Red)
- D-SUN "USB to TTL" (Blue)
- "JY" USB --> UART
- BTE13-2007 "USB CP2102"
- Taylor Roco "USB TO TTL", CP2102, 6-pin
- SODIAL(R) "uUSB TO TTL Module, CP2102, 6-pin
- CH340-based, 6-pin Devices
- "Red" FTDI232 (FT232RL) USB 3.3V/5.0V TTL Serial Adapter
- "Blue" FT232RL USB 5.0V/3.3V TTL Serial Adapter
- RHX PL2303MDL (Black)
- BTE13-009
- USB Console Stub
- Homyl CH340G 3.3V/5V UART Serial Adapter
- Summary Table (3.3V Devices Only)
- Configuration of Serial Terminal Input within Raspbian Jessie + Pixel post-release of the Raspberry Pi Model P3B
D-SUN "USB to TTL" (Red)
(Rx & Tx use 3.3V logic levels)1
|
|
|
|
lsusb |
usb-devices |
|
ID 10c4:ea60 |
Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light |
100 mA |
lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M |__ Port 3: Dev 4, If 0, Class=vend., Driver=cp210x, 12M
Simple "loopback" Test: |
|
|
|
Logged in to raspigrey from a dual-boot netbook running Ubuntu Linux2 |
||
|
|
|
Logged in to raspigrey from the same netbook now running Windows XP |
||
|
D-SUN "USB to TTL" (Blue)
(Rx & Tx use 3.3V logic levels)
|
|
|
lsusb |
usb-devices |
|
ID 067b:2303 |
Prolific Technology, Inc. PL2303 Serial Port |
100 mA |
"JY" USB --> UART
(CP2102 based, Rx & Tx use 3.3V logic levels)
|
|
BTE13-2007 "USB CP2102"
USB to UART Converter for Programming Shrimps and Arduinos (RxD, TxD, CTS & DTR use 3.3V logic levels)3
|
|
lsusb |
usb-devices |
|
ID 10c4:ea60 |
Cygnal Integrated Products, Inc. CP210x Composite Device |
100 mA |
lsusb -t
pi@raspiredNOOBS131 ~ $ lsusb -t /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M |__ Port 3: Dev 4, If 0, Class=vend., Driver=cp210x, 12M
Simple "loopback" Test: |
|
|
Taylor Roco "USB TO TTL", CP2102, 6-pin
(RST, RXC & TXC use 3.3V logic levels)
|
|
lsusb |
usb-devices |
|
ID 10c4:ea60 |
Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light |
100 mA |
SODIAL(R) "uUSB TO TTL Module, CP2102, 6-pin
(DTR, RXI & TXO use 4.1V logic levels, 3V3 pin also at 4.1V!)
|
|
lsusb info. & Quick Loopback Test |
|
|
CH340-based, 6-pin Devices
(Rx & Tx use ~3.7V logic levels!5)
Gikfun YP-02 USB to TTL |
|
|
|
MH USB to TTL |
|
|
|
"Red" FTDI232 (FT232RL) USB 3.3V/5.0V TTL Serial Adapter
(Use 3.3V link with a Raspberry Pi)6
|
|
lsusb |
usb-devices |
|
ID 0403:6001 |
Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC |
90 mA |
"Blue" FT232RL USB 5.0V/3.3V TTL Serial Adapter
(Break 5V link and solder 3.3V link for use with a Raspberry Pi)8
|
|
lsusb |
usb-devices |
|
ID 0403:6001 |
Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC |
90 mA |
RHX PL2303MDL (Black)
(Rx & Tx use 3.3V logic levels)9
|
|
lsusb |
usb-devices |
|
ID 067b:2303 |
Prolific Technology, Inc. PL2303 Serial Port |
100 mA |
Simple "loopback" Test: |
|
BTE13-009
(NB: Uses 5V TTL levels, DO NOT connect directly to a Pi's GPIO!)
|
|
|
|
|
Momentary switch A appears to operate |
USB Console Stub
First Sample: June 2020 |
|
|
|
|
|
lsusb and lsusb -t
pi@raspiP4B4b-32GbP:~ $ lsusb Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard Bus 001 Device 004: ID 25a7:fa61 Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 006: ID 3171:0035 Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@raspiP4B4b-32GbP:~ $ lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 6, If 0, Class=Communications, Driver=cdc_acm, 12M |__ Port 3: Dev 6, If 1, Class=CDC Data, Driver=cdc_acm, 12M |__ Port 3: Dev 6, If 2, Class=Human Interface Device, Driver=, 12M |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 3: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
Extract from usb-devices
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=3171 ProdID=0035 Rev=01.10 S: Manufacturer=8086 Consultancy S: Product=USB Serial Stub S: SerialNumber=0126 C: #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=100mA I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm I: If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm I: If#=0x2 Alt= 0 #EPs= 0 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
|
|
pi@raspiP4B4b-32GbP:~ $ cat .gtktermrc [default] port = /dev/ttyS0 speed = 9600 bits = 8 stopbits = 1 parity = none flow = none wait_delay = 0 wait_char = 255 rs485_rts_time_before_tx = 30 rs485_rts_time_after_tx = 30 echo = False crlfauto = False font = "Monospace 12" term_block_cursor = True term_rows = 80 term_columns = 25 term_scrollback = 200 term_visual_bell = True term_foreground_red = 0.660000 term_foreground_blue = 0.660000 term_foreground_green = 0.660000 term_foreground_alpha = 1.000000 term_background_red = 0.000000 term_background_blue = 0.000000 term_background_green = 0.000000 term_background_alpha = 1.000000 [piconsole] port = /dev/ttyACM0 speed = 115200 bits = 8 stopbits = 1 parity = none flow = none wait_delay = 0 wait_char = 255 rs485_rts_time_before_tx = 30 rs485_rts_time_after_tx = 30 echo = False crlfauto = False font = "Monospace 12" term_block_cursor = True term_rows = 80 term_columns = 25 term_scrollback = 200 term_visual_bell = True term_foreground_red = 0.660000 term_foreground_blue = 0.660000 term_foreground_green = 0.660000 term_foreground_alpha = 1.000000 term_background_red = 0.000000 term_background_blue = 0.000000 term_background_green = 0.000000 term_background_alpha = 1.000000
Second Sample: May 2021 |
|
|
|
Homyl CH340G 3.3V/5V UART Serial Adapter
In and Out of the bags: |
|
|
|
Jumpered for Loopback Test & 3.3V Operation |
|
|
|
|
|
Testing with a Pi Zero |
|
|
|
lsusb and lsusb -t
pi@raspiP4B4b-32GbP:~ $ lsusb Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory Bus 001 Device 004: ID 1ea7:0064 SHARKOON Technologies GmbH Bus 001 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@raspiP4B4b-32GbP:~ $ lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 6, If 0, Class=Vendor Specific Class, Driver=ch341, 12M |__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 4: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Extract from usb-devices
T: Bus=01 Lev=03 Prnt=03 Port=00 Cnt=01 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=1a86 ProdID=7523 Rev=02.64 S: Product=USB Serial C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=98mA I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=02 Driver=ch341
Summary Table (3.3V Devices Only)
Device |
"Chipset" |
Primary Pinout |
"MxPwr" |
|
CP210x |
+5V GND RXD TXD 3V312 |
100 mA |
|
|
PL2303 |
+5V GND RXD TXD 3V312 |
100 mA |
|
|
CP2102 |
+5V GND RXD TXD 3V312 |
mA |
|
|
CP210x |
GND CTS 5V TXD RXD DTR |
100 mA |
|
|
CP2102 |
GND RXC TXC 5V RST 3.3 |
100 mA |
|
|
FT232 |
DTR RX TX VCC CTS GND |
90 mA |
|
|
FT232 |
GND CTS VCC TX RX DTR |
90 mA |
|
|
PL2303 |
GND TXD RXD VCC 3V3 |
100 mA |
|
|
? |
(5V/NC) (5V/NC) GND TXD RXD |
100 mA |
|
|
CH340G |
(RTS) 5V 3V3 TXD RXD GND (CTS) |
98 mA |
|
Configuration of Serial Terminal Input within Raspbian Jessie + Pixel post-release of the Raspberry Pi Model P3B
The serial terminal is no longer enabled by default. It can be enabled by either using the Pixel desktop GUI version of raspi-config or, with care, manual editing of /boot/cmdline.txt, followed by a re-boot.
|
|
Similarily for Raspberry Pi OS ("Buster") for the P4B onwards
|
|
Hobby Components HCMODU0051 (1)
Even with VCC linked to 3V3 pin (5)
Amazon link: http://www.amazon.co.uk/dp/B00HSXDGOE/ref=pe_385721_37986871_TE_item (6)
via a Nwazet Key Lime Pi GPIO adapter (7)
Amazon link: http://www.amazon.co.uk/gp/product/B00JGP1N10/ref=oh_details_o02_s00_i00?ie=UTF8&psc=1 (8)
Amazon link: http://www.amazon.co.uk/gp/product/B00DEWBB4K/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1 (9)