Chuyển tới nội dung
Home » Ch340 Arduino Driver Windows 10 | Meet The Ch340

Ch340 Arduino Driver Windows 10 | Meet The Ch340

Installing CH340 Drivers for Arduino | Arduino not Detected by Computer FIX | COM Port Issue FIX

Windows

(Manufacturer’s Chinese Info Link)

  1. Download the Windows CH340 Driver
  2. Unzip the file
  3. Run the installer which you unzipped
  4. In the Arduino IDE when the CH340 is connected you will see a COM Port in the Tools > Serial Port menu, the COM number for your device may vary depending on your system.

Older Windows Driver Version and Instructions


  1. Download the Windows CH340 Driver

  2. Unzip the folder.

  3. If you are running a 64Bit Windows: – run the SETUP_64.EXE installer.

  4. If you are running a 32Bit Windows: – run the SETUP_32.EXE installer.

  5. If you don’t know, try the 64 bit and if it doesn’t work, the 32 bit.

  6. In the Arduino IDE when the CH340 is connected you will see a COM Port in the Tools > Serial Port menu, the COM number for your device may vary depending on your system.

Macintosh

(Manufacturer’s Chinese Info Link)

The following github has up to day pkg files for 1.3, 1.4 and 1.5 at time of writing, thanks to Joshua Wallis for bringing this to my attention…

https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver

Direct Download Links (from the github repo above):

See the github link above for installation instructions if you need them.

Previous macinstosh downloads if the above doesn’t work for you…


(V1.3) Download the CH340 Macintosh Signed Driver for Mavericks (10.9), Yosemite (10.10) and El Capitan (10.11) and Sierra (10.12)


Inside the zip file you will find a PDF and a “pkg” file, short version, double click the pkg file, the PDF has some extra information.


OSX Sierra (10.12) Note


A kindly user, Maarten Segers reports


FYI, the driver documented here WILL crash on OSX Sierra.


Make sure to use this one instead: https://github.com/MPParsley/ch340g-ch34g-ch34x-mac-os-x-driver


I can personally not test on MacOS and can not vouch for the above drivers at github, but there you go.


See uninstalling information at the bottom of the page if the driver causes problems for you.


Here is an older version of the Mac driver, NOT FOR 10.12 Sierra


(V1.0) Download the CH340 Macintosh Signed Driver for Mavericks (10.9), Yosemite (10.10) and El Capitan (10.11)

Installing CH340 Drivers for Arduino | Arduino not Detected by Computer FIX | COM Port Issue FIX
Installing CH340 Drivers for Arduino | Arduino not Detected by Computer FIX | COM Port Issue FIX

các cửa sổ

( Liên kết thông tin tiếng Trung của nhà sản xuất )

  1. Tải xuống trình điều khiển Windows CH340
  2. Giải nén tập tin
  3. Chạy trình cài đặt mà bạn đã giải nén
  4. Trong Arduino IDE khi CH340 được kết nối, bạn sẽ thấy Cổng COM trong menu Công cụ> Cổng nối tiếp, số COM cho thiết bị của bạn có thể thay đổi tùy theo hệ thống của bạn.

Hướng dẫn và phiên bản Windows Driver cũ hơn

  1. Tải xuống trình điều khiển Windows CH340
  2. Giải nén thư mục.
  3. Nếu bạn đang chạy Windows 64Bit: – hãy chạy trình cài đặt SETUP_64.EXE.
  4. Nếu bạn đang chạy Windows 32Bit: – hãy chạy trình cài đặt SETUP_32.EXE.
  5. Nếu bạn không biết, hãy thử 64 bit và nếu nó không hoạt động, 32 bit.
  6. Trong Arduino IDE khi CH340 được kết nối, bạn sẽ thấy Cổng COM trong menu Công cụ> Cổng nối tiếp, số COM cho thiết bị của bạn có thể thay đổi tùy theo hệ thống của bạn

The CH340 chip is used by a number of Arduino compatible boards to provide USB connectivity, you may need to install a driver, don’t panic, it’s easier than falling off a log, and much less painful.

Meet the CH340

There are a few variants of the CH340. The CH340G requires an external crystal oscillator to function while the CH340C includes a built-in crystal oscillator. However, both function in the same fashion – they convert USB data for a serial UART and vice versa!

CH340G CH340C

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

INSTALL DRIVER CH340
INSTALL DRIVER CH340

Mac OSX

Open the Terminal program by selecting Go > Applications.

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

If you are still unsure of how to access the Terminal, watch this video or read this Apple support article.

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

  • For Mac OSX v10.9+, you will need to use this command:


    language:bash cd /Library/Extensions

  • For Mac OSX v10.8 and below, you will need to use this command:


    language:bash cd /System/Library/Extensions

In this case, we will be using Mac OSX v10.13, so we will need to use the first command.

To check to see if the CH340 driver is in the correct path, use the following command to list the contents of the folder.


language:bash ls

To look for CH340 driver files (i.e. usb.kext or usbserial.kext) in the path, you could use the following command.


language:bash ls | grep usb

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

If you have found the file in the path, you will need 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 not 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

command with your respective OS version. You will notice that the *.kext file is removed from the respective paths. In this case, the usbserial.kext was removed from Mac OSX High Sierra.


language:bash ls

Download and extract the folder.

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

Mac OSX CH340 Driver Installation File

If you receive a window that indicates that the system extension is blocked, you’ll need to open a search with Spotlight by pressing ⌘ (Command) + space bar (Space Bar). Type Security & Privacy and click on the “Allow” button to enable the CH340 drivers.

Driver Verification for Macs

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

Command Line

Open the Terminal by heading to Applications > Utilities > Terminal if the program is not open yet.

If you are still unsure of how to access the Terminal, watch this video or read this Apple support article.

Then run the following command:


language:bash ls /dev/cu*

A list of devices connected to your Mac’s COM ports will be displayed as a result. Assuming that the CH340 is not connected to your computer, you should see something similar to the image below.

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

Arduino IDE

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.

Serial Loop Back Test

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

USB-SERIAL CH340 Drivers Download

  • Driver Version: 3.3.2011.11
  • Release Date: 2011-11-04
  • File Size: 41.02K
  • Supported OS: Windows 10 64 bit, Windows 8.1 64bit, Windows 7 64bit, Windows Vista 64bit, Windows XP 64bit

Please enter verification code, then click the download button.

  • Driver Version: 3.1.2009.06
  • Release Date: 2009-06-03
  • File Size: 35.3K
  • Supported OS: Windows 10 32 & 64bit, Windows 8.1 32 & 64bit, Windows 7 32 & 64bit, Windows Vista 32 & 64bit, Windows XP

Please enter verification code, then click the download button.

OK, Ive tried tried everything suggested here and everywhere else. I cannot get windows 10 to recognize the USB port with the CH340 clones. Reinstalled FTDI drivers and then tried to go back to the CH341SER drivers but I keep getting the “no 64 bit .INF found” error. Also tried several different cables. I know this has probably been asked 1000 times but I am losing hope. Thanks

I had no issue using the CH340SER.exe drivers on either of my Windows 10 x64 systems.

This is the official one : http://www.wch.cn/download/CH341SER_EXE.htmlWhich one did you use ?

Reinstalling FTDI is not needed. They are two drivers for two different usb products.Try to install the CH341SER once more, and restart your computer.It is possible that something is wrong in the settings of Windows 10 ow with the disk. Can you run a disk check ?

Koepel:

This is the official one : http://www.wch.cn/download/CH341SER_EXE.htmlWhich one did you use ?

Reinstalling FTDI is not needed. They are two drivers for two different usb products.

Try to install the CH341SER once more, and restart your computer.It is possible that something is wrong in the settings of Windows 10 ow with the disk. Can you run a disk check ?

That’s the one I used. Ive reinstalled and restarted several times. One thing I don’t fully understand about the 340 driver is when I run the executable it says the drivers were previously installed even after I removed them and if I try to manually install the drivers through the device manager I get the driver not found error. I tried connecting to the nano on another computer with no luck. I think it is just faulty.

If you’ve only checked with one device, it could very well be a bad device, if it’s not known working on other systems.

I’m pretty sure those el-cheapo clones that cost less than a cup of coffee aren’t tested before the sellers throw them into bags without static protection, slap on an false customs declaration and drop them in the mail… That said, I have abused the hell out of CH340G’s and have yet to break one.

DrAzzy:

If you’ve only checked with one device, it could very well be a bad device, if it’s not known working on other systems.

I’m pretty sure those el-cheapo clones that cost less than a cup of coffee aren’t tested before the sellers throw them into bags without static protection, slap on an false customs declaration and drop them in the mail… That said, I have abused the hell out of CH340G’s and have yet to break one.

I have a couple of “genuine” units coming in so I will try again with those. Putting this one on the back burner for now.

1khenegar:

OK, Ive tried tried everything suggested here and everywhere else. I cannot get windows 10 to recognize the USB port with the CH340 clones. Reinstalled FTDI drivers and then tried to go back to the CH341SER drivers but I keep getting the “no 64 bit .INF found” error. Also tried several different cables. I know this has probably been asked 1000 times but I am losing hope. Thanks

CH340 | arduined.eu I had luck with this site but I had problems uploading my real Arduinos after I got that program in but I fixed it by just uploading the Arduino program again. Hope this is a help.

Koepel:

This is the official one : http://www.wch.cn/download/CH341SER_EXE.html

McAfee warns that the site is a risk and if you ignore it and download McAfee warns the exe has trojan.

Asterion:

McAfee warns that the site is a risk and if you ignore it and download McAfee warns the exe has trojan.

Odd as many of use use that site.Its the “goto” one for the drivers and none of the extensive security here has ever even hinted at it or the drivers being of any sort of risk.There again I don’t use Norton or Mcafee bloatware and haven’t for a number of years as I spent too much time fixing customers slow computers after those were installed.

Couple of remarks:http://www.wch.cn/download/CH341SER_EXE.html is the site of the actual manufacturer. So if you don’t trust them, don’t use the CH340

1khenegar:

and then tried to go back to the CH341SER drivers

There is no such thing as going back to them. A driver is installed or it’s not. Being linked to a device is another story. And the FTDI drivers have nothing to do with the CH340. If you have a CH340 you should not try to point to the FTDI drivers or vice versa but Windows should tell you that.

1khenegar:

One thing I don’t fully understand about the 340 driver is when I run the executable it says the drivers were previously installed even after I removed them

How did you do that? Just removing the device doesn’t delete the driver. It just un-links them Sometimes Windows gives you the extra option to do so but if it thinks it’s still in use it doesn’t.

But if you have the CH340 driver installed, then plug in the CH340 and Windows will just link the driver for you. No need to dig through .inf files. But the fact you “installed” FTDI drivers for it I start to think it’s NOT a CH340 but just a Chinese/counterfeit FTDI which will install with the latest FTDI drivers but just will not work. Google “FTDI gate”.

Just adding my 4 penny worth -My Uno(cheap ver) works with win 7 and not win 10 I’ve done all the things suggested and sitll no luck.

Things I’ve tried are getting the download from wcn.com and using CH340 driver.

My ports are USB 3.0, as suggested I tried lowering the receive and transmit buffer in < device manager>

is it worth getting a USB 2.0 buffer?

Changing the buffers for the USB port will hardly ever work. (return them to the original values)

However inserting a half decent self powered USB 2.0 hub has been seen to fix a majority of USB 3.0 port issues.

Also it is always best under win 10 to install drivers with “driver enforcement” turned off and with FULL Administrative privileges. That should not normally be needed but has in the past fixed drivers issues.

Success! My Uno now works on my win 10 pc.

The solution was as suggested by ( ballscrewbob – thank you) disable driver signature enforcement.

This was done according to “How to geek”. – Enable test signing mode. – Windows power shell (Admin) and to testsigning off when through.

CH341 driver then works

Sweet..I love a quick fix (but proper one)

Thank you

RichardMorgan:

Success! My Uno now works on my win 10 pc.

The solution was as suggested by ( ballscrewbob – thank you) disable driver signature enforcement.

This was done according to “How to geek”. – Enable test signing mode. – Windows power shell (Admin) and to testsigning off when through.

CH341 driver then works

How did you do this? I really couldn’t do anything.

There are multiple ways to turn off “driver enforcement” from single instance to multiple instance to always.

Just google “turn off driver enforcement (your OS HERE)”

The CH340/341 drivers are HERE

Hello,

Now I am back to use arduino clone with ch340 driver. I instaled ch340 driver x64, but not working.

Can someone please write step by step instruction to help me?

I am using windows 10 and arduino 1.8.5.

Thank you !

Did nothing else in this post help ?

Everything is in this thread for CH340 and win 10.

I googled “turn off driver enforcement” and did all steps. After that I re-instaled ch340 driver fallowing your link.

But nothing.

Tutorial Cara Mengatasi ArduinoTidak Terdeteksi / Tersambung dan Cara Install Driver Arduino
Tutorial Cara Mengatasi ArduinoTidak Terdeteksi / Tersambung dan Cara Install Driver Arduino

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)
  • 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 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 in their English translated website.

Updating Drivers

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

Linux

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 serial communication failure when using the factory drivers in Linux. If you encounter this problem, you can try installing patched drivers as explained in this forum post. Here 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 following in the recent log:


[ xxx] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0 [ xxx] ch341 3-2:1.0: device disconnected

  • 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 list 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 following two commands. Make 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


/dev/ttyUSB0may be different. Try using


lscommand as explained in the Driver Verification if you have issues configuring the serial port settings and adjusting the port as necessary.

Driver Verification for Linux

Command Line

Plug the CH340 back to your computer’s USB port. Then run the following command in the CLI/Terminal on any Linux distribution. Check for the following changes (your board may show up under a different device name).


language:bash ls /dev/ttyUSB*

The serial port that CH340 is connected to should pop up as a result.

Arduino IDE

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. Depending on the Linux flavor that you have, the Ports may not open to display any serial ports. Take note of the Serial Ports available if it opens up.

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.

Serial Loop Back Test

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

How to Install, Troubleshoot and Fix COM Port Drivers for Arduino Boards - FTDI and CH340 Series
How to Install, Troubleshoot and Fix COM Port Drivers for Arduino Boards – FTDI and CH340 Series

Troubleshooting

COM Port is Not Showing Up as CH340 Windows

We have had a few reports on Windows 10 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. However, the board cannot be accessed on the Arduino IDE. Others have had issues where the installation process hangs.

Based on the customer experiences, this might be specific to the manufacturer and are usually isolated cases. Users seem to be able to eventually get the board recognized by a combination of giving the computer time to finish 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 installed the drivers for the CH340 on your computer but have issues connecting via serial terminal or uploading code using the Arduino IDE, there may be an issue with your user settings preventing you from using the CH340. You may receive an

avrdude: ser_open(): can't open device

error similar to the output shown below.


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

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

Make 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

Certain 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, there 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 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.

Uninstalling From Macinstosh

A couple of Mac users have said “the driver crashes my mac Sierra how do I uninstall”.

Firstly regards the crash make sure you installed the 1.3 version of the driver, not the old one. You could download it directly from the Manufacturers Website in case they have issued an update since I wrote this page.

Secondly a quick google search reveals that this is how you uninstall:

  1. Open a terminal and type:

    cd /Library/Extensions/
  2. Verify that the .kext file is present:

    ls | grep usbserial.kext
  3. Output should be:

    usbserial.kext
  4. Then type:

    sudo rm -R usbserial.kext
  5. Verify that the .kext file has been removed:

    ls | grep usbserial.kext
  6. Output should be empty.
  7. After you should remove the files stored in receipts folder:

    cd /private/var/db/receipts/
  8. Find the enties:

    ls | grep usbserial*
  9. Output should be:

    codebender.cc.ch34xinstaller.usbserial.pkg.bom codebender.cc.ch34xinstaller.usbserial.pkg.plist
  10. Remove each one of the files of the above list:

    sudo rm -r


    filename

    `

Chip CH340 được sử dụng bởi một số bo mạch tương thích với Arduino để cung cấp kết nối USB, bạn có thể cần cài đặt trình điều khiển.

Windows

  1. Tải xuống trình điều khiển Windows CH340
  2. Giải nén tệp
  3. Chạy trình cài đặt mà bạn đã giải nén
  4. Trong Arduino IDE khi CH340 được kết nối, bạn sẽ thấy Cổng COM trong menu Công cụ> Cổng nối tiếp, số COM cho thiết bị của bạn có thể khác nhau tùy thuộc vào hệ thống của bạn.
  1. Tải xuống trình điều khiển Windows CH340
  2. Giải nén thư mục.
  3. Nếu bạn đang chạy Windows 64Bit: – chạy trình cài đặt SETUP_64.EXE.
  4. Nếu bạn đang chạy Windows 32Bit: – chạy trình cài đặt SETUP_32.EXE.
  5. Nếu bạn không biết, hãy thử 64 bit và nếu nó không hoạt động, hãy thử 32 bit.
  6. Trong Arduino IDE khi CH340 được kết nối, bạn sẽ thấy Cổng COM trong menu Công cụ> Cổng nối tiếp, số COM cho thiết bị của bạn có thể khác nhau tùy thuộc vào hệ thống của bạn.

huong dan cai dat driver ch340 cho windows window, tlc47 truong cong ly, trương công lý

How to Install CH340 Drivers

Arduino Nano Driver (ch340) install and troubleshoot  by Manmohan Pal
Arduino Nano Driver (ch340) install and troubleshoot by Manmohan Pal

Resources and Going Further

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

  • WCH: CH340 Drivers – Latest drivers can be downloaded from the manufacturer.

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

USB-to-serial converters like the CH340 are great for uploading code to a microcontroller or viewing data from a GPS on a serial terminal. Check out these tutorials to dive even deeper into the world of microcontrollers or send serial data to your computer with a GPS!

Serial Terminal Basics

Headless Raspberry Pi Setup

GPS-RTK Hookup Guide

RedBoard Qwiic Hookup Guide

SparkFun Inventor’s Kit Experiment Guide – v4.1

Or check out these blog posts.

The CH340 chip converts TTL (serial) to USB and vice versa on boards like Arduino boards. Additionally, there is no programming required to access the processor on boards using this chip. However a compatible CH340 driver, your computer might be unable to identify this chip.

The CH340 driver is a crucial software component for Windows 11 and Windows 10 systems, facilitating the communication between the CH340 USB-to-serial converter chip and the operating system. This driver is essential for devices utilizing the CH340 chip, such as Arduino boards and various USB-to-serial adapters. By enabling seamless connectivity, it allows users to program and communicate with these devices via USB. The download of the CH340 driver for Windows 11 and Windows 10 ensures proper functionality, compatibility, and stability, providing a reliable solution for users engaging in electronics and microcontroller projects.

Tóm tắt

Trong hướng dẫn này, chúng tôi sẽ hướng dẫn các bạn cách cài đặt driver cho IC CH340 sử dụng trong Arduino Uno chip dán trên hệ điều hành windows 11 và các loại bo mạch tương tự sử dụng loại IC này.

Các loại IC CH340 khác nhau

Có một vài biến thể khác nhau của CH340. CH340G yêu cầu thạch anh bên ngoài để có thể hoạt động trong khi CH340C bao gồm bộ thạch anh tích hợp bên trong. Tuy nhiên, cả hai đều hoạt động theo cùng một cách giống nhau- chúng chuyển đổi dữ liệu USB thành UART TTL và ngược lại!

Trong một số board sẽ sử dụng IC giao tiếp CH340G còn trong phần khác có thể sử dụng IC giao tiếp CH340C, CH340E, …. Tuy nhiên, chúng điều sử dụng cùng 1 driver.

Download driver CH340 cho tất cả các hệ điều hành windows, linux, android

Dưới đây là danh sách tất cả các hệ điều hành windows, linux, android đã được test:

  • Windows 7/10
  • Mac OSX

    • v10.10.5 (Yosemite)
    • v10.11.6 (El Capitan)
    • v10.13.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

Tùy thuộc vào bạn đang sử dụng hệ điều hành nào, bạn có thể download chúng theo đường link bên dưới:

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

Ngoài ra, CH340 được sản xuất bởi hãng WCH. Bạn có thể cập nhật driver mới nhất theo đường link của hãng.

http://www.wch-ic.com/downloads/CH341SER_ZIP.html

Cài đặt driver cho hệ điều hành windows 11/10/7

Link download driver CH340 google drive:

https://drive.google.com/file/d/11jF_EaUxBjWgV1LbzPpfvRhgvtLdQk0b/view?usp=sharing

Bạn cần phải cắm usb kết nối với bo mạch chứa ch340 vào trước khi chạy file .exe.

Nhấn “Uninstall” sau đó nhấn “Install”:

Kiểm tra hoạt động của driver

Để kiểm tra xem driver ch340 có hoạt động không ta cần kiểm tra xem cổng COM đã được hiển thị đúng hay chưa?

Kiểm tra thông qua Device Manager

Bạn click vào phần “Start” hoặc phím tắt “Windows” gõ tìm “Device Manager”

Vào phần COM port kiểm tra xem đã có kết nối cổng COM chưa. Bạn có thể rút ra cắm vào cổng USB để kiểm tra.

Kiểm tra trên cổng COM CH340 trên Arduino IDE

Sau khi cài đặt xong Driver, bạn có thể mở Arduino IDE để kiểm tra xem đã nhận được cổng COM hay chưa

Bạn vào phần Tools > Port kiểm tra xem những cổng COM nào đang có. Sau đó, cắm USB vào để xem có hiển thị thêm COM port hay không?

Cài đặt driver cho hệ điều hành Linux, Rasberry

Rasberry

Chạy các lệnh sau trong CLI/Terminal khi sử dụng Raspbian trên Raspberry Pi. Sau khi cập nhật, CH340 mới nhất nên được cài đặt!


sudo apt-get update


sudo apt-get upgrade

Các hệ điều hành Linux khác

Download driver dùng cho Linux theo link dưới đây

https://drive.google.com/file/d/11qp6pI_GIIkGz3XPQnD9Zyj6kcpIH293/view?usp=sharing

Sau đó chạy các lệnh sau:


  • cd

    trỏ về nơi bạn lưu file

  • make clean

  • make

  • sudo make load

  • sudo rmmod ch341

    để uninstall driver đã cài

  • lsmod | grep ch34

    list ra các module cài đặt
  • Rút ra và cắm lại usb kết nối với IC CH340

  • dmesg

    • Lệnh sẽ in ra “ch34x” như sau:


[ xxx] ch34x ttyUSB0: ch34x converter now disconnected from ttyUSB0


[ xxx] ch34x 3-2:1.0: device disconnected

Tùy thuộc vào quyền root của bạn, bạn có thể cần định cấu hình cổng COM bằng hai lệnh sau. Đảm bảo điều chỉnh $username theo ID người dùng hiện đang đăng nhập.


sudo usermod -a -G dialout $username


sudo chmod a+rw /dev/ttyUSB0

Kiểm tra hoạt động của Driver CH340 trên Linux

Cắm CH340 trở lại cổng USB của máy tính. Sau đó chạy lệnh sau trong CLI/Terminal trên bất kỳ bản Linux nào. Kiểm tra các thay đổi sau (bảng của bạn có thể hiển thị dưới một tên thiết bị khác).


ls /dev/ttyUSB*

Do đó, cổng COM mà CH340 được kết nối sẽ bật lên.

Các lỗi thường gặp khi cài đặt Driver CH340

Cổng COM không hiển thị đó là IC CH340

Trong một số trường hợp cổng COM không hiển thị đúng và phần mềm Arduino IDE không nhận diện và kết nối được cổng COM. Bạn có thể rút ra và cắm lại cổng USB và cài đặt lại từ đầu.

Đã cài đặt nhưng không hiển thị cổng COM

Có thể kết nối USB của bạn không hoạt động, kiểm tra lại kết nối hoặc dây dẫn USB để mọi thứ hoạt động chính xác.

Vấn đề liên quan đến tốc độ uploading, baudrate

Tốc độ upload dữ liệu phụ thuộc vào từng loại IC và kiểu bo mạch. Có một số bo mạch sẽ không hoạt động nếu tốc độ upload, baudrate quá nhanh. Hãy thử với tốc độ 115200 hoặc thấp hơn.

Lời kết

Bây giờ, bạn có thể kết nối USB với CH340 giao tiếp Uart TTL hoàn chỉnh. Tham khảo những đường link dưới đây để update driver trong tương lai.

  • WCH: CH340 Drivers – Latest drivers can be downloaded from the manufacturer.

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

Nguồn: How to Install CH340 Drivers – SparkFun Learn

Home

» &nbspUSB-SERIAL CH340

Use the links on this page to download the latest version of USB-SERIAL CH340 drivers. All drivers available for download have been scanned by antivirus program. Please choose the relevant version according to your computer’s operating system and click the download button.

System Information

Your machine is currently running: Windows (Detect)

Windows 7/10

Download and run the executable.

Click the “Uninstall” button first. Then click on the “Install” button.

Windows CH340 Driver Installation

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.

Device Manager

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.

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.

Arduino IDE

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.

Serial Loop Back Test

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

Arduino Windows USB driver installation Ch340
Arduino Windows USB driver installation Ch340

Download latest version of verified & working Windows 10 driver for CH340, CH340G USB to Serial converter. Tested with Arduino, ESP2866, Wemos D1 and other boards.

CH340 driver for Windows 10

Driver details

CH340, CH340G & CH341 (USB-SERIAL chip) V3.5 Driver Version = 2019-01-30, 3.5.2019.1

CH340 Windows 10 driver installation

Open Device Manager – right mouse click on USB Serial, then left click Update Driver …

open the directory with downloaded & extracted CH341SER.zip driver

Finished, Close

CH340 driver installed and working

CH340G converter connection and pinout for programming

Tư vấn: 0979.466.469 / 0938.128.290 Email: [email protected]

CH340 là gì

CH340 là bộ chuyển đổi TTL (nối tiếp) sang USB và ngược lại. Chip này đã được sử dụng trong một số bo như bo Arduino (không phải Arduino gốc), ESP8266, … Các bo sử dụng chip CH340, không cần programmer để truy cập bộ xử lý hoặc lập trình.

Nhưng có một nhược điểm là phải cài đặt thêm driver trước khi bắt đầu hoạt động với các bo mạch có IC này. Trong bài viết này Điện Tử Tương Lai sẽ hướng dẫn cách cài đặt driver CH340.

Cài đặt driver CH340 trên Windows

Nếu bạn kết nối bo mạch của mình với máy tính trước khi cài đặt driver, máy tính của bạn sẽ không nhận dạng được bo mạch chính xác và bạn sẽ thấy hình ảnh dưới đây trong Device Manager.

Để mở Device Manager, bạn có thể tìm kiếm nó trong Start menu của Windows.

Bạn hãy làm theo các bước dưới đây để cài đặt driver CH340:

Bước 1: Tải driver CH340

Bạn có thể tải xuống phiên bản driver mới nhất trực tiếp từ trang web của nhà sản xuất tại đây.

http://www.wch.cn/download/CH341SER_ZIP.html

Bước 2: Cài đặt driver

Sau khi tải driver xuống, hãy mở nó ra và nhấp vào Install.

Sau khi cài đặt thành công, bạn sẽ thấy thông báo này.

Chú ý: trong một số trường hợp, bạn có thể cần phải reset Windows sau khi cài đặt xong driver.

Bước 3: Kiểm tra cài đặt driver trong Device Manager

Nếu driver đã được cài đặt đúng cách và nếu bạn kết nối bo mạch với máy tính, thì bạn có thể thấy tên và số cổng của nó trong phần Port. Ví dụ: bo Arduino trong hình dưới được kết nối với COM7.

Bước 4: Kiểm tra cài đặt driver trong Arduino IDE

Mở phần mềm Arduino IDE. Đi tới menu Tool và từ phần Port, chọn cổng thích hợp với số cổng mà bo mạch của bạn được kết nối. Lưu ý rằng số cổng này phải giống với số bạn đã thấy ở bước trước.

Để đảm bảo, bạn có thể tải lên mã mà bạn đã ghi lên bo của mình.

Nếu mã của bạn được tải lên Arduino chính xác, bạn sẽ thấy thông báo Done uploading.

Đến đây, bạn đã cài đặt thành công driver IC và từ bây giờ bạn có thể dễ dàng tải đoạn mã đã ghi lên bo mạch của mình.

Code: DV111 Còn hàng

Code: DV100 Còn hàng

Code: DV112 Còn hàng

Code: DV117 Còn hàng

Hotline: 0979 466 469

  • Giới thiệu Công ty

    • TẦM NHÌN – SỨ MỆNH – GIÁ TRỊ CỐT LÕI
    • QUÁ TRÌNH HÌNH THÀNH PHÁT TRIỂN
    • HỆ THỐNG CỬA HÀNG
    • BANLINHKIEN THAY ĐỔI NHẬN DIỆN THƯƠNG HIỆU
    • BanLinhKien chung tay đóng góp cho cộng đồng người lao động bị ảnh hưởng bởi dịch COVID-19
    • THÔNG BÁO NGHỈ LỄ QUỐC KHÁNH 2-9
    • Chứng Nhận Nhà Cung Cấp Golden Relay
    • Thông báo nghỉ lễ 30/4-1/5
    • Nhà Phân Phối Độc Quyền YU HONG TECHNOLOGIES
    • Workshop Kỹ thuật và tiêu chuẩn trong thiết kế mạch in
  • Mua Hàng Và Chính Sách
  • Chia sẻ – Kinh nghiệm

    • Chế quạt điều khiển từ xa phun sương giải nhiệt mùa hè siêu dễ, siêu rẻ
    • Cấu Tạo Và Nguyên Lý Hoạt Động Của Module Chuyển Nhiệt TEC (Sò Nóng Lạnh)
    • Bộ Kit Học Tập Arduino UNO R3 Cơ Bản
    • Bluetooth HC-05 Và SocKet Bluetooth HC05 HC06
    • Phân Biệt Servo SG90 180 Độ Và 360 Độ
    • Hướng Dẫn Nạp USBisp : Cách nạp chương trình cho ATmega16 ATmega32 với mạch nạp USBISP
    • Cách nạp chương trình cho ATmega8 với mạch nạp USBISP
    • Hướng dẫn sử dụng phần mềm codevision avr
    • Bộ Kit Học Tập Arduino UNO R3 Cơ Bản
    • Giao Tiếp Cảm Biến Áp Suất MPX5010DP MPX5050GP MPX2202GP MPX53DP MPX10DP
  • Thông tin khuyến mãi
  • Tuyển Dụng

Cài Driver USB TO COM CH340 CH341 Trên Windows

Chip CH340 được sử dụng bởi một số bo mạch tương thích Arduino để cung cấp kết nối USB, bạn có thể cần phải cài đặt trình điều khiển, đừng hoảng sợ, điều đó dễ hơn là rơi ra một bản ghi và ít đau đớn hơn.

Introduction

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.

Required Materials

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

SparkFun RedBoard Qwiic

DEV-15123

SparkFun Serial Basic Breakout – CH340G

DEV-14050

SparkFun RedBoard Artemis Nano

DEV-15443

SparkFun RedBoard Artemis

DEV-15444

SparkFun Servo pHAT for Raspberry Pi

DEV-15316

SparkFun RedBoard Artemis ATP

DEV-15442

Accessories

You’ll also need the correct USB cable to connect the board to your computer. You may need a jumper wires and a breadboard for prototyping.

USB micro-B Cable – 6 Foot

CAB-10215

USB 3.1 Cable A to C – 3 Foot

CAB-14743

Jumper Wires Premium 6″ M/M Pack of 10

PRT-08431

Suggested Reading

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

Serial Communication

Connector Basics

What is an Arduino?

Logic Levels

Serial Terminal Basics

Alright, let’s get to work! You can visit the next section to learn more about the CH340 and why you need the drivers, or you can skip straight to the operating system of your choice!

Cara Install Driver CH340
Cara Install Driver CH340

Keywords searched by users: ch340 arduino driver windows 10

Ch340 Windows 10 Driver Download | Arduined.Eu
Ch340 Windows 10 Driver Download | Arduined.Eu
Ch340 Windows 10 Driver Download | Arduined.Eu
Ch340 Windows 10 Driver Download | Arduined.Eu
Installing Ch340 Drivers For Arduino | Arduino Not Detected By Computer Fix  | Com Port Issue Fix - Youtube
Installing Ch340 Drivers For Arduino | Arduino Not Detected By Computer Fix | Com Port Issue Fix – Youtube
How To Install Ch340 Drivers - Sparkfun Learn
How To Install Ch340 Drivers – Sparkfun Learn
Arduino Nano Driver (Ch340) Install And Troubleshoot By Manmohan Pal -  Youtube
Arduino Nano Driver (Ch340) Install And Troubleshoot By Manmohan Pal – Youtube
How To Install Ch340 Drivers - Sparkfun Learn
How To Install Ch340 Drivers – Sparkfun Learn
How To Install Ch340 Drivers - Sparkfun Learn
How To Install Ch340 Drivers – Sparkfun Learn
How To Install Ch340 Driver On Windows 10. – Mytectutor
How To Install Ch340 Driver On Windows 10. – Mytectutor
Driver Arduino Uno Ch340 + How To Install ? - Youtube
Driver Arduino Uno Ch340 + How To Install ? – Youtube
How To Install Ch340 Drivers - Sparkfun Learn
How To Install Ch340 Drivers – Sparkfun Learn
Ch340 Driver Download And Update For Windows 10,11 [Easily]
Ch340 Driver Download And Update For Windows 10,11 [Easily]
Cách Cài Đặt Driver Ch340 Trên Windows
Cách Cài Đặt Driver Ch340 Trên Windows
Arduino & Serial Programmer Usb Error Fix! -Ch340 Driver - Youtube
Arduino & Serial Programmer Usb Error Fix! -Ch340 Driver – Youtube
Arduino Uno R3 Ch340 - Usb 2.0 Driver - Youtube
Arduino Uno R3 Ch340 – Usb 2.0 Driver – Youtube
Ch340 Windows 10 Driver Download | Arduined.Eu
Ch340 Windows 10 Driver Download | Arduined.Eu
Arduino Uno R3 (Smd Edition) Ch340 / Ch341 Usb Driver - Hte Babgladesh
Arduino Uno R3 (Smd Edition) Ch340 / Ch341 Usb Driver – Hte Babgladesh

See more here: kientrucannam.vn

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *