Overview of CH340 USB Converter Chip

UTMEL

Published: 12 October 2021 | Last Updated: 12 October 2021

18227

CH340G

CH340G

WCH(Jiangsu Qin Heng)

CH340G datasheet pdf and Unclassified product details from WCH(Jiangsu Qin Heng) stock available at Utmel

Purchase Guide

CH340 is a USB bus convert chip. It allows the USB to be converted to serial interface, serial signals to USB etc. This article mainly covers datasheet, pinout, circuit, diagram, application, and other details about the CH340 USB driver converter chip. Furthermore, there is a huge range of semiconductors, capacitors, resistors, and Ics in stock. Welcome your RFQ!

Looking for Trusted and Realible Driver for CH340? Here. This video is for you.

Driver CH340 | USB to Serial

CH340 Pinout

CH340 PINOUT.jpg

CH340 Pinout



Pin   NumberPin NameDescription
1CKOClock output
2ACTNegative phase clock   output
3TXDSerial data output
4RXDSerial data input
5V3External 3.3V supply
6UD+USB data positive
7UD-USB data negative
8GNDIC ground reference
9XIExternal crystal pin
10XOExternal crystal pin
11CTSClear to send signal   pin
12DSRData set ready pin
13RIRing indicator pin
14DCDData carrier detect   pin
15DTRData terminal ready   pin
16RTSRequest to send pin
17NCNot connected
18R232RS232 enable
19VCCPower input
20NOSForbid USB device   suspending pin


What is CH340?

CH340 is a USB bus convert chip that can convert USB to serial, USB to IrDA infrared, or USB to printer interface.

In serial interface mode, the CH340 provides a common MODEM liaison signal, which can be used to expand a computer's asynchronous serial interface or immediately upgrade a common serial device to the USB bus. Please refer to the second manual CH340DS2 for more information on the USB convert to printer interface.

In infrared mode, a USB infrared adapter can be created by adding an infrared transceiver to the CH340, allowing for SIR infrared communication.


CH340 Features

  • Full speed USB 2.0

  • Emulates standard serial interface, can be used to upgrade older equipment to USB

  • Baud rate from 50bps to 2Mbps

  • 5V and 3.3V power

  • SSOP-20 package

  • CH340 Applications

  • USB to UART conversion

  • Upgrading old devices to USB

  • Programming microcontrollers


Specifications

WCH(Jiangsu Qin Heng) CH340G technical specifications, attributes, parameters and parts with similar specifications to WCH(Jiangsu Qin Heng) CH340G.
  • Type
    Parameter
  • Package / Case

    refers to the protective housing that encases an electronic component, providing mechanical support, electrical connections, and thermal management.

    SOP-16_150mil
  • Packaging

    Semiconductor package is a carrier / shell used to contain and cover one or more semiconductor components or integrated circuits. The material of the shell can be metal, plastic, glass or ceramic.

    Tube-packed
  • Type
    Transceiver
  • Supply Voltage

    Supply voltage refers to the electrical potential difference provided to an electronic component or circuit. It is crucial for the proper operation of devices, as it powers their functions and determines performance characteristics. The supply voltage must be within specified limits to ensure reliability and prevent damage to components. Different electronic devices have specific supply voltage requirements, which can vary widely depending on their design and intended application.

    3.3V 5V
  • Data Rate

    Data Rate is defined as the amount of data transmitted during a specified time period over a network. It is the speed at which data is transferred from one device to another or between a peripheral device and the computer. It is generally measured in Mega bits per second(Mbps) or Mega bytes per second(MBps).

    2Mbps
  • Protocol

    In electronic components, the parameter "Protocol" refers to a set of rules and standards that govern the communication between devices. It defines the format, timing, sequencing, and error checking methods for data exchange between different components or systems. Protocols ensure that devices can understand and interpret data correctly, enabling them to communicate effectively with each other. Common examples of protocols in electronics include USB, Ethernet, SPI, I2C, and Bluetooth, each with its own specifications for data transmission. Understanding and adhering to protocols is essential for ensuring compatibility and reliable communication between electronic devices.

    USB 2.0
  • RoHS Status

    RoHS means “Restriction of Certain Hazardous Substances” in the “Hazardous Substances Directive” in electrical and electronic equipment.

    RoHS Compliant
0 Similar Products Remaining

CH340 Applications

  • USB to UART conversion

  • Upgrading old devices to USB

  • Programming microcontrollers


CH340 Equivalents

FT232, CH340G


How to use CH340

The CH340 is a simple USB to serial IC that converts USB signals to UART, which is used to interface with older appliances and microcontrollers.

Because the ATMega329P utilized in these boards does not have built-in USB functionality, it communicates with a computer via a UART interface, which is translated to USB using the CH340.

 ch340 circuit.jpg

CH340 Circuit

The data connections on the UART side are provided by connecting the TX and RX serial pins to pins PD0 and PD1 of the microcontroller, respectively. Another noteworthy feature is that the DTR pin is connected to the reset pin via a capacitor, which resets the microcontroller whenever a serial connection or USB connector is plugged in. On the USB side, the D+ and D- pins are linked to the USB connector's respective pins. A USB clock is also provided by a 12MHz crystal (together with its load capacitors). The CH340 can be used as a simple USB to serial interface with this simple circuit setup.


CH340 vs. CP2102

The biggest difference is the USB interface. The real one uses a CP2102 USB to UART Bridge. The copy uses a CH340G chip. The CH340G is notoriously unstable and liable to die at a moment’s notice.


CH340 Dimension

ch340 dimension.jpg

CH340 Dimension

CH340 Manufacturer

Nanjing Qinheng Microelectronics Co., Ltd., formed in 2004, is a business that specializes in RF and high-speed digital-analog mixed Integrated Circuit design, as well as MCU core research. Ethernet, Bluetooth wireless network, USB, and PCI interface chips, as well as MCU + microcontroller integrated with the above interfaces, are all available from us. ADC/PGA and other analog detection, MCU smart control and driving algorithm, HID human-computer interaction, Ethernet/Bluetooth-LE and other network communications, UART/USB/USB PD/PCIE/CAN/SerDes and other interface communications, data security, IoT protocol, and cloud service are all part of our technology.


Frequently Asked Questions

What is CH340?

To put it simply, Ch340 is a USB bus convert chip. It allows the USB to be converted to serial interface, serial signals to USB, etc. You can even think of Ch340 as a trader of some sort! 

What is CH340 used for?

CH340 can be used to upgrade the former serial interface peripheral equipment or add an extra serial interface for the computer via the USB bus. Supply RS232, RS485, RS422, and another interface via adding a level change device.

What is Arduino Nano CH340?

The key studio Nano CH340 is a small, complete, and breadboard-friendly board based on the ATmega328P-AU. Compared with ARDUINO NANO, the USB-to-serial port chip used in key studio Nano is CH340G, so that the using method is the same except for the driver installation file.
CH340G

WCH(Jiangsu Qin Heng)

In Stock: 26455

United States

China

Canada

Japan

Russia

Germany

United Kingdom

Singapore

Italy

Hong Kong(China)

Taiwan(China)

France

Korea

Mexico

Netherlands

Malaysia

Austria

Spain

Switzerland

Poland

Thailand

Vietnam

India

United Arab Emirates

Afghanistan

Åland Islands

Albania

Algeria

American Samoa

Andorra

Angola

Anguilla

Antigua & Barbuda

Argentina

Armenia

Aruba

Australia

Azerbaijan

Bahamas

Bahrain

Bangladesh

Barbados

Belarus

Belgium

Belize

Benin

Bermuda

Bhutan

Bolivia

Bonaire, Sint Eustatius and Saba

Bosnia & Herzegovina

Botswana

Brazil

British Indian Ocean Territory

British Virgin Islands

Brunei

Bulgaria

Burkina Faso

Burundi

Cabo Verde

Cambodia

Cameroon

Cayman Islands

Central African Republic

Chad

Chile

Christmas Island

Cocos (Keeling) Islands

Colombia

Comoros

Congo

Congo (DRC)

Cook Islands

Costa Rica

Côte d’Ivoire

Croatia

Cuba

Curaçao

Cyprus

Czechia

Denmark

Djibouti

Dominica

Dominican Republic

Ecuador

Egypt

El Salvador

Equatorial Guinea

Eritrea

Estonia

Eswatini

Ethiopia

Falkland Islands

Faroe Islands

Fiji

Finland

French Guiana

French Polynesia

Gabon

Gambia

Georgia

Ghana

Gibraltar

Greece

Greenland

Grenada

Guadeloupe

Guam

Guatemala

Guernsey

Guinea

Guinea-Bissau

Guyana

Haiti

Honduras

Hungary

Iceland

Indonesia

Iran

Iraq

Ireland

Isle of Man

Israel

Jamaica

Jersey

Jordan

Kazakhstan

Kenya

Kiribati

Kosovo

Kuwait

Kyrgyzstan

Laos

Latvia

Lebanon

Lesotho

Liberia

Libya

Liechtenstein

Lithuania

Luxembourg

Macao(China)

Madagascar

Malawi

Maldives

Mali

Malta

Marshall Islands

Martinique

Mauritania

Mauritius

Mayotte

Micronesia

Moldova

Monaco

Mongolia

Montenegro

Montserrat

Morocco

Mozambique

Myanmar

Namibia

Nauru

Nepal

New Caledonia

New Zealand

Nicaragua

Niger

Nigeria

Niue

Norfolk Island

North Korea

North Macedonia

Northern Mariana Islands

Norway

Oman

Pakistan

Palau

Palestinian Authority

Panama

Papua New Guinea

Paraguay

Peru

Philippines

Pitcairn Islands

Portugal

Puerto Rico

Qatar

Réunion

Romania

Rwanda

Samoa

San Marino

São Tomé & Príncipe

Saudi Arabia

Senegal

Serbia

Seychelles

Sierra Leone

Sint Maarten

Slovakia

Slovenia

Solomon Islands

Somalia

South Africa

South Sudan

Sri Lanka

St Helena, Ascension, Tristan da Cunha

St. Barthélemy

St. Kitts & Nevis

St. Lucia

St. Martin

St. Pierre & Miquelon

St. Vincent & Grenadines

Sudan

Suriname

Svalbard & Jan Mayen

Sweden

Syria

Tajikistan

Tanzania

Timor-Leste

Togo

Tokelau

Tonga

Trinidad & Tobago

Tunisia

Turkey

Turkmenistan

Turks & Caicos Islands

Tuvalu

U.S. Outlying Islands

U.S. Virgin Islands

Uganda

Ukraine

Uruguay

Uzbekistan

Vanuatu

Vatican City

Venezuela

Wallis & Futuna

Yemen

Zambia

Zimbabwe