TENSTAR ROBOT CH340G CH340E

Contents

CH340G/CH340E USB to TTL Converter UART Module User Manual

Model: CH340G, CH340E

Brand: TENSTAR ROBOT

1. Introduction

This manual provides instructions for the TENSTAR ROBOT CH340G and CH340E USB to TTL converter UART modules. These modules are designed to facilitate serial communication between a computer's USB port and a microcontroller or other TTL-level serial devices. They offer selectable 3.3V and 5V operation, making them versatile for various electronic projects and device firmware upgrades.

2. Product Features

  • Original CH340 Chip: Utilizes new, original CH340G/CH340E chips, officially recommended for USB to TTL conversion, ensuring broad compatibility and stability across different operating systems.
  • Selectable Voltage: Supports both 3.3V and 5V output voltage, selectable via an onboard jumper, catering to various target device requirements.
  • Visual Indicators: Equipped with a Power (PWR) indicator, and separate Transmit (TXD) and Receive (RXD) LED indicators for easy monitoring of data flow and operational status.
  • Robust Design: Features high-quality gold-plated pins for enhanced durability and reliable connections.
  • Compact Size: Ultra-small form factor for easy integration into projects and tight spaces.
  • Self-Healing Fuse: Includes a 50mA self-healing fuse for protection against overcurrent.
  • Wide OS Support: Compatible with a broad range of Windows operating systems, including Windows 98, ME, 2000, XP, Server 2003, Vista, Server 2008, Win7, and Win8 (both 32-bit and 64-bit versions).

3. Package Contents

The standard package typically includes:

  • 1 x CH340G or CH340E USB to TTL Converter Module
  • 1 x Set of Jumper Wires (e.g., 4-pin or 5-pin female-to-female wires)
Overview of CH340G and CH340E modules with included jumper wires
Figure 3.1: Typical package contents including the USB to TTL module and jumper wires.

4. Setup Guide

4.1. Driver Installation

The CH340 series chips require a driver to function correctly on your computer. For Windows 10, the driver often installs automatically upon connecting the module. For older Windows versions (e.g., Win7, Win8, XP) or if automatic installation fails, you may need to manually install the CH340 driver.

  1. Download the official CH340 driver from the manufacturer's website (WCH.cn is the chip manufacturer).
  2. Extract the downloaded file and run the setup executable (e.g., CH341SER.EXE).
  3. Follow the on-screen instructions to complete the installation.
  4. Connect the CH340 module to your computer's USB port.
  5. Verify installation: Open Device Manager (search for "Device Manager" in Windows). Under "Ports (COM & LPT)", you should see an entry like "USB-SERIAL CH340 (COMx)", where 'x' is the assigned COM port number.
Windows Device Manager showing USB-SERIAL CH340 (COM4) indicating successful driver installation
Figure 4.1: Example of successful driver installation in Windows Device Manager.

4.2. Voltage Selection (3.3V / 5V)

Both CH340G and CH340E modules feature a jumper to select the output voltage for the VCC pin, allowing you to match the voltage requirements of your target device (e.g., microcontroller). The jumper typically has two positions: one for 5V and one for 3.3V.

  1. Identify the Jumper: Locate the small yellow jumper cap on the module, usually labeled '5V' and '3V3' or similar.
  2. Select Voltage: Move the jumper cap to the desired position. For example, if your microcontroller operates at 3.3V, place the jumper on the '3V3' pins. If it operates at 5V, place it on the '5V' pins.

Important Note:

  • Ensure the module is disconnected from the USB port before changing the jumper setting.
  • While the VCC output voltage is controlled by the jumper, some modules might not regulate the voltage on the TXD/RXD signal lines. Always verify the signal line voltage levels with a multimeter if your application is sensitive to voltage differences, especially when interfacing with 3.3V devices.
Detailed diagram of the CH340E module, including product features, hardware analysis (pinout, indicators, voltage jumper), dimensions, and examples of supported hardware types.
Figure 4.2: CH340E module diagram showing the 3.3V/5V voltage selection jumper (labeled S1/3V3/5V).

4.3. Pinout and Connections

The module provides standard serial communication pins. Refer to the pinout diagram and table below for correct connections.

Top view of the CH340G module, showing the CH340G chip, 12.000MHz crystal, and pin labels (RTS, 5V, 3V3, TXD, RXD, GND, CTS)
Figure 4.3: CH340G Module Pinout (Top View).
Top view of the CH340E module, clearly showing the CH340E chip, 12.000MHz crystal, and pin labels (RTS, 5V, 3V3, TXD, RXD, GND, CTS)
Figure 4.4: CH340E Module Pinout (Top View).
Table 4.1: Pin Descriptions
Pin Description
RTS Request To Send (Flow Control)
5V 5V Power Output (when 5V selected)
3V3 3.3V Power Output (when 3.3V selected)
TXD Transmit Data (Connect to target device's RXD)
RXD Receive Data (Connect to target device's TXD)
GND Ground
CTS Clear To Send (Flow Control)

4.4. Connecting to a Target Device

To establish serial communication, connect the module to your target device (e.g., Arduino Pro Mini, ESP32, Raspberry Pi) as follows:

  1. GND to GND: Connect the GND pin of the CH340 module to the GND pin of your target device. This is essential for a common reference voltage.
  2. TXD to RXD: Connect the TXD (Transmit) pin of the CH340 module to the RXD (Receive) pin of your target device.
  3. RXD to TXD: Connect the RXD (Receive) pin of the CH340 module to the TXD (Transmit) pin of your target device.
  4. VCC: Connect the 5V or 3V3 pin of the CH340 module (depending on your jumper selection) to the VCC/power input of your target device, if you intend to power the device from the USB port. Ensure the selected voltage matches your device's requirements.
  5. Flow Control (Optional): If your application requires hardware flow control, connect RTS and CTS pins accordingly. For most basic serial communication, these pins are not needed.
CH340 module connected to a device using jumper wires
Figure 4.5: Example connection of the CH340 module with jumper wires.

5. Operating Instructions

Once the drivers are installed and the module is connected to your target device:

  1. Identify COM Port: In Device Manager, note the COM port number assigned to the "USB-SERIAL CH340".
  2. Open Serial Terminal: Use a serial terminal program on your computer (e.g., PuTTY, Arduino IDE Serial Monitor, Termite, CoolTerm).
  3. Configure Terminal: Set the correct COM port, baud rate (e.g., 9600, 115200), data bits (usually 8), parity (None), and stop bits (usually 1) to match your target device's serial communication settings.
  4. Communicate: You can now send and receive data between your computer and the target device. The TXD and RXD LEDs on the module will flash when data is being transmitted or received, providing visual feedback.

6. Specifications

Table 6.1: Technical Specifications
Feature Detail
Chipset CH340G / CH340E
Interface USB-A to TTL (UART)
Output Voltage 3.3V / 5V (selectable via jumper)
Indicators Power (PWR), Transmit (TXD), Receive (RXD)
Protection 50mA Self-healing fuse
Application Computer, Microcontrollers, Firmware Upgrades
Operating Temperature 1 (Generic value, typical for integrated circuits)
Dimensions (CH340E module) Approx. 51mm (Length) x 20mm (Width) x 14mm (USB Width)

7. Troubleshooting

Q: Module not recognized by computer / Drivers not installing on Windows 7.
A: Ensure you have downloaded and manually installed the correct CH340 driver from the WCH.cn website. Sometimes, Windows Update might interfere; try installing the driver in compatibility mode or as an administrator. Verify in Device Manager that the "USB-SERIAL CH340" device appears under "Ports (COM & LPT)".
Q: No data transmission/reception.
A: Check the following:
  • Wiring: Ensure TXD is connected to RXD and RXD to TXD between the module and your target device. GND must also be connected.
  • Baud Rate: Verify that the baud rate in your serial terminal matches the baud rate of your target device.
  • Voltage: Confirm the voltage jumper is set correctly (3.3V or 5V) for your target device.
  • Power: Ensure the target device is properly powered, either by the module's VCC output or an external power supply.
  • Driver: Confirm the driver is correctly installed and the COM port is active.
Q: Signal line voltage issues when switching 3.3V/5V.
A: As noted in Section 4.2, the voltage jumper primarily controls the VCC output. While most modules also adjust signal line voltage, it's good practice to verify with a multimeter if your application is sensitive. If signal lines remain at 5V when 3.3V is selected, you may need external level shifters for 3.3V-only devices.

8. User Tips

  • For Windows 10 users, the CH340 driver often installs automatically, simplifying setup.
  • These modules are highly suitable for flashing firmware on various devices, including microcontrollers like Arduino Pro Mini and single-board computers like Banana Pi R4.
  • Always double-check your wiring, especially the TXD/RXD cross-connection and GND, before powering on to prevent damage.
  • The onboard TXD and RXD LEDs are very helpful for debugging communication issues; observe them to confirm data activity.
  • The compact size and included jumper wires make these modules convenient for quick prototyping and field use.

9. Maintenance

The CH340G/CH340E module is a low-maintenance device. To ensure its longevity and proper function:

  • Store the module in a dry, anti-static environment when not in use.
  • Avoid exposing the module to extreme temperatures or humidity.
  • Handle with care to prevent physical damage to the PCB or components.
  • Keep the pins clean and free from debris.

10. Warranty and Support

For technical support, driver updates, or warranty inquiries, please contact the seller or refer to the official WCH.cn website for CH340 chip documentation.

11. Frequently Asked Questions (FAQ)

Q: Which of the CH340G/CH340E models is suitable for Arduino Mini or ATmega8?
A: All models (CH340G and CH340E) are generally suitable for Arduino Mini and ATmega8. They primarily differ in their physical construction and specific CH340 chip variant, but both provide the necessary USB to TTL conversion. Ensure you select the correct 3.3V or 5V operating voltage via the onboard jumper to match your Arduino Mini/ATmega8 setup.
Q: What is the difference between the CH340G and CH340E modules?
A: Both the CH340G and CH340E are USB to TTL converter chips. The modules featuring these chips typically offer similar functionality, including selectable 3.3V/5V output. Differences are often in the physical layout, component placement, and specific form factor (e.g., the CH340E module is noted for its ultra-small size). Functionally, for most users, they are interchangeable.
Q: Can I connect a Raspberry Pi to this module?
A: Yes, you can connect a Raspberry Pi to this module for serial console access or other serial communication. Ensure you connect the TXD, RXD, and GND pins correctly and set the module's voltage to 3.3V, as Raspberry Pi GPIOs operate at 3.3V. Do NOT connect the 5V output of the module to the Raspberry Pi's 3.3V GPIOs.
Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.