Ch340 Driver Windows 10 64 Bit Download

Ch340 Driver Windows 10 64 Bit Download

Contributors:


bboyho
,

Santa Claus Impersonator





Favorited



Favorite


9

Introduction

In this tutorial, nosotros’ll show you how to install CH340 drivers on multiple operating systems if you lot need. The driver should automatically install on most operating systems. However, there is a broad range of operating systems out there. You may need to install drivers the kickoff time you connect the scrap to your computer’s USB port or when in that location are operating system updates.


CH340 Highlighted and Closeup

Required Materials

Depending on your application, the CH340 may be populated on a breakout or development board. Hither are a few boards that use this detail USB-to-serial converter.


SparkFun RedBoard Qwiic




Out of stock




DEV-15123

The SparkFun RedBoard Qwiic is an Arduino-compatible development board with a built in Qwiic connector, eliminating the need …









13


SparkFun RedBoard Artemis




In stock




DEV-15444

The RedBoard Artemis takes the incredibly powerful Artemis module from SparkFun and wraps it up in an easy to employ and familia…









9

Accessories

You’ll too need the right USB cablevision to connect the board to your reckoner. You may demand a jumper wires and a breadboard for prototyping.

Suggested Reading

Before you begin this tutorial, you should take the Arduino IDE installed on your calculator. Check out our
Installing Arduino
tutorial for a step by stride guide.

Series Communication

Asynchronous series communication concepts: packets, signal levels, baud rates, UARTs and more!

Connector Basics

Connectors are a major source of defoliation for people just beginning electronics. The number of different options, terms, and names of connectors tin can brand selecting one, or finding the one you need, daunting. This article will help you get a jump on the world of connectors.

What is an Arduino?

What is this ‘Arduino’ thing anyway? This tutorials dives into what an Arduino is and forth with Arduino projects and widgets.

Logic Levels

Larn the difference between 3.3V and 5V devices and logic levels.

Serial Last Nuts

This tutorial will show you how to communicate with your serial devices using a diversity of final emulator applications.

Alright, let’s get to work! You can visit the adjacent section to acquire more about the CH340 and why y’all need the drivers, or you tin skip directly to the operating system of your choice!

Meet the CH340

At that place are a few variants of the CH340. The CH340Chiliad
requires an external crystal oscillator to function while the CH340C
includes a built-in crystal oscillator. Nonetheless, both function in the same fashion – they catechumen USB information for a serial UART and vice versa!

The CH340 is also populated on development boards such as the
RedBoard Qwiic
to upload code using the Arduino IDE.


RedBoard Qwiic w/ CH340 Highlighted

Drivers (If You Demand Them)

The CH340 has been tested on:

  • Windows seven/10
  • Mac OSX
    • v10.ten.5 (Yosemite)
    • v10.11.half-dozen (El Capitan)
    • v10.thirteen.0 (High Sierra)
    • v10.14.5 (Mojave)
  • Linux
    • Raspbian Stretch (11-13-2018 release) for the Raspberry Pi
    • Raspbian Buster (2019-07-10 release) for the Raspberry Pi
    • Ubuntu v18.04.2, 64-bit

These operating systems have the CDC drivers pre-installed, which means you shouldn’t need to install any actress software. However, there are a wide range of operating systems out in that location, so if you run across driver bug, you can get the archived drivers linked below:

The CH340 is fabricated past WCH. Y’all can find the latest version of their drivers in their
English translated website.

Note:
At the time of writing, you lot were only able to find the latest version of their drivers from their
website in Standard mandarin. If you use a Chrome web browser, you had the choice to have the spider web folio translated. However, you at present have the option of browsing the WCH website in either language. For those interested in heading to the Mandirin side, you tin can click on the button beneath.

Updating Drivers

If yous have the older CH340 drivers installed, you lot may need to update them. Below are the instructions for doing so on each of the tested operating systems.

Windows 7/ten

Note for Educators:
Y’all will need to obtain administrative privileges from your network or IT administrator in order to install these drivers. Make certain to test the drivers before class and prepare aside some time with students in the classroom when installing the drivers.

Download
and run the executable.

Click the “Uninstall” push first. So click on the “Install” button.

Read:  Microsoft Ipp Class Driver Windows 10 Download



Win 10 Installation Screenshot


Windows CH340 Driver Installation


Driver Verification
for Windows

To verify that your driver is working, you should run into a difference in the following pictures after plugging the CH340 to a USB port.

Device Director

To check that the CH340 enumerates to a COM port, you can open the device manager. You tin click the
Start
or

(Windows) push button and type “device director
to rapidly search for the application.


searching for device manager

Using the search on Windows 10 to await for the device director.

Afterwards opening the device manager, y’all will need to open the
Ports (COM & LPT)
tree. The CH340 should bear witness upwardly as
USB-SERIAL CH340 (COM##). Depending on your computer, the COM port may show up as a unlike number.


CH340 in the Device Manager

Screenshot of Window 10 Device Manager with a CH340 displayed on COM123. Click to enlarge.

Arduino IDE

Alternatively, if yous accept the
Arduino IDE installed, you should too see a change in the number of available COM Ports (yous may need to restart the Arduino IDE for the board to populate). Without the CH340 connected to your calculator, click on
Tools
>
Port. Have note of the
Serial Ports
available.


Arduino IDE COM Ports

Connect the CH340 to your computer’s USB port. Click on somewhere else on the screen for the menu to refresh itself. And then head back to the menu by clicking on
Tools
>
Port. A new COM port should pop upwards. By process of emptying, the CH340 should have enumerated to the new COM port! Feel gratuitous to click on the COM port to select if you are uploading code to a microcontroller. Depending on your calculator, the COM port may evidence a unlike number.


Arduino IDE COM Ports CH340

Serial Loop Back Test

You can besides verify if the USB-to-series converter is working by doing a serial loop back exam or
repeat test. If yous are using the breakout board, you tin add a jumper between the Tx and Rx to effort and echo a grapheme in a terminal plan. For more than information, try checking out the
Hardware Test for the serial basic hookup guide.


Serial Loop Back Test

Mac OSX

Annotation for Educators:
You will need to obtain authoritative privileges from your network or IT administrator in lodge to install these drivers. Brand sure to examination the drivers before class and fix aside some time with students in the classroom when installing the drivers.

Open up the
Terminal
program by selecting
Go
>
Applications.


Applications Folder

Select and open up the Terminal program under
Applications
>
Utilities
>
Terminal.


Open the Terminal Window

Note:
You can too search with Spotlight past pressing

(Control) +
space bar
(Space Bar). Then type “Last” and double-click the search result.

If you are notwithstanding unsure of how to access the Concluding,
picket this video
or read this
Apple back up commodity.

You lot’ll need to movement to the directory where the
*.kext
files are stored.

  • For
    Mac OSX v10.9+, yous will demand to use this command:

                  language:fustigate cd /Library/Extensions
                  
                
  • For
    Mac OSX v10.8 and below, you will need to use this control:

                  language:bash cd /System/Library/Extensions
                  
                

In this example, we will be using Mac OSX v10.13, and so we will need to use the commencement command.


change directory to where the drivers are located

To bank check to run across if the CH340 driver is in the correct path, use the post-obit command to list the contents of the folder.

          language:bash ls
          
        

To expect for CH340 driver files (i.due east.
usb.kext
or
usbserial.kext) in the path, you could use the following control.

          language:bash ls | grep usb
          
        

You should see something similar to the output below afterwards using the commands.


KEXT file path

If you lot have constitute the file in the path, you volition demand to run each of the following commands in the CLI/Terminal to remove old CH340 drivers. In this case, there was only the
usbserial.kext
file but it does non hurt to run both commands. Make sure to have administrative privileges to ensure that the drivers are removed.

          language:bash sudo rm -rf /Library/Extensions/usb.kext sudo rm -rf /Library/Extensions/usbserial.kext
          
        

Check if the old drivers were removed in the paths by using the
ls
control with your corresponding Bone version. You will notice that the
*.kext
file is removed from the respective paths. In this instance, the
usbserial.kext
was removed from Mac OSX High Sierra.

          language:bash ls
          
        


CH340 Drivers Removed

Download
and extract the folder.

Then, open the “*.pkg” file from the unzipped folder and follow the instructions. Y’all’ll need to restart your estimator for the changes to take effect.



Mac OSX Installation Screenshot

Mac OSX CH340 Commuter Installation File


Driver Verification
for Macs

To verify that your driver is working, yous should come across a difference in the post-obit pictures subsequently plugging the CH340 to a USB port.

Read:  Download Driver Pack Offline for Windows 7

Command Line

Open up the Concluding by heading to
Applications
>
Utilities
>
Terminal
if the program is non open nonetheless.


Open Terminal Program

Then run the following control:

          language:bash ls /dev/cu*
          
        

A list of devices connected to your Mac’south COM ports volition be displayed as a issue. Bold that the CH340 is not connected to your computer, yous should see something like to the image below.


List of Devices Connected

Connect the CH340 to one of your Mac’s COM ports. Check for the following changes (your board may show upwards under a different device name). The CH340 should prove upward as
/dev/cu.wchusbserial*****. Depending on your computer, the COM port may prove up as a different number.


List of Devices Connected with the CH340

Screenshot of Mac OSX final with CH340 on cu.wchusbserialfd1410. Click to overstate.

Arduino IDE

Alternatively, if you have the
Arduino IDE installed, you should also see a modify in the number of available COM Ports (you may need to restart the Arduino IDE for the board to populate). Without the CH340 connected to your reckoner, click on
Tools
>
Port. Take note of the
Serial Ports
available.


Available Serial Ports on Arduino IDE

Connect the CH340 to your computer’south USB port. Click on somewhere else on the screen for the menu to refresh itself. And so head dorsum to the menu past clicking on
Tools
>
Port. A new COM port should pop up. By process of elimination, the CH340 should have enumerated to the new COM port! Feel free to click on the COM port to select if you are uploading code to a microcontroller. Depending on your figurer, the COM port may show a different number.


Available Serial Ports  w/ CH340 on Arduino IDE

Serial Loop Back Test

You can as well verify if the USB-to-series converter is working by doing a serial loop back exam or
echo test. If y’all are using the breakout lath, you can add a jumper between the Tx and Rx to effort and repeat a graphic symbol in a terminal programme. For more information, try checking out the
Hardware Test for the serial bones hookup guide.


Serial Loop Back Test

Linux

Note for Educators:
You lot will need to obtain administrative privileges from your network or It administrator in order to install these drivers. Brand sure to test the drivers before class and fix bated some fourth dimension with students in the classroom when installing the drivers.

Raspbian
for Raspberry Pi

Run the following commands in the CLI/Terminal when using Raspbian on a Raspberry Pi. After updating, the latest CH340 should be installed!

          language:bash sudo apt-get update sudo apt-get upgrade
          
        

Other Linux Distributions

Here is a downloadable

*.ZIP
of standard CH340 drivers

for Linux.

There are some reported cases of series communication failure when using the factory drivers in Linux. If y’all come across this problem, you lot can effort installing patched drivers
equally explained in this forum post. Hither are the steps (to run in the command line):

  • Plug and unplug your CH340 device from the USB port
  • Type
    dmesg
    to see what has happened

    • The expected output (shows “ch341”) should have the post-obit in the recent log:
          [  30] ch341-uart ttyUSB0: ch341-uart converter now asunder from ttyUSB0 [  xxx] ch341 3-2:1.0: device asunder
        
  • Download the
    patched drivers repository
    and unzip the files
  • cd
    into the directory where the files are saved
  • make clean
  • make
  • sudo make load
  • sudo rmmod ch341
    to uninstall the broken driver
  • lsmod | grep ch34
    to listing what modules are currently installed
  • Plug and unplug your CH340 device again on the USB port
  • dmesg

    • Expected output (should show “ch34x” now):
          [  xxx] ch34x ttyUSB0: ch34x converter now disconnected from ttyUSB0 [  xxx] ch34x 3-2:1.0: device disconnected
        

Depending on your root permissions, you may need to configure the serial port with the post-obit 2 commands. Brand sure to adjust the
$username
with respect to the user ID that is currently logged in.

          language:bash sudo usermod -a -G dialout $username  sudo chmod a+rw /dev/ttyUSB0
          
        

Driver Verification
for Linux

Command Line

Plug the CH340 back to your reckoner’s USB port. And then run the following command in the CLI/Concluding on any Linux distribution. Check for the post-obit changes (your board may show up under a different device name).

          linguistic communication:bash ls /dev/ttyUSB*
          
        

The series port that CH340 is connected to should pop upwardly equally a upshot.


Raspbian CLI Command Entry


Screenshot of Raspberry Pi CLI with the CH340 on ttyUSB0. Click to overstate

Arduino IDE

Alternatively, if you have the
Arduino IDE installed, y’all should besides meet a change in the number of bachelor COM Ports (you lot may need to restart the Arduino IDE for the board to populate). Without the CH340 connected to your calculator, click on
Tools
>
Port. Depending on the Linux flavor that y’all take, the
Ports
may not open to brandish whatever serial ports. Take note of the
Serial Ports
bachelor if information technology opens upwards.

Read:  Free Download Driver Printer Epson Lx 300 Ii


Linux Ubuntu Arduino COM Ports

Connect the CH340 to your estimator’south USB port. Click on somewhere else on the screen for the menu to refresh itself. And then head back to the menu past clicking on
Tools
>
Port. A new COM port should pop upwards. By process of elimination, the CH340 should have enumerated to the new COM port! Feel free to click on the COM port to select if y’all are uploading code to a microcontroller. Depending on your calculator, the COM port may evidence a different number.


Linux Ubuntu Arduino COM Ports CH340

Series Loop Dorsum Exam

You tin can also verify if the USB-to-serial converter is working by doing a serial loop back examination or
echo test. If you are using the breakout board, yous can add a jumper between the Tx and Rx to try and echo a character in a terminal program. For more than information, try checking out the
Hardware Test for the series basic hookup guide.


Serial Loop Back Test

Troubleshooting

COM Port is Not Showing Up as CH340
Windows

We accept had a few reports on Windows ten where the driver will automatically install and the board will show up under a new COM port as
USB-Serial CH340, but with a different device name. Nonetheless, the board cannot be accessed on the Arduino IDE. Others have had issues where the installation procedure hangs.

Based on the customer experiences, this might exist specific to the manufacturer and are commonly isolated cases. Users seem to exist able to somewhen get the board recognized by a combination of giving the computer time to stop the install (close to 20 min), plugging the board back in multiple times, reinstalling the drivers, and/or resetting the computer multiple times (repeat both steps).

COM Port Not Available
Windows, Mac, and Linux

If you lot installed the drivers for the CH340 on your calculator but have bug connecting via serial final or uploading code using the Arduino IDE, there may be an event with your user settings preventing you lot from using the CH340. Yous may receive an
avrdude: ser_open(): can't open up device
mistake similar to the output shown beneath.

          language:fustigate avrdude: ser_open(): tin can't open device "/dev/ttyUSB0": No such file or directory
          
        

In this case, the error appeared on a Linux when trying to upload lawmaking due to the drivers not being installed and the root permissions.


Arduino ser_open() error

Brand sure to check your configuration settings and ensure that the serial port for the CH340 is enabled for your Os. You may also need to reinstall the drivers for your operating system.

USB Cable
Windows, Mac, and Linux

Sure USB cables are for power only and may not have the data lines available. Try checking your USB cable and ensure that the data lines are intact.

Issues Uploading at Fast Baud Rates

If you are uploading to certain boards like the Apollo3 on the Artemis development boards with fast baud rates, at that place are some platforms (Linux flavors) where the standard CH340 USB to serial drivers don’t operate well at speeds higher than
115200. So if you lot run into upload problems, consider reducing the upload speed. For more information about upload issues, see
this forum post
and consider upgrading with
these drivers for Mac OSX
or
these for Linux.

Resources and Going Further

Now that you’ve successfully got your CH340 up and running, it’south time to incorporate it into your own project!

USB-to-serial converters like the CH340 are great for uploading code to a microcontroller or viewing data from a GPS on a serial final. Check out these tutorials to swoop fifty-fifty deeper into the globe of microcontrollers or ship serial data to your reckoner with a GPS!

Serial Terminal Basics

This tutorial will show you how to communicate with your serial devices using a multifariousness of concluding emulator applications.

GPS-RTK Hookup Guide

Find out where you are! Apply this like shooting fish in a barrel hook-up guide to get upwards and running with the SparkFun high precision GPS-RTK NEO-M8P-two breakout lath.

RedBoard Qwiic Hookup Guide

This tutorial covers the basic functionality of the RedBoard Qwiic. This tutorial too covers how to get started blinking an LED and using the Qwiic arrangement.

Or check out these blog posts.

Ch340 Driver Windows 10 64 Bit Download

You May Also Like