USB TO TTL (D)

From Waveshare Wiki
Jump to: navigation, search
USB TO TTL (D)
USB TO TTL (D).jpg
USB TO TTL (C)
USB TO TTL (C).jpg

FT232
UART, USB
{{{name3}}}

{{{name4}}}

{{{name5}}}

Overview

Introduction

This is a USB TO TTL (D) converter, connecting the USB connector of the PC or other devices to the device with TTL logic level for data communication, for example, such as microcontrollers, sensors, etc.

Features

  • Adopts original FT232RNL chip, with stable high-speed communication, reliability, and better compatibility.
  • Built-in self-recovery fuse and ESD for over-current/over-voltage protection, counter-current proof, improving shock resistance.
  • Onboard IO protection, anti-surge design, with stable communication and safety.
  • Onboard TTL serial port 3.3V/5V level transilation circuit, for switching TTL communication level.
  • Onboard 3x LED indicator, for checking power and signal transmitting status.
  • Plastic case, sandblasting process, nice-looking and compact.

Specification

Items Parameter
Model USB to UART TTL
Power Supply 5V
UART (TTL level) 5V/3.3V
Baud Rare 300bps ~ 3Mbps
Operating Temperature -40℃~80℃
OS Support Win7/8/8.1/10/11, Mac, Linux, Android, WinCE, etc.

Interface Description

Pinout Function Input/Output
VCC-Red Provide 5V/3.3V for external devices (configurable via switch) -
GND-Black Ground -
TXD-Green UART data sending pin, connecting to MCU.RX Output
RXD-Blue UART data receiving pin, connecting to MCU.TX Input
SH1.0-Yellow UART data receiving pin, connecting to MCU.TX Output
SH1.0-White Ground -
SH1.0-Orange UART data sending pin, connecting to MCU.RX Input

Dimensions

USB TO TTL D.jpg

Working with Windows

Driver Installation

USB TO 4CH Serial Converter -02.png

  • Double-click CDM212364_Setup.exe to install by steps.

USB TO 4CH Serial Converter -03.png

  • Agree on the protocol and keep clicking on "Next".

USB TO 4CH Serial Converter -04.png

  • Connect the computer and device, and you can fund the new 4 COM ports in the Device Manager (If there is only one COM port after a while and cannot show more COM ports after trying, you can operate it according to #FAQ).

USB TO TTL-05.png

Device Usage

SSCOM

  • Connect TXD and RXD of the device (i.e., short the blue and green wires).
  • Open SSCOM, input "waveshare", select "Add Time and Pack ".

USB TO 4CH Serial Converter 16.png

  • Select 100ms intervals, and then you can observe the phenomenon of mutual sending and receiving.

USB TO 4CH Serial Converter 11.png

Working with Linux

Device

  • Raspbian, Ubuntu, CentOS, and other mainstream Linux systems generally with FT232 driver, no need to install the driver, connected to the ready-to-use!
  • Take Raspberry Pi as an example, after connecting the device, you can use it by querying the serial device name with the following command.
  • Similar to common USB device usage:
lsusb
ls /dev/ttyUSB*

USB TO TTL (C) Linux 1.png

Device Usage

  • Download the example
cd
rm -rf USB_TO_TTL_\(D\)_Demo.zip 
rm -rf USB_TO_TTL_\(D\)_Demo
wget https://files.waveshare.com/wiki/USB-TO-TTL-(D)/USB_TO_TTL_(D)_Demo.zip
unzip USB_TO_TTL_\(D\)_Demo.zip -d ./USB_TO_TTL_\(D\)_Demo
cd USB_TO_TTL_\(D\)_Demo/Linux/

USB TO TTL (D) Linux 2.png

  • Short TXD (green wire) and RXD (blue wire).
  • Example result:
sudo python3 UART.py

USB TO TTL (D) Linux 3.png

Use the UART Debug Interface of the Raspberry Pi 5

  • Connect this device to the PC, and connect the SH1.0 interface to the UART Debug interface of the Raspberry Pi 5:

USB TO TTL D RPI5.png

  • Download the following example (skip this step if you have downloaded the above demo):
cd
rm -rf USB_TO_TTL_\(D\)_Demo.zip 
rm -rf USB_TO_TTL_\(D\)_Demo
wget https://files.waveshare.com/wiki/USB-TO-TTL-(D)/USB_TO_TTL_(D)_Demo.zip
unzip USB_TO_TTL_\(D\)_Demo.zip -d ./USB_TO_TTL_\(D\)_Demo
  • Enter the sample demo:
cd USB_TO_TTL_\(D\)_Demo/SH1.0_Raspberry_Pi5/

USB TO TTL D direc.png

  • Open SSCOM, select 100ms interval to send.
  • Execute the example, and you can see the transceiving phenomenon:
sudo python3 UART.py

USB TO TTL D direc2.png
USB TO TTL (D) Linux Pi5 4.png

Android

Software Installation

  • Download Android, unzip it, and install it.
  • The above software has integrated the FT232 driver, there is no need to install additional drivers.

Device Usage

  • Connect the USB of USB TO TTL (D) to the USB port of your Android phone through the OTG adapter cable, and at the same time, connect another USB TO TTL (D) to your computer through the USB port:

FT232-mobile phone.png

  • A prompt appears to ask if the application is allowed to access the USB device.
  • Enter the string to be sent into the cell phone's serial assistant, and the computer side receives the corresponding string in the serial assistant sscom, and vice versa.

FT232 USB UART Board 15.gif

  • If you need to use the English version of the test assistant, you can search and install the appropriate debugging assistant software, which usually comes with a driver.

MacOS

  • First click on to download
  • Click here to see how to install it.
  • After the installation is complete, open the serial port assistant (MAC can directly download the serial port debugging assistant online).

Resource

Demo

Software

Driver

Install the following driver demo or download it from FTDI website, for other systems, you can download the corresponding VCP from the FTDI website.

Software

Datasheet

FAQ

 Answer:

You can short TXD, RXD, and then send data in the serial port debugging assistant to see if there is any corresponding data return, if there is, the function is normal. As shown in the #SSCOM.

{{{5}}}


 Answer:

Linux supports this FTDI device, no need to install the driver.

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)