• sales

    +86-0755-88291180

USB TO TTL (D)User Guide

Overview

Introduction

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

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 3 x LED indicator, for checking power and signal transmitting status.
  • Plastic case, sandblasting process, nice-looking and compact.

Specification

ItemsParameter
ModelUSB to UART TTL
Power Supply5V
UART (TTL level)5V/3.3V
Baud Rare300bps ~ 3Mbps
Operating Temperature-40℃~80℃
OSSupport Win7/8/8.1/10/11, Mac, Linux, Android, WinCE, etc.

Interface Description

PinoutFunctionInput/Output
VCC-RedProvide 5V/3.3V for external devices (configurable via switch)-
GND-BlackGround-
TXD-GreenUART data sending pin, connecting to MCU.RXOutput
RXD-BlueUART data receiving pin, connecting to MCU.TXInput
SH1.0-YellowUART data receiving pin, connecting to MCU.TXOutput
SH1.0-WhiteGround-
SH1.0-OrangeUART data sending pin, connecting to MCU.RXInput

Dimensions


Working with Windows

Driver Installation


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

  • Accept the agreement and keep clicking on "Next".

  • Connect the computer and device, and you can see a new COM port in the device Manager.


Device Usage

SSCOM

  • Connect TXD and RXD of the device (i.e., short the blue and green wires).
  • Open SSCOM, input "waveshare" in the input box, check "Show Time and Packets".


  • Select 100ms intervals, and then you can observe the device sends and receives data automatically.


Working with Linux

Device Query

  • 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*


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/
  • Short TXD (green wire) and RXD (blue wire).
  • Execute the example.
sudo python3 UART.py

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:


  • Download the following example (skip this step if you have executed the above example to download):
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/
  • Open SSCOM, select 1000ms interval to send.
  • Execute the example, and you can see the transceiving phenomenon:
sudo python3 UART.py

Android

Software Installation

  • Download Android serial assistant, 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:


  • A prompt appears to ask if the application is allowed to access the USB device, just OK.
  • 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.
  • 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 here to download and install the driver.
  • Click here to see how to install it.
  • After the installation is complete, open the serial port assistant (For MAC, 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.


 Answer:

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


Support

Monday-Friday (9:30-6:30) Saturday (9:30-5:30) -China time
Email: services01@spotpear.cn