In this tutorial, we’ll show you how to install CH340 drivers on multiple operating systems if you need. The driver should automatically install on most operating systems. However, there is a wide range of operating systems out there. You may need to install drivers the first time you connect the chip to your computer’s USB port or when there are operating system updates.
Drivers (If You Need Them)
The CH340 has been tested on:
- Windows 7/10
- Mac OSX
- v10.10.5 (Yosemite)
- v10.11.6 (El Capitan)
- v10.13.0 (High Sierra)
- v10.14.5 (Mojave)
- 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 extra software. However, there are a wide range of operating systems out there, so if you run into driver problems, you can get the archived drivers linked below:
- Windows (EXE) — Driver executable
- Windows (ZIP) : Driver v3.4 (2016-09-27)
- Mac (ZIP) : Driver v1.5 (2018-07-04)
- Linux (ZIP) : Driver v1.5 (2018-03-18)
The CH340 is made by WCH. You can find the latest version of their drivers here, but most of their pages are in Mandarin. If you use a Chrome web browser, you should have the option to have the web page translated.WCH: CH340 DRIVERS
If you have the older CH340 drivers installed, you may need to update them. Below are the instructions for doing so on each of the tested operating systems.
Note for Educators: You will need to obtain administrative privileges from your network or IT administrator in order to install these drivers. Make sure to test the drivers before class and set aside some time with students in the classroom when installing the drivers.
Click the “Uninstall” button first. Then click on the “Install” button.
Driver Verification for Windows
To verify that your driver is working, you should see a difference in the following pictures after plugging the CH340 to a USB port.
To check that the CH340 enumerates to a COM port, you can open the device manager. You can click the Start or ⊞ (Windows) button and type “device manager to quickly search for the application.
Note: On Windows 10, the quick search function is picky on the spelling of the application you are searching for. For example, you may get results using “devi” and none for “device“.
After opening the device manager, you will need to open the Ports (COM & LPT) tree. The CH340 should show up as USB-SERIAL CH340 (COM##). Depending on your computer, the COM port may show up as a different number.
Alternatively, if you have the Arduino IDE installed, you should also see a change 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 computer, click on Tools > Port. Take note of the Serial Ports available.
Connect the CH340 to your computer’s USB port. Click on somewhere else on the screen for the menu to refresh itself. Then head back to the menu by 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 computer, the COM port may show a different number.